我使用 seagull 作为直径服务器。我正在尝试模拟这样的 IMS 3GPP Cx 流量场景:>MAR, SAR,
注1:“>”表示接收,“<”表示发送。注 2:MAR 和 SAR 具有不同的 Session-Id。
为此,我有如下的场景文件结构。
<traffic>
<receive channel="channel-1">
<command name="MAR">
....
</receive>
<send channel="channel-1">
<command name="MAA">
....
</send>
<receive channel="channel-1">
<command name="SAR">
....
</receive>
<send channel="channel-1">
<command name="SAA">
....
</send>
</traffic>
Seagull 使用 MAA 响应收到的 MAR。但是,当接收到 SAR 时,它会引发以下错误。我猜,这是因为 session-id 不匹配。
2009-04-07.13:57:33.001|E|Unexpexted message that doesn't match the scenario.
2009-04-07.13:57:33.001|T|Unexpected (no scenario found) call with session-id [ 30 30 30 31 2d 61 61 61 6d 67 72 2e 73 74 31 36 2e 73 74 61 72 65 6e 74 6e 65 74 77 6f 72 6b 73 2e 63 6f 6d 3b 32 30 30 30 33 3b 31 33 35 38 38 34 30 38 33 33 3b 66 64 65 38 30 31 ] 2009-04-07.13:57:33.001|T|Unexpected message received [ [SAR
反正有没有这个。我检查了相关 ID 的使用情况,但无法弄清楚如何在上述场景中使用它。任何建议都会有很大帮助。
谢谢