Project

General

Profile

IO-sipit25 » History » Revision 14

Revision 13 (Adrian Georgescu, 09/16/2009 11:56 PM) → Revision 14/25 (Adrian Georgescu, 09/16/2009 11:58 PM)

 
 = Issues = 

  1. PJSIP does not do DNS lookup for hostnames 
  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. RTCP line not fixed by mediaproxy module 
 {{{ 
 c=IN IP4 85.17.186.6 
 t=0 0 
 m=audio 56500 RTP/AVP 9 104 103 102 0 8 101 
 a=rtcp:56501 IN IP4 132.177.254.214 
 }}} 
  1. Capture the success of ICE negotiation as Notification because RTP media end-points might have changed   
 {{{ 
 2009-09-16 16:42:46.646000 [Blink 20986] (4) 	 ice0xd38000: ICE negotiation success after 1s:127 
 2009-09-16 16:42:46.646000 [Blink 20986] (4)      ice0xd38000: Comp 1: sending from host candidate 192.168.66.100:56228 to prflx candidate 132.177.252.1:1166 
 2009-09-16 16:42:46.646000 [Blink 20986] (4) 	 ice0xd38000: Comp 2: sending from host candidate 192.168.66.100:56229 to prflx candidate 132.177.252.1:1167 
 }}} 
  1. Registration Expire from server response is not honored 
  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 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 * 
 }}} 
  1. 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   
  }}} 
 1. 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 
 }}} 
  1. Got a audio+video request. In our 200 OK    video m line is set to zero but wrong ICE candidates are added, which were actually what the other side proposed. 
 {{{ 
 RECEIVED: Packet 38, +0:16:30.750433 
 2009-09-16 16:03:20.240379: 132.177.253.55:5060 -(SIP over tcp)-> 192.168.66.100:62309 
 INVITE sip:vcptdwyo@192.168.66.100:62287;transport=tcp SIP/2.0 
 Via: SIP/2.0/TCP 132.177.253.55:5060;egress-zone=DefaultSubZone;branch=z9hG4bK12afd8cdc6051d05e1f4fb08ecfd659b11.56436f77a82fa0c31560a78d05fdbbb4;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680;rport 
 Via: SIP/2.0/TCP 10.0.0.101:5060;branch=z9hG4bKa9c559ae52b866866964386cf420367a.1;received=132.177.252.1;rport=1164;ingress-zone=DefaultSubZone 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 CSeq: 101 INVITE 
 Contact: <sip:114@10.0.0.101:5060;transport=tcp>;sip.ice=TRUE 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net> 
 Max-Forwards: 69 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,OPTIONS,REFER,NOTIFY 
 User-Agent: TANDBERG/81 (F9.0PreAlpha1 NTSC    TEST SW ) 
 Proxy-Authorization: Digest nonce="1253127042:fbb855e47839777e0b4cbddc396f2239", realm="esta.sipit.net", qop=auth-int, username="114", uri="sip:esta.sipit.net", response="776d3094e3034069b32eaf34edce8ee6", algorithm=MD5, nc=00000075, cnonce="7a286602937c2df42b57b86e62aa8324" 
 Supported: replaces,timer,com.tandberg.sdp.extensions.v1 
 Session-Expires: 500 
 Ms-Conversation-ID: adi 
 X-TAATag: 327e39f8-1ed7-11b2-86c1-0010f3180680 
 Content-Type: application/sdp 
 Content-Length: 2337 

 v=0 
 o=tandberg 1 1 IN IP4 10.0.0.101 
 s=- 
 b=CT:384 
 t=0 0 
 m=audio 60021 RTP/AVP 98 99 100 101 102 9 15 0 8 103 
 c=IN IP4 132.177.253.55 
 b=TIAS:64000 
 a=rtpmap:98 MP4A-LATM/90000 
 a=fmtp:98 profile-level-id=24;object=23;bitrate=64000 
 a=rtpmap:99 MP4A-LATM/90000 
 a=fmtp:99 profile-level-id=24;object=23;bitrate=56000 
 a=rtpmap:100 MP4A-LATM/90000 
 a=fmtp:100 profile-level-id=24;object=23;bitrate=48000 
 a=rtpmap:101 G7221/16000 
 a=fmtp:101 bitrate=32000 
 a=rtpmap:102 G7221/16000 
 a=fmtp:102 bitrate=24000 
 a=rtpmap:9 G722/8000 
 a=rtpmap:15 G728/8000 
 a=rtpmap:0 PCMU/8000 
 a=rtpmap:8 PCMA/8000 
 a=rtpmap:103 telephone-event/8000 
 a=fmtp:103 0-15 
 a=rtcp:60020 IN IP4 132.177.253.55 
 a=sendrecv 
 a=candidate:1 1 UDP 2130706431 10.0.0.101 48010 typ host 
 a=candidate:1 2 UDP 2130706430 10.0.0.101 48011 typ host 
 a=candidate:3 1 UDP 1694498815 132.177.252.1 1223 typ srflx raddr 10.0.0.101 rport 48010 
 a=candidate:3 2 UDP 1694498814 132.177.252.1 1224 typ srflx raddr 10.0.0.101 rport 48011 
 a=candidate:4 1 UDP 16777215 132.177.253.55 60021 typ relay raddr 132.177.252.1 rport 1223 
 a=candidate:4 2 UDP 16777214 132.177.253.55 60020 typ relay raddr 132.177.252.1 rport 1224 
 a=ice-ufrag:AXGo 
 a=ice-pwd:q9tm4RT4WWwgMaR+khw49k 
 m=video 60019 RTP/AVP 97 34 31 
 c=IN IP4 132.177.253.55 
 b=TIAS:384000 
 a=rtpmap:97 H263-1998/90000 
 a=fmtp:97 custom=1280,800,0;custom=1280,768,0;custom=1280,720,3;custom=1024,768,4;custom=1024,576,2;custom=800,600,3;cif4=2;custom=720,480,2;custom=640,480,2;custom=512,288,1;cif=1;custom=352,240,1;qcif=1;sqcif=1;maxbr=3840 
 a=rtpmap:34 H263/90000 
 a=fmtp:34 cif4=2;cif=1;qcif=1;sqcif=1;maxbr=3840 
 a=rtpmap:31 H261/90000 
 a=fmtp:31 cif=1;qcif=1;maxbr=3840 
 a=rtcp-fb:* nack pli 
 a=rtcp:60018 IN IP4 132.177.253.55 
 a=sendrecv 
 a=content:main 
 a=label:11 
 a=answer:full 
 a=candidate:1 1 UDP 2130706431 10.0.0.101 48012 typ host 
 a=candidate:1 2 UDP 2130706430 10.0.0.101 48013 typ host 
 a=candidate:3 1 UDP 1694498815 132.177.252.1 1225 typ srflx raddr 10.0.0.101 rport 48012 
 a=candidate:3 2 UDP 1694498814 132.177.252.1 1226 typ srflx raddr 10.0.0.101 rport 48013 
 a=candidate:4 1 UDP 16777215 132.177.253.55 60019 typ relay raddr 132.177.252.1 rport 1225 
 a=candidate:4 2 UDP 16777214 132.177.253.55 60018 typ relay raddr 132.177.252.1 rport 1226 
 a=ice-ufrag:IhqK 
 a=ice-pwd:lUINdW/R045Zi18UpMj4sB 

 SENDING: Packet 39, +0:16:30.766962 
 2009-09-16 16:03:20.256908: 192.168.66.100:62309 -(SIP over tcp)-> 132.177.253.55:5060 
 SIP/2.0 100 Trying 
 Via: SIP/2.0/TCP 132.177.253.55:5060;rport=5060;received=132.177.253.55;branch=z9hG4bK12afd8cdc6051d05e1f4fb08ecfd659b11.56436f77a82fa0c31560a78d05fdbbb4;egress-zone=DefaultSubZone;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680 
 Via: SIP/2.0/TCP 10.0.0.101:5060;rport=1164;received=132.177.252.1;branch=z9hG4bKa9c559ae52b866866964386cf420367a.1;ingress-zone=DefaultSubZone 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net> 
 CSeq: 101 INVITE 
 Server: blink-0.9.0 
 Content-Length:    0 

 SENDING: Packet 40, +0:16:30.784012 
 2009-09-16 16:03:20.273958: 192.168.66.100:62309 -(SIP over tcp)-> 132.177.253.55:5060 
 SIP/2.0 180 Ringing 
 Via: SIP/2.0/TCP 132.177.253.55:5060;rport=5060;received=132.177.253.55;branch=z9hG4bK12afd8cdc6051d05e1f4fb08ecfd659b11.56436f77a82fa0c31560a78d05fdbbb4;egress-zone=DefaultSubZone;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680 
 Via: SIP/2.0/TCP 10.0.0.101:5060;rport=1164;received=132.177.252.1;branch=z9hG4bKa9c559ae52b866866964386cf420367a.1;ingress-zone=DefaultSubZone 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net>;tag=yDaD10Vct28-gMUzhZKsJMdBlHrndj11 
 CSeq: 101 INVITE 
 Server: blink-0.9.0 
 Contact: <sip:vcptdwyo@192.168.66.100:62287;transport=tcp> 
 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE 
 Content-Length:    0 

 SENDING: Packet 41, +0:16:32.898845 
 2009-09-16 16:03:22.388791: 192.168.66.100:62309 -(SIP over tcp)-> 132.177.253.55:5060 
 SIP/2.0 200 OK 
 Via: SIP/2.0/TCP 132.177.253.55:5060;rport=5060;received=132.177.253.55;branch=z9hG4bK12afd8cdc6051d05e1f4fb08ecfd659b11.56436f77a82fa0c31560a78d05fdbbb4;egress-zone=DefaultSubZone;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680 
 Via: SIP/2.0/TCP 10.0.0.101:5060;rport=1164;received=132.177.252.1;branch=z9hG4bKa9c559ae52b866866964386cf420367a.1;ingress-zone=DefaultSubZone 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net>;tag=yDaD10Vct28-gMUzhZKsJMdBlHrndj11 
 CSeq: 101 INVITE 
 Server: blink-0.9.0 
 Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE 
 Contact: <sip:vcptdwyo@192.168.66.100:62287;transport=tcp> 
 Supported: 100rel 
 Content-Type: application/sdp 
 Content-Length:    1528 

 v=0 
 o=- 3462120202 3462120203 IN IP4 192.168.66.100 
 s=blink-0.9.0 
 c=IN IP4 132.177.254.166 
 t=0 0 
 m=audio 56026 RTP/AVP 9 101 
 a=rtcp:56027 IN IP4 132.177.254.166 
 a=rtpmap:9 G722/8000 
 a=rtpmap:101 telephone-event/8000 
 a=fmtp:101 0-15 
 a=ice-ufrag:37cecb00 
 a=ice-pwd:6971899f 
 a=candidate:S 1 UDP 31 132.177.254.166 56026 typ srflx raddr 192.168.66.100 rport 56026 
 a=candidate:H 1 UDP 23 192.168.66.100 56026 typ host 
 a=candidate:S 2 UDP 30 132.177.254.166 56027 typ srflx raddr 192.168.66.100 rport 56027 
 a=candidate:H 2 UDP 22 192.168.66.100 56027 typ host 
 a=sendrecv 
 m=video 0 RTP/AVP 97 
 c=IN IP4 132.177.253.55 
 a=rtpmap:97 H263-1998/90000 
 a=fmtp:97 custom=1280,800,0;custom=1280,768,0;custom=1280,720,3;custom=1024,768,4;custom=1024,576,2;custom=800,600,3;cif4=2;custom=720,480,2;custom=640,480,2;custom=512,288,1;cif=1;custom=352,240,1;qcif=1;sqcif=1;maxbr=3840 
 a=rtcp-fb:* nack pli 
 a=rtcp:60018 IN IP4 132.177.253.55 
 a=sendrecv 
 a=content:main 
 a=label:11 
 a=answer:full 
 a=candidate:1 1 UDP 2130706431 10.0.0.101 48012 typ host 
 a=candidate:1 2 UDP 2130706430 10.0.0.101 48013 typ host 
 a=candidate:3 1 UDP 1694498815 132.177.252.1 1225 typ srflx raddr 10.0.0.101 rport 48012 
 a=candidate:3 2 UDP 1694498814 132.177.252.1 1226 typ srflx raddr 10.0.0.101 rport 48013 
 a=candidate:4 1 UDP 16777215 132.177.253.55 60019 typ relay raddr 132.177.252.1 rport 1225 
 a=candidate:4 2 UDP 16777214 132.177.253.55 60018 typ relay raddr 132.177.252.1 rport 1226 
 a=ice-ufrag:IhqK 
 a=ice-pwd:lUINdW/R045Zi18UpMj4sB 

 RECEIVED: Packet 42, +0:16:32.991202 
 2009-09-16 16:03:22.481148: 132.177.253.55:5060 -(SIP over tcp)-> 192.168.66.100:62309 
 ACK sip:vcptdwyo@192.168.66.100:62287;transport=tcp SIP/2.0 
 Via: SIP/2.0/TCP 132.177.253.55:5060;egress-zone=DefaultSubZone;branch=z9hG4bKcb1191477cf988bd75edc775d78fd4dc12.56436f77a82fa0c31560a78d05fdbbb4;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680;rport 
 Via: SIP/2.0/TCP 10.0.0.101:5060;branch=z9hG4bK55be937d784a0ffa5e5382130c74f5fa.1;received=132.177.252.1;rport=1164;ingress-zone=DefaultSubZone 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 CSeq: 101 ACK 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net>;tag=yDaD10Vct28-gMUzhZKsJMdBlHrndj11 
 Max-Forwards: 69 
 Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,OPTIONS,REFER,NOTIFY 
 User-Agent: TANDBERG/81 (F9.0PreAlpha1 NTSC    TEST SW ) 
 Supported: replaces,100rel,timer,com.tandberg.sdp.extensions.v1 
 X-TAATag: 327e39f8-1ed7-11b2-86c1-0010f3180680 
 Content-Length: 0 

 RECEIVED: Packet 43, +0:16:33.098945 
 2009-09-16 16:03:22.588891: 132.177.253.55:5060 -(SIP over tcp)-> 192.168.66.100:62309 
 UPDATE sip:vcptdwyo@192.168.66.100:62287;transport=tcp SIP/2.0 
 Via: SIP/2.0/TCP 132.177.253.55:5060;egress-zone=DefaultSubZone;branch=z9hG4bK904440956aa4598d4cc36b4c564a666f13.56436f77a82fa0c31560a78d05fdbbb4;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680;rport 
 Via: SIP/2.0/TCP 10.0.0.101:5060;branch=z9hG4bKcb4fa55cfab7bb59a4c060c88ea8d7ec.1;received=132.177.252.1;rport=1164;ingress-zone=DefaultSubZone 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 CSeq: 102 UPDATE 
 Contact: <sip:114@10.0.0.101:5060;transport=tcp>;sip.ice=TRUE 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net>;tag=yDaD10Vct28-gMUzhZKsJMdBlHrndj11 
 Max-Forwards: 69 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,OPTIONS,REFER,NOTIFY 
 User-Agent: TANDBERG/81 (F9.0PreAlpha1 NTSC    TEST SW ) 
 Proxy-Authorization: Digest nonce="1253127042:fbb855e47839777e0b4cbddc396f2239", realm="esta.sipit.net", qop=auth-int, username="114", uri="sip:esta.sipit.net", response="03a7ed829daf113b4968ed49fd81db98", algorithm=MD5, nc=00000076, cnonce="898d6ed9f59571952ea339e084b064a9" 
 Supported: replaces,timer,com.tandberg.sdp.extensions.v1 
 Session-Expires: 500; refresher=uac 
 Min-SE: 90 
 X-TAATag: 327e39f8-1ed7-11b2-86c1-0010f3180680 
 Content-Type: application/sdp 
 Content-Length: 929 

 v=0 
 o=tandberg 1 2 IN IP4 10.0.0.101 
 s=- 
 c=IN IP4 10.0.0.101 
 b=CT:384 
 t=0 0 
 m=audio 48010 RTP/AVP 101 102 9 15 0 8 103 
 b=TIAS:64000 
 a=rtpmap:101 G7221/16000 
 a=fmtp:101 bitrate=32000 
 a=rtpmap:102 G7221/16000 
 a=fmtp:102 bitrate=24000 
 a=rtpmap:9 G722/8000 
 a=rtpmap:15 G728/8000 
 a=rtpmap:0 PCMU/8000 
 a=rtpmap:8 PCMA/8000 
 a=rtpmap:103 telephone-event/8000 
 a=fmtp:103 0-15 
 a=sendrecv 
 m=video 48012 RTP/AVP 97 34 31 
 c=IN IP4 10.0.0.101 
 b=TIAS:384000 
 a=rtpmap:97 H263-1998/90000 
 a=fmtp:97 custom=1280,800,0;custom=1280,768,0;custom=1280,720,3;custom=1024,768,4;custom=1024,576,2;custom=800,600,3;cif4=2;custom=720,480,2;custom=640,480,2;custom=512,288,1;cif=1;custom=352,240,1;qcif=1;sqcif=1;maxbr=3840 
 a=rtpmap:34 H263/90000 
 a=fmtp:34 cif4=2;cif=1;qcif=1;sqcif=1;maxbr=3840 
 a=rtpmap:31 H261/90000 
 a=fmtp:31 cif=1;qcif=1;maxbr=3840 
 a=rtcp-fb:* nack pli 
 a=sendrecv 
 a=content:main 
 a=label:11 
 a=answer:full 

 SENDING: Packet 44, +0:16:33.099057 
 2009-09-16 16:03:22.589003: 192.168.66.100:62309 -(SIP over tcp)-> 132.177.253.55:5060 
 SIP/2.0 488 Not Acceptable Here 
 Via: SIP/2.0/TCP 132.177.253.55:5060;rport=5060;received=132.177.253.55;branch=z9hG4bK904440956aa4598d4cc36b4c564a666f13.56436f77a82fa0c31560a78d05fdbbb4;egress-zone=DefaultSubZone;proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680 
 Via: SIP/2.0/TCP 10.0.0.101:5060;rport=1164;received=132.177.252.1;branch=z9hG4bKcb4fa55cfab7bb59a4c060c88ea8d7ec.1;ingress-zone=DefaultSubZone 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Record-Route: <sip:proxy-call-id=327e3944-1ed7-11b2-8361-0010f3180680@132.177.253.55:5060;transport=tcp;lr> 
 Call-ID: 1b62654a2e4d9df2@10.0.0.101 
 From: "TANDBERG-1000" <sip:114@h2.tandberg.sipit.net>;tag=3a9e5fe5d5f2f85a 
 To: <sip:adi@h2.tandberg.sipit.net>;tag=yDaD10Vct28-gMUzhZKsJMdBlHrndj11 
 CSeq: 102 UPDATE 
 Server: blink-0.9.0 
 Content-Length:    0 
 }}} 
  1. If I get a hostname in Contact or Router headers PJSIP cannot send responses back because is not configured to do DNS lookups 
 {{{ 
 2009-09-16 14:57:10.976000 [Blink 20654] (4)    sip_resolve.c: Failed to resolve 'esta.sipit.net'. Err=320045 (No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)) 
 2009-09-16 14:57:10.976000 [Blink 20654] (2)      tsx0xe46a64: Failed to send Request msg BYE/cseq=31450 (tdta0xe74a00)! err=320045 (No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)) 

 This was received, see the hostname in Record-Route header: 

 SIP/2.0 200 OKM 
 Via: SIP/2.0/UDP 192.168.66.100:55487;rport=55487;branch=z9hG4bKPj2BCwZWDHqjq7-xOhHNmZ9YVTYhKMwMeK;received=132.177.254.166M 
 Record-Route: <sip:DAAAABACp8aEsf+D@esta.sipit.net;lr>M 
 Record-Route: <sip:AwAAAAADv9iEsf6m@esta.sipit.net;lr>M 
 }}}