|
From: siva s. <ms...@gm...> - 2010-07-06 17:25:40
|
Hi
I recently started using diameter simulator of seagull to simulate the
Prepaid Server
I want to simulate a scenario where in
1. If CCR comes with field service-type=1 send CCA with result-code 2001
2. If CCR comes with field service-type=2 send CCA with result-code 2002
I tried doing this using value-check and look-ahead options , but it
is not successful
Below is the action I have set in traffic .. When CCR comes ,
basically it always jumps to the second section in traffic section .
It looks like it is jumping when it sees the command "CCR" . I want it
to jump only when the service type match doesn't occur .
<receive channel="channel-1"
<command name="CCR"
<avp name="Session-Id" value="dont_care" </avp
<avp name="Service-Type" value="1" </avp
</command
<action
<store name="HbH" entity="HbH-id"</store
<store name="E2E" entity="EtE-id"</store
<store name="sid" entity="Session-Id"</store
<check-value behaviour="error" branch_on="CCR"
look_ahead="2"</check-value
</action
Can anyone give me some insight on how do I do this
Thanks a lot for your help
Regards
Siva M
|