JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Receiving 3002 CCA from the ro-simulator
Forum Index » Rhino SLEE Discussions
Author Message
ulile


Joined: 25/12/2008 22:40:09
Messages: 2
Offline

Hi,

I am using your ro-simulator as an OCF for an application I am writing.

When I am sending the following CCR I receive CCA with status code 3002.

The ro-simulator realm is opencloud, and the host is dimeterserver.

The CCA also attached after the CCR.



I would appreciate it if you can help me understand why I'm receiving back a 3002 and not another code, such as 2000?



Thanks,

Uri.



CCR:

<Credit-Control-Request Flags="RP" AppId="4" HopByHopId="40670279" EndToEndId="3574525454">

<Session-Id>TestServer;1229876792;9;callid=1-11860@192.168.1.42</Session-Id>

<Origin-Host>TestServer</Origin-Host>

<Origin-Realm>opencloud</Origin-Realm>

<Auth-Application-Id>4</Auth-Application-Id>

<Destination-Realm>opencloud</Destination-Realm>

<CC-Request-Type>1</CC-Request-Type>

<CC-Request-Number>0</CC-Request-Number>

<Destination-Host>diameterserver</Destination-Host>

<Origin-Host>diameterserver</Origin-Host>

<Origin-Realm>opencloud</Origin-Realm>

<Origin-State-Id>0</Origin-State-Id>

<Multiple-Services-Credit-Control>

<Used-Service-Unit>

<CC-Time>0</CC-Time>

<Reporting-Reasone>6</Reporting-Reasone>

</Used-Service-Unit>

<Requested-Service-Unit>

<CC-Time>6</CC-Time>

</Requested-Service-Unit>

<Service-Identifier>0</Service-Identifier>

</Multiple-Services-Credit-Control>

<Service-Information>

<IMS-Information>

<Called-Party-Address>2042017431</Called-Party-Address>

<Calling-Party-Address>2042017429</Calling-Party-Address>

<IMS-Charging-Identifier>360112115714096647FF001</IMS-Charging-Identifier>

<Node-Functionality>6</Node-Functionality>

<SDP-Media-Component>

<Media-Initiator-Flag>1</Media-Initiator-Flag>

<Media-Initiator-Party>sip:2042017429@defaultFrom</Media-Initiator-Party>

</SDP-Media-Component>

</IMS-Information>

</Service-Information>

<Subscription-Id>

<Subscription-Id-Type>1</Subscription-Id-Type>

<Subscription-Id-Data>2042017431</Subscription-Id-Data>

</Subscription-Id>

<3GPP-MS-TimeZone>8</3GPP-MS-TimeZone>

<Event-Timestamp>1596104250</Event-Timestamp>

</Credit-Control-Request>





CCA:

<Credit-Control-Answer Flags="PE" AppId="4" HopByHopId="40670282" EndToEndId="3574525457">

<Session-Id>TestServer;1229876792;10;callid=1-12132@192.168.1.42</Session-Id>

<Result-Code>3002</Result-Code>

<CC-Request-Type>1</CC-Request-Type>

<CC-Request-Number>0</CC-Request-Number>

<Error-Message>Request timed-out or cancelled</Error-Message>

</Credit-Control-Answer>
perrin


Joined: 25/01/2008 16:11:18
Messages: 225
Location: Wellington, New Zealand
Offline

Hi,

3002 is UNABLE_TO_DELIVER, which means the request is being rejected by one of the Diameter stacks, most likely because of some routing issue. I see your CCR has two Origin-Host AVPs -- that may be causing problems.

If it is being rejected by the Diameter stack in the simulator, you can enable debugging to see why. Edit config/log4j.properties in the simulator directory, and change INFO in the first line to DEBUG. That will enable all debugging (quite verbose), writing to the dccasimulator.log file. For finer control of debug output you can tweak the Log4J settings via that property file as necessary.

Regards,
Perrin

Perrin Morrow
Senior Software Engineer
Metaswitch Networks
ulile


Joined: 25/12/2008 22:40:09
Messages: 2
Offline

Thanks, it was helpful.

Now when I get the CCA, the 'P' bit is not set even though it was set in the CCR.
This is what I see when I print it from the Java side:
Invalid PXY bit for command :
<Credit-Control-Answer Flags="" AppId="4" HopByHopId="2083615179" EndToEndId="3490771392">
<Unknown-263>N/A</Unknown-263>
<Unknown-268>N/A</Unknown-268>
<Unknown-264>N/A</Unknown-264>
<Unknown-296>N/A</Unknown-296>
<Unknown-258>N/A</Unknown-258>
<Unknown-416>N/A</Unknown-416>
<Unknown-415>N/A</Unknown-415>
<Unknown-456>N/A</Unknown-456>
</Credit-Control-Answer>

Thanks again,
Uri.

This message was edited 1 time. Last update was at 07/01/2009 02:30:47

 
Forum Index » Rhino SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team