Diameter: Problem with Service-Information in CCR

448 views
Skip to first unread message

Tuan Lam

unread,
Aug 6, 2014, 5:05:42 AM8/6/14
to mobicent...@googlegroups.com
Hi Experts

I'm facing a strange problem if I add Service-Information to Credit Control Request message, my code is:

   Request request = session.createRequest();
   AvpSet avps = request.getAvps();
   ...
   AvpSet si = avps.addGroupedAvp(Avp.SERVICE_INFORMATION);

Then 2 problems occur:

1)   In the log file there is an error message:
      4708 [main] WARN  org.mobicents.diameter.dictionary.AvpDictionary  - AVP with code 873 and Vendor-Id 0 not present in dictionary!
 That is strange because I use the same dictionary.xml like the example "guide1",
 I checked dictionary.xml and the AVP 873 is defined as Service-Information.

2) WireShark cannot decode this AVP (other AVPs are decoded correctly)

   AVP: Unknown(873) l=8 f=---
        AVP Code: 873 Unknown
        AVP Flags: 0x00
            0... .... = Vendor-Specific: Not set
            .0.. .... = Mandatory: Not set
            ..0. .... = Protected: Not set
            ...0 .... = Reserved: Not set
            .... 0... = Reserved: Not set
            .... .0.. = Reserved: Not set
            .... ..0. = Reserved: Not set
            .... ...0 = Reserved: Not set
        AVP Length: 8
        [No data]

Can you please help me to come over with this issues.

Thanks a lot
Tuan

Tuan Lam

unread,
Aug 6, 2014, 11:33:33 PM8/6/14
to mobicent...@googlegroups.com
I managed to solve by adding Vendor-ID 10415 (that is vendor-id of 3GPP):

AvpSet si = avps.addGroupedAvp(Avp.SERVICE_INFORMATION, 10415, false, false);

Diameter User

unread,
Aug 8, 2014, 3:45:10 PM8/8/14
to mobicent...@googlegroups.com
Hi Tuan Lam,

I just want to ask you if you have a runnable example of Diameter Ro/Rf Server Simulator, i am new in diameter field and i am facing problems in order to run this example. Can you help me and thanks

BR.

Tuan Lam

unread,
Aug 14, 2014, 3:11:09 AM8/14/14
to mobicent...@googlegroups.com
Hi

No, I haven't work with Ro/Rf, I only managed to get the server example guide1 running

Good luck

BR
Tuan
Reply all
Reply to author
Forward
0 new messages