Skip to content

Commit

Permalink
Fix XML per #414
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoekes committed Nov 11, 2019
1 parent ba25a80 commit 7be6ef1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sipp_scenarios/mcd_register.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<scenario name="Basic MCD UAS">
<recv request="REGISTER" crlf="true">
<action>
<!--
NOTES:
<!--
NOTES:
1- Variable $1 contains the whole "<...>" expression
2- Variable $2 contains the substring "..." (enclosed in-between the angle-brackets)
RESTRICTION:
ALL variables MUST be used - in this case $1 is assigned the contents of $2 so SIPP is happy
-->
<ereg regexp="<(.*)>" search_in="hdr" header="Contact:" check_it="true" assign_to="1,2" />
<ereg regexp="&lt;(.*)&gt;" search_in="hdr" header="Contact:" check_it="true" assign_to="1,2" />
<assign assign_to="1" variable="2"/>
</action>
</recv>
Expand All @@ -32,7 +32,7 @@
P-Login: mihotdesk
Date: Wed, 14 May 2014 20:26:35 GMT
Server: VIRTUAL Mitel-3300-ICP 12.0.1.99
Content-Length: 0
Content-Length: 0
]]>
</send>
Expand All @@ -43,7 +43,7 @@
NOTIFY [$2] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch-2]
Max-Forwards: 70
Max-Forwards: 70
Allow: INVITE,BYE,CANCEL,ACK,INFO,PRACK,OPTIONS,SUBSCRIBE,NOTIFY,REFER,REGISTER,UPDATE
From: "mwiapp" <sip:mwiapp@[local_ip]:[local_port]>;tag=[call_number]
To: <sip:[service]@[local_ip]:[local_port]>
Expand Down

0 comments on commit 7be6ef1

Please sign in to comment.