Advertisement
Guest User

Client calling the server and sending dtmf

a guest
Jun 24th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.03 KB | None | 0 0
  1.     <send retrans="500">
  2.         <![CDATA[
  3.             INVITE sip:[service]@[remote_ip] SIP/2.0
  4.             Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  5.             From: "client" <sip:client@[local_ip]>;tag=[pid]SIPpTag00[call_number]
  6.             To: <sip:[service]@[remote_ip]>
  7.             Call-ID: [call_id]
  8.             CSeq: [cseq] INVITE
  9.             Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE, REFER
  10.             Contact: <sip:client@[local_ip]:[local_port]>
  11.             Max-Forwards: 70
  12.             Content-Type: application/sdp
  13.             Content-Length: [len]
  14.  
  15.             v=0
  16.             o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
  17.             s=client
  18.             c=IN IP[media_ip_type] [media_ip]
  19.             t=0 0
  20.             m=audio [media_port] RTP/AVP 8 101
  21.             a=rtpmap:8 PCMA/8000
  22.             a=rtpmap:101 telephone-event/8000
  23.             a=fmtp:101 0-15
  24.             a=ptime:20
  25.             a=sendrecv
  26.         ]]>
  27.     </send>
  28.  
  29.     <recv response="100" optional="true" >
  30.     </recv>
  31.  
  32.     <recv response="180" optional="true" >
  33.     </recv>
  34.  
  35.     <recv response="183" optional="true" >
  36.     </recv>
  37.  
  38.     <recv response="200" rrs="true">
  39.     </recv>
  40.    
  41.     <send>
  42.         <![CDATA[
  43.             ACK [next_url] SIP/2.0
  44.             Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  45.             From: "client" <sip:client@[local_ip]>;tag=[pid]SIPpTag00[call_number]
  46.             To: <sip:[service]@[remote_ip]>[peer_tag_param]
  47.             Call-ID: [call_id]
  48.             CSeq: [cseq] ACK
  49.             Max-Forwards: 70
  50.             Content-Length: 0
  51.         ]]>
  52.     </send>
  53.    
  54.     <pause milliseconds="3000" />
  55.    
  56.     <nop>
  57.         <action>
  58.             <exec play_pcap_audio="dtmf_2.pcap"/>
  59.         </action>
  60.     </nop>
  61.    
  62.     <pause milliseconds="15000"/>
  63.    
  64.    
  65.     <send retrans="500" rrs="true">
  66.         <![CDATA[
  67.             BYE [next_url] SIP/2.0
  68.             Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
  69.             From: client <sip:client@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
  70.             To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
  71.             Call-ID: [call_id]
  72.             CSeq: 2 BYE
  73.             Contact: sip:client@[local_ip]:[local_port]
  74.             Max-Forwards: 70
  75.             Subject: Performance Test
  76.             Content-Length: 0
  77.         ]]>
  78.     </send>
  79.    
  80.     <recv response="200" crlf="true">
  81.     </recv>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement