summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-sipp/strict-route.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pjsua/scripts-sipp/strict-route.xml')
-rw-r--r--tests/pjsua/scripts-sipp/strict-route.xml47
1 files changed, 9 insertions, 38 deletions
diff --git a/tests/pjsua/scripts-sipp/strict-route.xml b/tests/pjsua/scripts-sipp/strict-route.xml
index a855209f..0ed6935f 100644
--- a/tests/pjsua/scripts-sipp/strict-route.xml
+++ b/tests/pjsua/scripts-sipp/strict-route.xml
@@ -88,14 +88,14 @@
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
- Contact: <sip:target@192.168.0.13>
- Record-route: <sip:proxy@192.168.0.13>
+ Contact: <sip:target@[local_ip]>
+ Record-route: <sip:proxy@[local_ip]:[local_port]>
Content-Type: application/sdp
v=0
- o=- 3442013205 3442013205 IN IP4 192.168.0.13
+ o=- 3442013205 3442013205 IN IP4 [local_ip]
s=pjsip
- c=IN IP4 192.168.0.13
+ c=IN IP4 [local_ip]
t=0 0
m=audio 4002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
@@ -111,43 +111,14 @@
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
- Contact: <sip:target@192.168.0.13>
- Record-route: <sip:proxy@192.168.0.13;maddr=192.168.0.13>
+ Contact: <sip:target@[local_ip]>
+ Record-route: <sip:proxy@[local_ip]:[local_port];maddr=[local_ip]>
Content-Type: application/sdp
v=0
- o=- 3442013205 3442013205 IN IP4 192.168.0.13
+ o=- 3442013205 3442013205 IN IP4 [local_ip]
s=pjsip
- c=IN IP4 192.168.0.13
- t=0 0
- m=audio 4002 RTP/AVP 0
- a=rtpmap:0 PCMU/8000
- ]]>
- </send>
-
- <recv request="ACK"
- optional="false"
- rtd="true"
- crlf="true">
- </recv>
-
- <send>
- <![CDATA[
-
- SIP/2.0 200 OK
- [last_Via:]
- [last_From:]
- [last_To:];tag=[call_number]
- [last_Call-ID:]
- [last_CSeq:]
- Contact: <sip:target@192.168.0.13>
- Record-route: <sip:proxy@192.168.0.13;maddr=192.168.0.13>
- Content-Type: application/sdp
-
- v=0
- o=- 3442013205 3442013205 IN IP4 192.168.0.13
- s=pjsip
- c=IN IP4 192.168.0.13
+ c=IN IP4 [local_ip]
t=0 0
m=audio 4002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
@@ -177,7 +148,7 @@
<!-- Keep the call open for a while in case the 200 is lost to be -->
<!-- able to retransmit it if we receive the BYE again. -->
- <pause milliseconds="4000"/>
+ <pause milliseconds="1000"/>
<!-- definition of the response time repartition table (unit is ms) -->