Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 42 by [email protected]: Add Session Release Cause AVP to the AVP Dictionary for Gx RAR
http://code.google.com/p/jdiameter/issues/detail?id=42

When sending a Gx RAR with Session-Release-Cause AVP set the following error happens: 2013-05-02 13:57:13,042 WARN [org.mobicents.diameter.dictionary.AvpDictionary] AVP with code 1045 and Vendor-Id 10415 not present in dictionary! 2013-05-02 13:57:13,042 WARN [com.smilecoms.pcrf.sbb.PCRFSbb] Error processing HTTP POST event: [{}]
java.lang.NullPointerException
at net.java.slee.resource.diameter.base.events.avp.AvpUtilities.createAvp(AvpUtilities.java:2475) at net.java.slee.resource.diameter.base.events.avp.AvpUtilities.createAvpInternal(AvpUtilities.java:2511) at net.java.slee.resource.diameter.base.events.avp.AvpUtilities.createAvp(AvpUtilities.java:2293)
        at com.smilecoms.pcrf.sbb.PCRFSbb.onPost(PCRFSbb.java:1346)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:481) at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:379) at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:126) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)


to fix this add session release cause AVP to the Diameter dictionary under Gx.

Add:

<avpdefn name="Session-Release-Cause" code="1045" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
        <type type-name="Enumerated">
                        <enum name="UNSPECIFIED_REASON" code="0" />
                        <enum name="UE_SUBSCRIPTION_REASON"        code="1" />
<enum name="INSUFFICIENT_SERVER_RESOURCES" code="2" />
                </type>
        </avpdefn>


And add to the Re-Auth-Request definition:
<avp name="Session-Release-Cause" code="1045" vendor="10415" multiplicity="1" index="-1" />


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to