Hi, Thanks for reply! Enclosed the log from pjsip. I hide the account name with peerB and peerA. peerB and peerA live in same LAN. the log is from peerB who initial the call.
BTW: i find Microsip can not call each other with opensips.org account when enable the ice&stun either, some body tell me ice feature need server support(do not mean TURN). is it true? BRs, bo On Mon, Jan 9, 2012 at 11:09 PM, Faisal Rehman <[email protected]>wrote: > Hi > > Will you please paste some sip trace so that root cause of the issue can > be known. > > Regards, > > Faisal Rehman > ------------------------------ > *From:* Bo Shi <[email protected]> > *To:* [email protected] > *Sent:* Monday, January 9, 2012 7:53 PM > *Subject:* [OpenSIPS-Users] Can not call others if enable ice > > Hi all, > I am using sip accounts from opensips.org to test pjsip ICE features, > but the call is fail. Caller get 200 try response then timeout. I want to > know is it because of opensips server or pjsip client? > BR, > Bo > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
To: <sip:125.115.195.189>;tag=0 CSeq: 1 OPTIONS Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAG E, OPTIONS Accept: application/sdp, application/pidf+xml, application/xpidf+xml, applicatio n/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposin g+xml, text/plain Supported: replaces, 100rel, timer, norefersub Allow-Events: presence, message-summary, refer User-Agent: PJSUA v2.0.0-beta-svn win32-5.1/i386/msvc-14.0 Content-Length: 0 --end msg-- m (You currently have 0 calls) Buddy list: -none- Choices: 0 For current dialog. -1 All 0 buddies in buddy list [1 - 0] Select from buddy list URL An URL <Enter> Empty input (or 'q') to cancel Make call: sip:[email protected] 23:44:58.734 pjsua_call.c !Making call with acc #2 to sip:[email protected] 23:44:58.734 pjsua_media.c .Set sound device: capture=-1, playback=-2 23:44:58.734 pjsua_app.c ..Turning sound device ON 23:44:58.734 pjsua_media.c ..Opening sound device PCM@8000/1/20ms 23:44:58.796 wmme_dev.c ... WaveAPI Sound player "Wave mapper" initialized (format=PCM, clock_rate=8000, channel_count=1, samples_per_frame=160 (20ms)) 23:44:58.828 wmme_dev.c ... WaveAPI Sound recorder "Wave mapper" initialize d (format=PCM, clock_rate=8000, channel_count=1, samples_per_frame=160 (20ms)) 23:44:58.828 ec003EF378 ...Echo suppressor created, clock_rate=8000, channe l=1, samples per frame=160, tail length=200 ms, latency=100 ms 23:44:58.828 wmme_dev.c ...WMME playback stream started 23:44:58.828 wmme_dev.c ...WMME capture stream started 23:44:58.906 pjsua_media.c .Call 0: initializing media.. 23:44:58.921 icetp00 ..Creating ICE stream transport with 2 component(s) 23:44:58.921 icetp00 !...Comp 1: srflx candidate starts Binding discovery 23:44:58.968 icetp00 !...Comp 1: host candidate 192.168.0.86:1600 added 23:44:58.968 icetp00 ...Comp 2: srflx candidate starts Binding discovery 23:44:59.015 icetp00 ...Comp 2: host candidate 192.168.0.86:1603 added 23:44:59.015 icetp00 ...ICE stream transport created 23:44:59.015 pjsua_media.c ..Media index 0 selected for audio call 0 >>> 23:44:59.140 stuntp00F17BE0 .STUN mapped address found/changed: 125.115.195 .189:63591 23:44:59.156 icetp00 .Comp 1: Binding discovery complete, srflx address is 125.115.195.189:63591 23:44:59.203 stuntp00F1A718 .STUN mapped address found/changed: 125.115.195.189 :63421 23:44:59.203 icetp00 .Comp 2: Binding discovery complete, srflx address is 125.115.195.189:63421 23:44:59.234 icetp00 ICE session created, comp_cnt=2, role is Controllin g agent 23:44:59.234 icetp00 ICE nomination type set to aggressive 23:44:59.234 icetp00 Candidate 0 added: comp_id=1, type=srflx, foundatio n=Sc0a80056, addr=125.115.195.189:63591, base=192.168.0.86:1600, prio=0x64ffffff (1694498815) 23:44:59.234 icetp00 Candidate 1 added: comp_id=1, type=host, foundation =Hc0a80056, addr=192.168.0.86:1600, base=192.168.0.86:1600, prio=0x7effffff (213 0706431) 23:44:59.234 icetp00 Candidate 2 added: comp_id=2, type=srflx, foundatio n=Sc0a80056, addr=125.115.195.189:63421, base=192.168.0.86:1603, prio=0x64fffffe (1694498814) 23:44:59.234 icetp00 Candidate 3 added: comp_id=2, type=host, foundation =Hc0a80056, addr=192.168.0.86:1603, base=192.168.0.86:1603, prio=0x7efffffe (213 0706430) 23:44:59.281 tcpc00F270A4 ...TCP client transport created 23:44:59.281 tcpc00F270A4 ...TCP transport 192.168.0.86:1609 is connecting to 78.46.64.50:5060... 23:44:59.281 pjsua_core.c ...TX 1353 bytes Request msg INVITE/cseq=8012 (tdta 00F22670) to tcp 78.46.64.50:5060: INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/TCP 192.168.0.86:1609;rport;branch=z9hG4bKPj06b9951f602244aaab9de7c 1709fd52f Max-Forwards: 70 From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected] Contact: <sip:[email protected]:62547;ob>;+sip.ice Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8012 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAG E, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v2.0.0-beta-svn win32-5.1/i386/msvc-14.0 Content-Type: application/sdp Content-Length: 689 v=0 o=- 3535141499 3535141499 IN IP4 125.115.195.189 s=pjmedia c=IN IP4 125.115.195.189 t=0 0 a=X-nat:5 m=audio 63591 RTP/AVP 0 8 96 c=IN IP4 125.115.195.189 a=rtcp:63421 IN IP4 125.115.195.189 a=sendrecv a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=ice-ufrag:0bb32ea6 a=ice-pwd:12db153c a=candidate:Sc0a80056 1 UDP 1694498815 125.115.195.189 63591 typ srflx raddr 192 .168.0.86 rport 1600 a=candidate:Hc0a80056 1 UDP 2130706431 192.168.0.86 1600 typ host a=candidate:Sc0a80056 2 UDP 1694498814 125.115.195.189 63421 typ srflx raddr 192 .168.0.86 rport 1603 a=candidate:Hc0a80056 2 UDP 2130706430 192.168.0.86 1603 typ host --end msg-- 23:44:59.312 pjsua_app.c ......Call 0 state changed to CALLING 23:44:59.593 tcpc00F270A4 TCP transport 192.168.0.86:1609 is connected to 78. 46.64.50:5060 23:44:59.593 pjsua_app.c SIP tcp transport is connected to [78.46.64.50:5060 ] 23:44:59.656 ec003EF378 !Underflow, buf_cnt=0, will generate 1 frame 23:44:59.906 pjsua_core.c .RX 540 bytes Response msg 407/INVITE/cseq=8012 (rd ata00F2724C) from tcp 78.46.64.50:5060: SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/TCP 192.168.0.86:1609;received=125.115.195.189;rport=63687;branch=z 9hG4bKPj06b9951f602244aaab9de7c1709fd52f From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected];tag=21cd92dfe13b8584d23cd0642152dc91.a327 Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8012 INVITE Proxy-Authenticate: Digest realm="opensips.org", nonce="4f0b0ca5fbd44b87c6cda925 975b6a0dbd15e254" Server: OpenSIPS (1.8.0-dev0-tls (x86_64/linux)) Content-Length: 0 --end msg-- 23:44:59.906 pjsua_core.c ..TX 371 bytes Request msg ACK/cseq=8012 (tdta00F29 750) to tcp 78.46.64.50:5060: ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/TCP 192.168.0.86:1609;rport;branch=z9hG4bKPj06b9951f602244aaab9de7c 1709fd52f Max-Forwards: 70 From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected];tag=21cd92dfe13b8584d23cd0642152dc91.a327 Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8012 ACK Content-Length: 0 --end msg-- 23:44:59.921 pjsua_core.c .......TX 1552 bytes Request msg INVITE/cseq=8013 ( tdta00F22670) to tcp 78.46.64.50:5060: INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/TCP 192.168.0.86:1609;rport;branch=z9hG4bKPjdcb21185ad5f48918b260cc 3ab4e05ee Max-Forwards: 70 From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected] Contact: <sip:[email protected]:62547;ob>;+sip.ice Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8013 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAG E, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v2.0.0-beta-svn win32-5.1/i386/msvc-14.0 Proxy-Authorization: Digest username="peerB", realm="opensips.org", nonce="4 f0b0ca5fbd44b87c6cda925975b6a0dbd15e254", uri="sip:[email protected]", respon se="96db5fd69880fe77a92f8e9ddbb7941b" Content-Type: application/sdp Content-Length: 689 v=0 o=- 3535141499 3535141499 IN IP4 125.115.195.189 s=pjmedia c=IN IP4 125.115.195.189 t=0 0 a=X-nat:5 m=audio 63591 RTP/AVP 0 8 96 c=IN IP4 125.115.195.189 a=rtcp:63421 IN IP4 125.115.195.189 a=sendrecv a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 a=ice-ufrag:0bb32ea6 a=ice-pwd:12db153c a=candidate:Sc0a80056 1 UDP 1694498815 125.115.195.189 63591 typ srflx raddr 192 .168.0.86 rport 1600 a=candidate:Hc0a80056 1 UDP 2130706431 192.168.0.86 1600 typ host a=candidate:Sc0a80056 2 UDP 1694498814 125.115.195.189 63421 typ srflx raddr 192 .168.0.86 rport 1603 a=candidate:Hc0a80056 2 UDP 2130706430 192.168.0.86 1603 typ host --end msg-- 23:45:00.281 pjsua_core.c .RX 382 bytes Response msg 100/INVITE/cseq=8013 (rd ata00F2724C) from tcp 78.46.64.50:5060: SIP/2.0 100 Giving a try Via: SIP/2.0/TCP 192.168.0.86:1609;received=125.115.195.189;rport=63687;branch=z 9hG4bKPjdcb21185ad5f48918b260cc3ab4e05ee From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected] Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8013 INVITE Server: OpenSIPS (1.8.0-dev0-tls (x86_64/linux)) Content-Length: 0 --end msg-- 23:45:01.250 ec003EF378 !Underflow, buf_cnt=0, will generate 1 frame 23:45:02.031 ec003EF378 !Underflow, buf_cnt=0, will generate 1 frame 23:45:03.625 ec003EF378 Underflow, buf_cnt=0, will generate 1 frame 23:45:03.859 sound_port.c EC suspended because of inactivity 23:45:08.812 pjsua_core.c .RX 244 bytes Request msg OPTIONS/cseq=1 (rdata00F0 DDEC) from UDP 78.46.64.50:5060: OPTIONS sip:125.115.195.189:62547 SIP/2.0 Via: SIP/2.0/UDP 78.46.64.50:5060;branch=0 From: sip:[email protected];tag=26ca88e7 To: sip:125.115.195.189:62547 Call-ID: [email protected] CSeq: 1 OPTIONS Content-Length: 0 --end msg-- 23:45:08.812 pjsua_core.c .TX 670 bytes Response msg 200/OPTIONS/cseq=1 (tdta 00F2CF50) to UDP 78.46.64.50:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 78.46.64.50:5060;received=78.46.64.50;branch=0 Call-ID: [email protected] From: <sip:[email protected]>;tag=26ca88e7 To: <sip:125.115.195.189>;tag=0 CSeq: 1 OPTIONS Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAG E, OPTIONS Accept: application/sdp, application/pidf+xml, application/xpidf+xml, applicatio n/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposin g+xml, text/plain Supported: replaces, 100rel, timer, norefersub Allow-Events: presence, message-summary, refer User-Agent: PJSUA v2.0.0-beta-svn win32-5.1/i386/msvc-14.0 Content-Length: 0 --end msg-- 23:45:15.015 pjsua_core.c .RX 427 bytes Response msg 408/INVITE/cseq=8013 (rd ata00F2724C) from tcp 78.46.64.50:5060: SIP/2.0 408 Request Timeout Via: SIP/2.0/TCP 192.168.0.86:1609;received=125.115.195.189;rport=63687;branch=z 9hG4bKPjdcb21185ad5f48918b260cc3ab4e05ee From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected];tag=8e7af0fbf2b75293b6025b70acf05371-28a2 Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8013 INVITE Server: OpenSIPS (1.8.0-dev0-tls (x86_64/linux)) Content-Length: 0 --end msg-- 23:45:15.015 pjsua_core.c ..TX 371 bytes Request msg ACK/cseq=8013 (tdta00F2C F50) to tcp 78.46.64.50:5060: ACK sip:[email protected] SIP/2.0 Via: SIP/2.0/TCP 192.168.0.86:1609;rport;branch=z9hG4bKPjdcb21185ad5f48918b260cc 3ab4e05ee Max-Forwards: 70 From: sip:[email protected];tag=7c45c2d1324046afa3804cfa7d9789b9 To: sip:[email protected];tag=8e7af0fbf2b75293b6025b70acf05371-28a2 Call-ID: 7a6e0706473f4c83ac8c3975b29d6d50 CSeq: 8013 ACK Content-Length: 0 --end msg-- 23:45:15.031 pjsua_app.c .....Call 0 is DISCONNECTED [reason=408 (Request Ti meout)] 23:45:15.031 pjsua_app.c ..... [DISCONNCTD] To: sip:[email protected] Call time: 00h:00m:00s, 1st res in 16203 ms, conn in 0ms 23:45:15.031 pjsua_media.c .....Call 0: deinitializing media.. 23:45:15.046 pjsua_media.c .......Media session call00:0 is destroyed 23:45:15.046 icetp00 ......Stopping ICE, reason=media stop requested 23:45:15.046 icetp00 ......Destroying ICE session 23:45:15.046 icetp00 .......ICE stream transport destroyed 23:45:16.062 pjsua_media.c Closing sound device after idle for 1 seconds 23:45:16.062 pjsua_app.c .Turning sound device OFF 23:45:16.062 pjsua_media.c .Closing Wave mapper sound playback device and Wave mapper sound capture device 23:45:16.062 wmme_dev.c .Stopped WMME playback stream 23:45:16.062 wmme_dev.c .Stopped WMME capture stream 23:45:16.062 wmme_dev.c .Stopped WMME playback stream 23:45:16.062 wmme_dev.c .Stopped WMME capture stream
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
