Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. <callxml>
  2. <readcsv value="C:\Users\ptin_admin\AppData\Roaming\StarTrinity SipTester\SIP_Scenarios\tcdUsers.csv" var0="uacUser" var1="uacPassword" repeatCounterVar="repeatCounter1" repeat="infinite" /> <!-- read a line from CSV file into 'user' and 'password' variables -->
  3. <if test="$repeatCounter1; == 0 ">
  4. <register value="sip:$uacUser;@abchot.tcd.local:5060?user=$uacUser;&amp;password=$uacPassword;" headers="P-Access-Network-Info=172.112.51.40" expires="3600" var="result" delayvar="delay" />
  5. <!-- send REGISTER to a server to check account credentials. save SIP result code to a variable -->
  6. <report value="$delay;" name="REGISTER response delay" qualityIsAscending="false" />
  7. <!-- save measured response delay to SIP Tester GUI and HTML report -->
  8. <report value="$result;" name="REGISTER result" qualityIsAscending="false" />
  9. </if>
  10. <else>
  11. <readcsv value="C:\Users\ptin_admin\AppData\Roaming\StarTrinity SipTester\SIP_Scenarios\tcdUsers.csv" var0="uac" var2="uas" repeat="infinite" /> <!-- read a line from CSV file into 'user' and 'password' variables -->
  12.   <call value="sip:0$uas;@abchot.tcd.local:5060?user=$uac;" headers="P-Access-Network-Info=172.112.51.40 " sendSdpInInitialInvite="false">
  13.   <on event="answer">
  14. <wait value="10000ms" />
  15. <exit />
  16. </on>
  17.   </call>
  18.  
  19. </else>
  20.  
  21. </callxml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement