1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<scenario>
   3:
   4:<counter>
   5:  <counterdef name="HbH-counter" init="1000"> </counterdef>
   6:  <counterdef name="EtE-counter" init="2000"> </counterdef>
   7:  <counterdef name="session-counter" init="0"> </counterdef>
   8:</counter>
   9:
  10:<init>
  11:  <send channel="trans-ip-v4">
  12:    <command name="CER">
  13:      <avp name="Origin-Host" value="diamgen.ims.hpintelco.org"> </avp>
  14:      <avp name="Origin-Realm" value="ims.hpintelco.org"> </avp>
  15:      <avp name="Host-IP-Address" value="0x00010a03fc5e"> </avp>
  16:      <avp name="Vendor-Id" value="11"> </avp>
  17:      <avp name="Product-Name" value="HP Cx Interface"> </avp>
  18:      <avp name="Origin-State-Id" value="1094807040"> </avp>
  19:      <avp name="Supported-Vendor-Id" value="10415"> </avp>
  20:      <avp name="Auth-Application-Id" value="167772151"> </avp>
  21:      <avp name="Acct-Application-Id" value="0"> </avp>
  22:      <avp name="Vendor-Specific-Application-Id">
  23:        <avp name="Vendor-Id" value="11"></avp>
  24:        <avp name="Auth-Application-Id" value="167772151"></avp>
  25:        <avp name="Acct-Application-Id" value="0"></avp>
  26:      </avp>
  27:      <avp name="Firmware-Revision" value="1"> </avp>
  28:    </command>
  29:  </send>
  30:  
  31:  <receive channel="trans-ip-v4">
  32:    <command name="CEA">
  33:    </command>
  34:  </receive>
  35:</init>
  36:
  37:<!-- Traffic -->
  38:<traffic>
  39:  <send channel="trans-ip-v4">
  40:    <action>
  41:      <!-- For each new call, increment the session-ID counter -->
  42:      <inc-counter name="HbH-counter"> </inc-counter>
  43:      <inc-counter name="EtE-counter"> </inc-counter>
  44:      <inc-counter name="session-counter"> </inc-counter>
  45:      <set-value name="HbH-id" 
  46:                 format="$(HbH-counter)"></set-value>
  47:      <set-value name="EtE-id" 
  48:                 format="$(EtE-counter)"></set-value>
  49:      <set-value name="Session-Id" 
  50:                 format=".;1096298391;$(session-counter)"></set-value>
  51:    </action>
  52:    <command name="SAR">
  53:      <avp name="Session-Id" value="value_is_replaced"> </avp>
  54:      <avp name="Vendor-Specific-Application-Id">
  55:        <avp name="Vendor-Id" value="11"></avp>
  56:        <avp name="Auth-Application-Id" value="167772151"></avp>
  57:        <avp name="Acct-Application-Id" value="0"></avp>
  58:      </avp>
  59:      <avp name="Auth-Session-State" value="1"> </avp>
  60:      <avp name="Origin-Host" value="diamgen"> </avp>
  61:      <avp name="Origin-Realm" value="ims.hpintelco.org"> </avp>
  62:      <avp name="Destination-Realm" value="ims.hpintelco.org"> </avp>
  63:      <avp name="Server-Name" value="diamgen"> </avp>
  64:      <avp name="Server-Assignment-Type" value="3"> </avp>
  65:      <avp name="User-Data-Request-Type" value="0"> </avp>
  66:      <avp name="Public-Identity" value="sip:olivierj@ims.hpintelco.org"> </avp>
  67:      <avp name="Destination-Host" value="hss.ims.hpintelco.org"> </avp>
  68:    </command>
  69:    <action>
  70:      <start-timer></start-timer>
  71:    </action>
  72:  </send>
  73:  
  74:  <receive channel="trans-ip-v4">
  75:    <action>
  76:      <stop-timer></stop-timer>
  77:    </action>
  78:    <command name="SAA">
  79:    </command>
  80:  </receive>
  81:</traffic>
  82:  
  83:</scenario>
  84: