Hi Varun, Can u tell us whether two pCs are in same LAN or different? More over does the firewall behind which ur PCs are kept stop packets from external public entity? Thanks and Regards, Gaurav On Tue, 3 Dec 2013 11:04:04 +0000, varun pratapsingh wrote: > Hi All, > > I have compiled the pjsip 2.1 angenerated a DLL and now when I am using > this DLL in my softphone then PC to PC call is not working. Whereas i use > the DLL of the older pjsip 1.15 then PC to PC call is working fine. > > Please see the INVITE request sent from the pjsip 2.1 DLL: > INVITE sip:787878 at 67.212.81.164 SIP/2.0 > Via: SIP/2.0/UDP 113.193.186.78:41260 > ;rport;branch=z9hG4bKPj6a245d93b36144e4a1fe76801e33e6ac > Max-Forwards: 70 > From: sip:878787@67.212.81.164;tag=b46ad5e8e10f4557ae220d01336b0c66 > To: sip:787878 at 67.212.81.164 > Contact: > Call-ID: 3142745794144ad2ac1d01d2cc22aed1 > CSeq: 25118 INVITE > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, > REFER, MESSAGE, OPTIONS > Supported: replaces, 100rel, timer, norefersub > Session-Expires: 1800 > Min-SE: 90 > User-Agent: SoftPhone > Content-Type: application/sdp > Content-Length: 828 > v=0 > o=- 3595060592 3595060592 IN IP4 192.168.1.19 > s=pjmedia > b=AS:84 > t=0 0 > a=X-nat:0 > m=audio 40002 RTP/AVP 98 97 99 104 3 0 8 9 105 106 18 4 110 2 15 113 114 96 > c=IN IP4 192.168.1.19 > b=TIAS:64000 > a=rtcp:40003 IN IP4 192.168.1.19 > a=sendrecv > a=rtpmap:98 speex/16000 > a=rtpmap:97 speex/8000 > a=rtpmap:99 speex/32000 > a=rtpmap:104 iLBC/8000 > a=fmtp:104 mode=30 > a=rtpmap:3 GSM/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:105 AMR/8000 > a=fmtp:105 octet-align=1 > a=rtpmap:106 AMR-WB/16000 > a=fmtp:106 octet-align=1 > a=rtpmap:18 G729/8000 > a=rtpmap:4 G723/8000 > a=rtpmap:110 G726-32/8000 > a=rtpmap:2 G721/8000 > a=rtpmap:15 G728/8000 > a=rtpmap:113 G7221/16000 > a=fmtp:113 bitrate=24000 > a=rtpmap:114 G7221/16000 > a=fmtp:114 bitrate=32000 > a=rtpmap:96 telephone-event/8000 > a=fmtp:96 0-15 > > and the INVITE from the old DLL is : > INVITE sip:787878 at 67.212.81.164 SIP/2.0 > Via: SIP/2.0/UDP 192.168.1.19:5070 > ;rport;branch=z9hG4bKPj79cb6eb6ae98487392279b1f50c832bd > Max-Forwards: 70 > From: sip:878787@67.212.81.164;tag=5a6ed567edb140b39417dc40e869bbe2 > To: sip:787878 at 67.212.81.164 > Contact: > Call-ID: e4b505bdef264a0581f328bbe0f6a145 > CSeq: 3717 INVITE > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, > MESSAGE, OPTIONS > Supported: 100rel, norefersub > User-Agent: AdoreSoftphone > Content-Type: application/sdp > Content-Length: 485 > v=0 > o=- 3595059950 3595059950 IN IP4 192.168.1.19 > s=pjmedia > c=IN IP4 192.168.1.19 > t=0 0 > a=X-nat:0 > m=audio 4006 RTP/AVP 18 0 8 9 102 3 103 104 117 101 > a=rtcp:4007 IN IP4 192.168.1.19 > a=rtpmap:18 G729/8000 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=rtpmap:9 G722/8000 > a=rtpmap:102 speex/8000 > a=rtpmap:3 GSM/8000 > a=rtpmap:103 speex/16000 > a=rtpmap:104 speex/32000 > a=rtpmap:117 iLBC/8000 > a=fmtp:117 mode=30 > a=sendrecv > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > > The only difference between the two INVITE logs is in Via feild latest > pjsip 2.1 via feild have some IP 113.193.186.78:41260 and the older pjsip > dll have the via feild IP 192.168.1.19 which is my system IP address. > > > Please tell why the PC to PC SIP INVITE is not working in the pjsip 2.1 and > why it is working in older pjsip dll. > > Can anybody tell me reason if it is bug in pjsip2.1. > > > Thanks in advance. > > > Regards > Varun -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131203/7fac7a50/attachment-0001.html>