Skip to content

Commit

Permalink
Wait for the NOTIFY to arrive on sip_uac_presence scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jan 25, 2013
1 parent cb843a1 commit b10bf3b
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions sipp_uac_subscribe_presence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,15 @@
Contact: sip:sipp@[local_ip]:[local_port]
Max-Forwards: 70
Event: presence
Expires: 3600
Expires: 60
Accept: application/pidf+xml
Allow-Events: presence
Content-Length: 0
]]>
</send>

<recv response="100"
optional="true">
</recv>

<recv response="100" optional="true">
</recv>

<!-- By adding rrs="true" (Record Route Sets), the route sets -->
Expand All @@ -54,11 +51,22 @@
<recv response="200" rtd="true">
</recv>

<!-- definition of the response time repartition table (unit is ms) -->
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
<recv request="NOTIFY"></recv>

<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
<!-- definition of the call length repartition table (unit is ms) -->
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
]]>
</send>

</scenario>

0 comments on commit b10bf3b

Please sign in to comment.