INVITE
From SIPp
[edit]
Scenario: bob invites alice (client side)
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE scenario SYSTEM "sipp.dtd"> <scenario name="Simple IMS Session Setup, client-side"> <send retrans="500"> <![CDATA[ INVITE sip:alice@open-ims.test SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] Max-Forwards: 20 Route: <sip:orig@scscf.open-ims.test:6060;lr> P-Preferred-Identity: <sip:bob@open-ims.test> Privacy: none P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E From: <sip:bob@open-ims.test>;tag=[call_number] To: <alice@open-ims.test> Call-ID: [call_id] CSeq: 10 INVITE Supported: 100rel Contact: <sip:bob@[local_ip]:[local_port]> User-Agent: Sipp v1.1-TLS, version 20061124 Allow: ACK, BYE, CANCEL, INVITE, REFER, OPTIONS, INFO, REGISTER, NOTIFY, UPDATE, SUBSCRIBE, PRACK Content-Type: application/sdp Content-Length: [len] v=0 o=user1 53655765 2353687637 IN IP4 [local_ip] s=- c=IN IP4 [local_ip] t=0 0 m=audio 30000 RTP/AVP 0 8 a=rtpmap:0 PCMU/8000 a=sendrecv ]]> </send> <recv response="100" optional="true"> </recv> <recv response="180" optional="true"> </recv> <recv response="403" optional="true" next="1"> </recv> <recv response="404" optional="true" next="1"> </recv> <recv response="408" optional="true" next="1"> </recv> <recv response="200" rrs="true"> </recv> <send crlf="true"> <![CDATA[ ACK [next_url] SIP/2.0 [last_Via:] Max-Forwards: 20 [routes] From: <sip:bob@open-ims.test>;tag=[call_number] [last_To:] Call-ID: [call_id] CSeq: 10 ACK Content-Length: 0 ]]> </send> <pause milliseconds="5000" crlf="true" /> <send retrans="500"> <![CDATA[ BYE sip:[next_url] SIP/2.0 [last_Via:] Max-Forwards: 20 [routes] From: <sip:bob@open-ims.test>;tag=[call_number] [last_To:] Call-ID: [call_id] CSeq: 11 BYE Contact: <sip:bob@[local_ip]:[local_port]> Content-Length: 0 ]]> </send> <recv response="200" crlf="true" next="2"> </recv> <label id="1"/> <send crlf="true"> <![CDATA[ ACK sip:alice@open-ims.test SIP/2.0 [last_Via:] Max-Forwards: 20 From: <sip:bob@open-ims.test>;tag=[call_number] [last_To:] Call-ID: [call_id] CSeq: 10 ACK Content-Length: 0 ]]> </send> <label id="2"/> <!-- definition of the response time repartition table (unit is ms) --> <ResponseTimeRepartition value="10, 20"/> <!-- definition of the call length repartition table (unit is ms) --> <CallLengthRepartition value="10"/> </scenario>
[edit]
Scenario: bob invites alice (server side)
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE scenario SYSTEM "sipp.dtd"> <scenario name="simple IMS session setup, server-side"> <recv request="INVITE"> </recv> <send> <![CDATA[ SIP/2.0 180 Ringing [last_Via:] [last_Record-Route:] [last_From:] [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] Contact: <sip:alice@[local_ip]:[local_port]> Content-Length: 0 ]]> </send> <pause milliseconds="2000"/> <send retrans="500"> <![CDATA[ SIP/2.0 200 OK [last_Via:] [last_Record-Route:] [last_From:] [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] Contact: <sip:alice@[local_ip]:[local_port]> Allow: INVITE,REGISTER,ACK,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,MESSAGE,CANCEL Content-Type: application/sdp Content-Length: [len] v=0 o=- 53655765 2353687637 IN IP4 [local_ip] s=- c=IN IP4 [media_ip] t=0 0 m=audio 40000 RTP/AVP 8 0 18 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 ]]> </send> <recv request="ACK" crlf="true"> </recv> <recv request="BYE"> </recv> <send> <![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Content-Length: 0 ]]> </send> </scenario>
