|
From: Olivier J. <oja...@gm...> - 2007-04-12 14:18:52
|
THanks for sending all the logs and files.
If we try to decode the buffer your receive:
01 00 01 7c 80 00 01 0f 00 00 00 03 00 00 03 e9
Following:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Version | Message Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| command flags | Command-Code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Application-ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Hop-by-Hop Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| End-to-End Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| AVPs ...
+-+-+-+-+-+-+-+-+-+-+-+-+-
Version: 0x01
Msg length: 0x017c
Cmd flags: 0x80
Cmd Code: 0x00010f
Application ID: 0x00000003
So your dictionary looks ok.
Are you sure you start your server with the same dictionary as your client?
Olivier.
On 4/11/07, Berman Leonid <Leo...@co...> wrote:
>
> Hi,
> [Note: I send the email again because I can't read it in the gull-users
> Email Archive and I can't open the attached files indicated there]
>
> I need to simulate sending and receiving Accounting-Request (ACR/ACA
> commands) for Diameter-based SCAP (Service Charging Application
> Protocol) which is used by Ericsson Prepaid Server (PPS 3.6).
> I defined Diameter-SCAP dictionary file for Seagull and also scenarios
> and configuration files for client and server (all files attached).
> The CER/CEA message exchange passed successfully, but when
> Seagull-client sends ACR message (clearly, as it defined by me), the
> Seagull-server doesn't recognize it and I get the following error
> messages:
>
> 2007-04-05.10:45:38.264|B|Buffer received size [380]
> |B|01 00 01 7c 80 00 01 0f 00 00 00 03 00 00 03
> e9
> |B|00 00 07 d1 00 00 01 07 40 00 00 16 2e 3b 31
> 30
> |B|39 36 32 39 38 33 39 31 3b 31 00 00 00 00 01
> 04
> |B|40 00 00 2c 00 00 01 0a 40 00 00 0c 00 00 00
> c1
> |B|00 00 01 02 40 00 00 0c 00 00 00 00 00 00 01
> 03
> |B|40 00 00 0c 00 00 4b 66 00 00 01 08 40 00 00
> 0f
> |B|73 65 61 67 75 6c 6c 00 00 00 01 28 40 00 00
> 19
> |B|69 6d 73 2e 68 70 69 6e 74 65 6c 63 6f 2e 6f
> 72
> |B|67 00 00 00 00 00 01 1b 40 00 00 19 69 6d 73
> 2e
> |B|68 70 69 6e 74 65 6c 63 6f 2e 6f 72 67 00 00
> 00
> |B|00 00 01 e0 40 00 00 09 31 00 00 00 00 00 01
> e5
> |B|40 00 00 0c 00 00 00 00 00 00 02 29 c0 00 00
> 20
> |B|00 00 02 2a c0 00 00 0b 31 32 33 00 00 00 02
> 2b # <-- LB: here is 0x0c00000b
> |B|c0 00 00 0c 00 00 00 00 00 00 02 62 c0 00 00
> 0c
> |B|40 6d 68 da 00 00 02 67 c0 00 00 0c 00 00 00
> 00
> |B|00 00 02 5e c0 00 00 38 00 00 02 63 c0 00 00
> 0c
> |B|00 00 00 01 00 00 02 64 c0 00 00 24 00 00 02
> 69
> |B|c0 00 00 10 00 00 00 00 00 00 00 0a 00 00 02
> 68
> |B|c0 00 00 0c 00 00 00 00 00 00 02 5f c0 00 00
> 24
> |B|00 00 02 60 c0 00 00 0c 00 00 00 00 00 00 02
> 61
> |B|c0 00 00 0d 31 32 33 34 35 00 00 00 00 00 02
> 5f
> |B|c0 00 00 20 00 00 02 60 c0 00 00 0c 00 00 00
> 0e
> |B|00 00 02 61 c0 00 00 0a 32 30 00 00 00 00 00
> 01
> |B|40 00 00 0f 73 65 61 67 75 6c 6c 00
> 2007-04-05.10:45:38.265|W|No definition found for [3221225483]
> #LB: it is 0x0c00000b in hexadecimal
> 2007-04-05.10:45:38.265|E|message size error (body size)
> 2007-04-05.10:45:38.265|E|Erroneous grouped value
> 2007-04-05.10:45:38.265|E|message error (body content)
> 2007-04-05.10 :45:38.265|E|Unrecognized message received
> 2007-04-05.10:45:38.265|A|*** Unrecognized message received ***
>
> I'm newbie for Diameter and SCAP protocols and also for Geagull. At
> least now, I can't detect where my mistake is (or a few?).
> May be somebody can detect what is wrong in my definitions?
> Thanks in advance.
>
> Best regards,
> Leonid Berman
>
> Leo...@co...
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gull-users mailing list
> Gul...@li...
> https://lists.sourceforge.net/lists/listinfo/gull-users
>
>
>
--
HP OpenCall Software
http://www.hp.com/go/opencall/
|