Project

General

Profile

IO-sipit25 » History » Revision 6

Revision 5 (Adrian Georgescu, 09/15/2009 08:52 PM) → Revision 6/25 (Adrian Georgescu, 09/15/2009 10:29 PM)

 
 = Issues = 

  1. pjsip crashed when no SDP present, invite has content-length =0 

 {{{ 
 adi@umts.ro> Assertion failed: (neg != ((void *)0)), function pjmedia_sdp_neg_get_state, file ../src/pjmedia/sdp_neg.c, line 179. 
 Abort trap 
 }}} 

  1. 404 when supported eventlist header is present 
  1. msrprelay connection reuse 
  1. voicemail divert for audio calls only 
  1. RTP mixing when multiple 183 
  1. Close session when stream fail 
  1. MSRP session request without TLS is not detected 
  1. sent re-invite got OK but sdp is broken 


 {{{ 
 INVITE sip:h1.rvtk.sipit.net SIP/2.0 
 Via: SIP/2.0/UDP 132.177.254.214:64941;rport;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1 
 Max-Forwards: 70 
 From: "Adrian G." <sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID 
 To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21 
 Contact: <sip:cutnhwgl@132.177.254.214:64941> 
 Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh 
 CSeq: 27600 INVITE 
 Route: <sip:81.23.228.129;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.ab101a94> 
 Route: <sip:81.23.228.150;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.3e73bda3> 
 Route: <sip:81.23.228.129;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.bb101a94> 
 Route: <sip:85.17.186.7;lr;ftag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID;did=773.bc219d6> 
 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE 
 Supported: 100rel 
 User-Agent: blink-0.9.0 
 Content-Type: application/sdp 
 Content-Length:    1094 

 v=0 
 o=- 3462028381 3462028382 IN IP4 132.177.254.214 
 s=blink-0.9.0 
 c=IN IP4 132.177.254.214 
 t=0 0 
 m=message 2855 TCP/TLS/MSRP * 
 a=path:msrps://132.177.254.214:2855/5ea28151a2715590e2d6;tcp 
 a=accept-types:message/cpim text/* 
 a=accept-wrapped-types:* 
 m=audio 64970 RTP/AVP 104 103 102 3 9 0 8 101 
 a=rtcp:64971 IN IP4 132.177.254.214 
 a=rtpmap:104 speex/32000 
 a=rtpmap:103 speex/16000 
 a=rtpmap:102 speex/8000 
 a=rtpmap:3 GSM/8000 
 a=rtpmap:9 G722/8000 
 a=rtpmap:0 PCMU/8000 
 a=rtpmap:8 PCMA/8000 
 a=rtpmap:101 telephone-event/8000 
 a=fmtp:101 0-15 
 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:NuN1r6fPItiXpOMh5GHWf6FsrvrEo6AQca3/N/dE 
 a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:y7YegS/4Enrsr/PTKa+RHBk0U7cRBM5SvDBA0gqq 
 a=ice-ufrag:7b50c942 
 a=ice-pwd:74cd4b4d 
 a=candidate:H 1 UDP 39 132.177.254.214 64970 typ host 
 a=candidate:H 1 UDP 39 10.211.55.2 64970 typ host 
 a=candidate:H 1 UDP 39 10.37.129.2 64970 typ host 
 a=candidate:H 2 UDP 38 132.177.254.214 64971 typ host 
 a=candidate:H 2 UDP 38 10.211.55.2 64971 typ host 
 a=candidate:H 2 UDP 38 10.37.129.2 64971 typ host 
 a=sendrecv 

 RECEIVED: Packet 16, +0:02:18.956294 
 2009-09-15 14:35:09.869635: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941 
 SIP/2.0 100 Giving a try 
 Via: SIP/2.0/UDP 132.177.254.214:64941;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1 
 From: "Adrian G." <sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID 
 To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21 
 Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh 
 CSeq: 27600 INVITE 
 Server: SIP Thor on OpenSIPS XS 1.4.5 
 Content-Length: 0 

 RECEIVED: Packet 17, +0:02:18.956524 
 2009-09-15 14:35:09.869865: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941 
 SIP/2.0 180 Ringing 
 From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID 
 To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21 
 Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh 
 CSeq: 27600 INVITE 
 Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1 
 Supported: timer,replaces,100rel,sec-agree 
 Contact: <sip:h1.rvtk.sipit.net> 
 Content-Length: 0 

 RECEIVED: Packet 18, +0:02:19.071745 
 2009-09-15 14:35:09.985086: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941 
 SIP/2.0 180 Ringing 
 From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID 
 To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21 
 Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh 
 CSeq: 27600 INVITE 
 Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1 
 Supported: timer,replaces,100rel,sec-agree 
 Contact: <sip:h1.rvtk.sipit.net> 
 Content-Length: 0 

 RECEIVED: Packet 19, +0:02:32.064486 
 2009-09-15 14:35:22.977827: 81.23.228.129:5060 -(SIP over UDP)-> 132.177.254.214:64941 
 SIP/2.0 200 OK 
 From: "Adrian G."<sip:adi@umts.ro>;tag=IhVjUULt6MIHRqqZRj.Hpdk4hWobt5ID 
 To: <sip:2233376787@sip2sip.info>;tag=297f640-7cfdb184-13c4-55014-7a21-5a7d6482-7a21 
 Call-ID: w9Z19pwFsp1tTfTWFE6b.yaNK3r.TXvh 
 CSeq: 27600 INVITE 
 Via: SIP/2.0/UDP 132.177.254.214:64941;received=132.177.254.214;rport=64941;branch=z9hG4bKPjpMYPMyuOwoCntJiNSjLlME5E8BHTZao1 
 Supported: timer,replaces,100rel,sec-agree 
 Contact: <sip:h1.rvtk.sipit.net> 
 Content-Type: application/sdp 
 Content-Length: 141 

 v=0 
 o=rv-msrp-test 42089864 42091200 IN IP4 132.177.253.124 
 s=SDP MSRP SESSIONS 
 c=IN IP4 132.177.253.124 
 t=0 0 
 m=message 2857 TCP/TLS/MSRP * 
 }}} 


 Cannot reserve session in the relay over an already established TCP connection 

 {{{ 
 Socket details: 
 Local Addrs (132.177.253.124:1801,TLS), Remote Addrs (81.23.228.146:2855,TLS), 
 
 
 -->MESSAGE TO SEND  
 MSRP d4204d8-1007-f997416 AUTH   
 To-Path: msrps://2233372675@sip2sip.info;tcp   
 From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 Expires: 60   
 
 <--MESSAGE RECEIVED  
 MSRP d4204d8-1007-f997416 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI   
 To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 From-Path: msrps://2233372675@sip2sip.info;tcp   
 
 -->MESSAGE TO SEND  
 MSRP d420608-1007-659c60b0 AUTH   
 To-Path: msrps://2233372675@sip2sip.info;tcp   
 From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 Expires: 60   
 
 <--MESSAGE RECEIVED  
 MSRP d420608-1007-659c60b0 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI   
 To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 From-Path: msrps://2233372675@sip2sip.info;tcp   
 
 -->MESSAGE TO SEND  
 MSRP d420738-1007-22f13179 AUTH   
 To-Path: msrps://2233372675@sip2sip.info;tcp   
 From-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 Expires: 60   
 
 <--MESSAGE RECEIVED  
 MSRP d420738-1007-22f13179 481 Indicated session does not exist, please terminate: Wrong session id on relay MSRP URI   
 To-Path: msrps://h1.rvtk.sipit.net:2857/dd1d438-1007-5299c7a1;tcp   
 From-Path: msrps://2233372675@sip2sip.info;tcp   
 
 }}} 

 Invite chat got message media line with port zero. Do we have or do we have not a msrp stream? 

 {{{ 
 adigeo@132-177-254-214:~/work/blink$sip_audio_session -a bonjour 
 No enabled account which matches bonjour was found. Available and enabled accounts: 31208005169@ag-projects.com, 69@pbx.ag-projects.com, adi@umts.ro 
 adigeo@132-177-254-214:~/work/blink$sip_audio_session -a bonjour 
 Using account bonjour@local 
 Logging SIP trace to file "/Users/adigeo/Desktop/FileTransfers/sip_trace.txt" 
 Logging notifications trace to file "/Users/adigeo/Desktop/FileTransfers/notifications_trace.txt" 
 Available audio input devices: None, system_default, Built-in Input, Built-in Microphone, Logitech Wireless Headset 
 Available audio output devices: None, system_default, Built-in Output, Logitech Wireless Headset 
 Using audio input device: Logitech Wireless Headset 
 Using audio output device: Logitech Wireless Headset 
 Using audio alert device: Built-in Output 
 Listening on: sip:vnxirwtg@132.177.254.214:53861;transport=tcp 
 Listening on: sip:vnxirwtg@132.177.254.214:49159;transport=udp 
 Listening on: sip:vnxirwtg@132.177.254.214:53862;transport=tls 

 Available control keys: 
   s: toggle SIP trace on the console 
   j: toggle PJSIP trace on the console 
   n: toggle notifications trace on the console 
   p: toggle printing RTP statistics on the console 
   h: hang-up the active session 
   r: toggle audio recording 
   m: mute the microphone 
   i: change audio input device 
   o: change audio output device 
   a: change audio alert device 
   <>: adjust echo cancellation 
   SPACE: hold/unhold 
 Proposing chat to 'sip:2233376905@sip2sip.info'... 
 2009-09-15 16:25:09.046420: SENDING: Packet 14, +0:01:02.467654 
 132.177.254.214:49368 -(SIP over UDP)-> 85.17.186.7:5060 
 INVITE sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e SIP/2.0 
 Via: SIP/2.0/UDP 132.177.254.214:49368;rport;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72 
 Max-Forwards: 70 
 From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx 
 To: <sip:2233376905@sip2sip.info>;tag=12fed6a8 
 Contact: <sip:sunvxlhz@132.177.254.214:49368> 
 Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw 
 CSeq: 9494 INVITE 
 Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.ce8f0a9> 
 Route: <sip:81.23.228.150;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.90fd2897> 
 Route: <sip:81.23.228.129;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.11acc262> 
 Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.de8f0a9> 
 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE 
 Supported: 100rel 
 User-Agent: blink-0.9.0 
 Content-Type: application/sdp 
 Content-Length:     981 

 v=0 
 o=- 3462035048 3462035049 IN IP4 132.177.254.214 
 s=blink-0.9.0 
 c=IN IP4 132.177.254.214 
 t=0 0 
 m=audio 49385 RTP/AVP 3 0 8 101 
 a=rtcp:49386 IN IP4 132.177.254.214 
 a=rtpmap:3 GSM/8000 
 a=rtpmap:0 PCMU/8000 
 a=rtpmap:8 PCMA/8000 
 a=rtpmap:101 telephone-event/8000 
 a=fmtp:101 0-15 
 a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:NT24NwNNrrna2KNSq9BciAHT7076TduvqlLejFfs 
 a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:DeVWCV7smCDTeXQwBooFbChO5x/WgEAbSPiAk+O1 
 a=ice-ufrag:0944aec6 
 a=ice-pwd:7c2e4dea 
 a=candidate:H 1 UDP 39 132.177.254.214 49385 typ host 
 a=candidate:H 1 UDP 39 10.211.55.2 49385 typ host 
 a=candidate:H 1 UDP 39 10.37.129.2 49385 typ host 
 a=candidate:H 2 UDP 38 132.177.254.214 49386 typ host 
 a=candidate:H 2 UDP 38 10.211.55.2 49386 typ host 
 a=candidate:H 2 UDP 38 10.37.129.2 49386 typ host 
 a=sendrecv 
 m=message 2855 TCP/TLS/MSRP * 
 a=path:msrps://132.177.254.214:2855/db6912543e0f6287e13c;tcp 
 a=accept-types:message/cpim text/* 
 a=accept-wrapped-types:* 

 -- 

 2009-09-15 16:25:09.140438: RECEIVED: Packet 15, +0:01:02.561672 
 85.17.186.7:5060 -(SIP over UDP)-> 132.177.254.214:49368 
 SIP/2.0 100 Giving a try 
 Via: SIP/2.0/UDP 132.177.254.214:49368;rport=49368;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72 
 From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx 
 To: <sip:2233376905@sip2sip.info>;tag=12fed6a8 
 Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw 
 CSeq: 9494 INVITE 
 Server: SIP Thor on OpenSIPS XS 1.4.5 
 Content-Length: 0 


 -- 

 2009-09-15 16:25:09.429513: RECEIVED: Packet 16, +0:01:02.850747 
 85.17.186.7:5060 -(SIP over UDP)-> 132.177.254.214:49368 
 SIP/2.0 200 OK 
 Via: SIP/2.0/UDP 132.177.254.214:49368;received=132.177.254.214;rport=49368;branch=z9hG4bKPjU9763d4lYU7W3rVf-Vc221cx6EmcUd72 
 Record-Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx> 
 Record-Route: <sip:81.23.228.129;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx> 
 Record-Route: <sip:81.23.228.150;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx> 
 Record-Route: <sip:85.17.186.7;lr=on;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx> 
 Contact: <sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e> 
 To: <sip:2233376905@sip2sip.info>;tag=12fed6a8 
 From: "Adrian G."<sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx 
 Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw 
 CSeq: 9494 INVITE 
 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO 
 Content-Type: application/sdp 
 Supported: eventlist 
 User-Agent: Bria 3.0 release 3.0 stamp 99999 
 Content-Length: 320 

 v=0 
 o=- 12897519906829104 12897519906829104 IN IP4 132.177.254.160 
 s=- 
 t=0 0 
 m=audio 55388 RTP/AVP 3 0 8 101 
 c=IN IP4 81.23.228.150 
 a=rtpmap:3 GSM/8000 
 a=rtpmap:0 PCMU/8000 
 a=rtpmap:8 PCMA/8000 
 a=rtpmap:101 telephone-event/8000 
 a=fmtp:101 0-15 
 a=ptime 
 a=sendrecv 
 m=MESSAGE 0 NONE 
 c=IN IP4 132.177.254.160 

 -- 

 2009-09-15 16:25:09.429677: SENDING: Packet 17, +0:01:02.850911 
 132.177.254.214:49368 -(SIP over UDP)-> 85.17.186.7:5060 
 ACK sip:2233376905@132.177.254.160:65014;rinstance=0abb36cdfde14d1e SIP/2.0 
 Via: SIP/2.0/UDP 132.177.254.214:49368;rport;branch=z9hG4bKPjqfb3VrLfsdaraszZ2TngLxGH.iomKkFi 
 Max-Forwards: 70 
 From: "Adrian G." <sip:adi@umts.ro>;tag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx 
 To: <sip:2233376905@sip2sip.info>;tag=12fed6a8 
 Call-ID: dEONyPIATvBASdMH6ieer3PfUKHrXPFw 
 CSeq: 9494 ACK 
 Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.ce8f0a9> 
 Route: <sip:81.23.228.150;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.90fd2897> 
 Route: <sip:81.23.228.129;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.11acc262> 
 Route: <sip:85.17.186.7;lr;ftag=ZGZlSslXQyq7HyHcnH3eh3k2vL5Oeowx;did=a28.de8f0a9> 
 User-Agent: blink-0.9.0 
 Content-Length:    0 


 -- 

 Audio to 2233376905@sip2sip.info> /remove chat 
 The current active session does not have any chat streams 
   
 
  }}}