From: Jacques, O. \(O. T. Infra\) <oli...@hp...> - 2006-06-25 20:04:29
|
Anjlica, =20 I think that sending HbH and EtE as 0 is OK for the CER. As you can see from the scenario (next command sent), the HbH and EtE are handled as counters. So you can include this pre-action (see http://gull.sourceforge.net/doc/core.html#scen_cmds) before sending the CER if you think this is the problem. <action> <inc-counter name=3D"HbH-counter"> </inc-counter> <inc-counter name=3D"EtE-counter"> </inc-counter> <set-value name=3D"HbH-id"=20 format=3D"$(HbH-counter)"></set-value> <set-value name=3D"EtE-id"=20 format=3D"$(EtE-counter)"></set-value> </action> But I think the problem is something else you get an error "3009"=20 |M| [Result-Code |M| (avp-code =3D 268)(flags =3D 64)] =3D [3009] which is=20 DIAMETER_INVALID_AVP_BITS 3009 A request was received that included an AVP whose flag bits are set to an unrecognized value, or that is inconsistent with the AVP's definition. I think there is an issue in your dictionary. =20 Olivier. ________________________________ From: Anjlica Malla XX (TX/EUS) [mailto:anj...@er...]=20 Sent: vendredi 23 juin 2006 18:52 To: Jacques, Olivier (OpenCall Test Infra) Subject: RE: [Seagull-users] Adding AVPs to Diameter Draft 8 - fields not getting populated =09 =09 Hi, Making some progress here with Seagull.1.3.1. The message still is not being encoded properly. The outgoing CER message does not have "Hop by Hop Identifier" and "End to End Identifier" populated. Its 4 octets long. They are being sent as 0. The mesasge length is accurate. But these two fields are=3D0: Hop-by-Hop Identifier: 0x00000000 End-to-End Identifier: 0x00000000 =20 The scripts and dictionary are also attached. =09 =20 Thanks. =20 Anjlica 972 583 3272 214 695 4593 ________________________________ From: Jacques, Olivier (OpenCall Test Infra) [mailto:oli...@hp...]=20 Sent: Friday, June 23, 2006 4:30 AM To: Anjlica Malla XX (TX/EUS) Subject: RE: [Seagull-users] Adding AVPs to Diameter Draft 8 dictionary =09 =09 Hi Anjlica,=20 =20 please use the following directions as I posted on the mailing list: =20 =20 To create the Diameter Sh dictionary for Seagull (specified in 3GPP TS 29329), you have to: - Implement the Diameter Sh commands listed in section "6.1 Command-Code values" For example, "UDR" command is implemented like this (note the flags=3D0, indicating this is a request): <define name=3D"UDR"> <setfield name=3D"flags" value=3D"128"> </setfield> <setfield name=3D"cmd-code" value=3D"306"></setfield> <setfield name=3D"protocol-version" value=3D"1"></setfield> </define>=20 UDA is implemented like this (note the flags=3D0, indicating this is an answer): =09 <define name=3D"UDA"> <setfield name=3D"flags" value=3D"0"> </setfield> <setfield name=3D"cmd-code" value=3D"306"></setfield> <setfield name=3D"protocol-version" value=3D"1"></setfield> </define>=20 - Implement the Diameter Sh AVPs listed in section "6.3 AVPs" User-Identity AVP is implemented like this: <define name=3D"User-Identity" type=3D"Grouped"> <setfield name=3D"avp-code" value=3D"700"></setfield> <setfield name=3D"flags" value=3D"64"></setfield> </define> =20 ________________________________ From: Anjlica Malla XX (TX/EUS) [mailto:anj...@er...]=20 Sent: jeudi 22 juin 2006 20:10 To: Jacques, Olivier (OpenCall Test Infra) Subject: RE: [Seagull-users] Adding AVPs to Diameter Draft 8 dictionary =09 =09 AH! I probably have to use a diff. syntax. =20 let me see how i can add this: <vendor vendor-id=3D"Ericsson" code=3D"193" name=3D"Ericsson"/> <!-- Ericsson added to support SCAP --> =09 ________________________________ From: Anjlica Malla XX (TX/EUS)=20 Sent: Thursday, June 22, 2006 1:04 PM To: Jacques, Olivier (OpenCall Test Infra) Subject: RE: [Seagull-users] Adding AVPs to Diameter Draft 8 dictionary =09 =09 Hi, I am trying to add some customised AVPs and other parameters like Vendor Ids, etc in the draft 8 base xml. I get a syntax error when I do that. I am attaching my dictionary. =20 [qanjmal@devserver run]$ ./smlim.ksh=20 |E|Parser error [parse error] near [/] on line [328] |E|Syntax error on file [../config/base_draft08_eri.xml] near line [328] |A|STOP log 328 is the line where I pasted the Vendor Ids int he draft 8 base xml. =20 Thanks Anjlica =09 ________________________________ From: gul...@li... [mailto:gul...@li...] On Behalf Of Jacques, Olivier (OpenCall Test Infra) Sent: Thursday, June 22, 2006 7:25 AM To: gul...@li... Subject: [Seagull-users] Seagull-1.3.1 available =09 =09 Hello, =20 Seagull-1.3.1 is available for download. Compared to 1.3.0, it contains the following changes: =09 Core: compilation under HPUX/IA64 Core: Cygwin compile flags Diameter: Fix bug for message "Buffer max size reached " Diameter: support of empty grouped AVPs Diameter: new Diameter-draft-08 dictionary, =20 Download: http://sourceforge.net/project/showfiles.php?group_id=3D163830 =20 Olivier. =20 |