1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<scenario>
   3:<counter>
   4:  <counterdef name="client-uid-counter"     init="1"></counterdef>
   5:</counter>
   6:
   7:<traffic>
   8:  <send channel="channel-1">
   9:    <action>
  10:       <set-value name="uid" format="$(client-uid-counter)"></set-value>
  11:       <restore-from-external field="1" entity="TC_INVOKE" sub-entity="operation-data"
  12:                        begin="5" end="10"></restore-from-external>
  13:    </action>
  14:
  15:    <primitive name="TC_BEGIN" termination="BASIC">
  16:      <component name="TC_INVOKE" instance="InitialDP-data"
  17:                 class="2"
  18:                 timeout="60000"
  19:                 operation-code="0"
  20:                 invoke-id="1"
  21:                 operation-data="0x3016a00e820c48656c6c6f2c20776f726c64810100820100">            
  22:      </component>
  23:    </primitive>
  24:
  25:    <action>
  26:      <inc-counter name="client-uid-counter"></inc-counter>
  27:      <start-timer></start-timer>
  28:    </action>
  29:
  30:  </send>
  31:
  32:  <receive channel="channel-1">
  33:    <action>
  34:       <set-value name="o-address-pc" format="$(dest-address-pc)"></set-value>
  35:    </action>
  36:    <primitive name="TC_CONTINUE" o-address-pc="$(dest-address-pc)"
  37:                                  o-address-ssn="$(dest-address-ssn)"   
  38:                                  d-address-pc="$(orig-address-pc)"       
  39:                                  d-address-ssn="$(orig-address-ssn)">
  40:      <component name="TC_INVOKE" instance="Client-1-data"
  41:                 class="1"
  42:                 invoke-id="1"
  43:                 operation-code="18"
  44:                 operation-data="0x3016a00e820c48656c6c6f2c20776f726c64810100820199">
  45:      </component>
  46:
  47:      <component name="TC_INVOKE" instance="Client-2-data"
  48:                 operation-code="23"
  49:                 invoke-id="2"
  50:                 operation-data="0x3016a00e820c48656c6c6f2c20776f726c64810100820120">
  51:      </component>
  52:    </primitive>
  53:
  54:    <action>
  55:     <check-value name="d-address-pc" behaviour="error"
  56:     ></check-value>
  57:     <check-value name="o-address-pc" behaviour="error"
  58:     ></check-value>
  59:     <check-value name="d-address-ssn" behaviour="error"
  60:     ></check-value>
  61:     <check-value name="o-address-ssn" behaviour="error"
  62:     ></check-value>
  63:
  64:      <store name="SERVER-UID" entity="uid"></store>
  65:      <store name="SERVER-PID" entity="pid"></store>
  66:
  67:    </action>
  68:  </receive>
  69:
  70:  <send channel="channel-1">
  71:    <action>
  72:      <restore name="SERVER-UID" entity="uid"></restore>
  73:      <restore name="SERVER-PID" entity="pid"></restore>
  74:    </action>
  75:    <primitive name="TC_CONTINUE">
  76:      <component name="TC_INVOKE" instance="InitialDP-data"
  77:                 class="1"
  78:                 timeout="60000"
  79:                 invoke-id="2"
  80:                 operation-code="33"
  81:                 operation-data="0x30818899005011">
  82:      </component>
  83:    </primitive>
  84:  </send>
  85:  
  86:  <receive channel="channel-1">
  87:    <primitive name="TC_END" o-address-pc="$(dest-address-pc)"
  88:                             o-address-ssn="$(dest-address-ssn)"   
  89:                             d-address-pc="$(orig-address-pc)"    
  90:                             d-address-ssn="$(orig-address-ssn)">
  91:
  92:      <component name="TC_RESULT_L"
  93:                 invoke-id="2"
  94:                 operation-code="33"
  95:                 operation-data="0x310E9F82310A02030405060708090102">
  96:      </component>
  97:    </primitive>
  98:    <action>
  99:      <stop-timer></stop-timer>
 100:    </action>
 101:  </receive>
 102:
 103:</traffic>
 104:
 105:<default behaviour="failed">
 106:  <receive channel="channel-1">
 107:    <primitive name="SCCP_USER_STATUS">
 108:    </primitive>
 109:  </receive>
 110:</default>
 111:
 112:<default>
 113:  <receive channel="channel-1">
 114:   <primitive name="NO_PRIMITIVE">
 115:      <component name="TC_L_CANCEL"></component>
 116:    </primitive>
 117:  </receive>
 118:</default>
 119:
 120:<default>
 121:  <receive channel="channel-1">
 122:    <primitive name="TC_P_ABORT">
 123:    </primitive>
 124:  </receive>
 125:</default>
 126:</scenario>