[Freeswitch-users] The Call hang up after about 60 seconds by sip.js

liuyp2 liuyp2 at asiainfo.com
Tue Jul 8 11:24:59 MSD 2014


Hi, Freeswitch,

I used a web-ua that registered for 1001 by sip.js to call another web-ua that registered for 1002 by sip.js, all thing works ok, but the call hang up after about 60 seconds caused with 500 internal server error.

here is the trace of the call from the freeswitch console with siptrace on after about 60s:

   ------------------------------------------------------------------------
send 3243 bytes to ws/[10.108.226.157]:5265 at 06:28:05.312440:
   ------------------------------------------------------------------------
   INVITE sip:u8djvd17 at 952nbceag6b1.invalid;transport=ws;ob SIP/2.0
   Via: SIP/2.0/WS 10.108.226.157:5066;branch=z9hG4bKXp48r89B9Q5Sp
   Max-Forwards: 70
   From: <sip:1001 at 10.108.226.157>;tag=gQet6FS5ttN3r
   To: <sip:1002 at 10.108.226.157>;tag=hja4qr590s
   Call-ID: iee4mgmnj48j1gk8llrl
   CSeq: 62064378 INVITE
   Contact: <sip:1001 at 10.108.226.157:5060;transport=udp>
   User-Agent: FreeSWITCH-mod_sofia/1.5.12b~32bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, RE
FER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Session-Expires: 120;refresher=uac
   Min-SE: 120
   Content-Type: application/sdp
   Content-Disposition: session
   Content-Length: 2562
   v=0
   o=- 4843282287768807212 2 IN IP4 10.108.226.157
   s=-
   t=0 0
   a=group:BUNDLE audio video
   a=msid-semantic: WMS cUjDKZuVkeKIQ8S9wg68Ca8YGzKRAKF399Dt
   m=audio 37393 RTP/SAVPF 111 103 104 0 8 106 105 13 126
   c=IN IP4 183.221.39.14
   a=rtpmap:111 opus/48000/2
   a=fmtp:111 minptime=10
   a=rtpmap:103 ISAC/16000
   a=rtpmap:104 ISAC/32000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:106 CN/32000
   a=rtpmap:105 CN/16000
   a=rtpmap:13 CN/8000
   a=rtpmap:126 telephone-event/8000
   a=rtcp:1 IN IP4 0.0.0.0
   a=candidate:1108746152 1 udp 2122260223 10.108.226.157 64558 typ host generat
ion 0
   a=candidate:2392531003 1 udp 1686052607 183.221.39.14 37393 typ srflx raddr 1
0.108.226.157 rport 64558 generation 0
   a=candidate:211149656 1 tcp 1518280447 10.108.226.157 0 typ host generation 0
   a=ice-ufrag:J8KtuA2R4XMBjEqi
   a=ice-pwd:+QrbfIxUKuVASsuqH3nLvSqW
   a=fingerprint:sha-256 A9:B5:DB:C4:40:2E:8A:C1:85:33:8F:CB:1D:49:CE:1C:17:84:9
C:A5:41:E9:DF:23:2B:84:6B:F0:2D:22:C2:60
   a=setup:active
   a=mid:audio
   a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
   a=rtcp-mux
   a=maxptime:60
   a=ssrc:4249320145 cname:+bv8SIkztDhAAFyt
   a=ssrc:4249320145 msid:cUjDKZuVkeKIQ8S9wg68Ca8YGzKRAKF399Dt 28cefa96-480d-441
f-bb56-4213896ef542
   a=ssrc:4249320145 mslabel:cUjDKZuVkeKIQ8S9wg68Ca8YGzKRAKF399Dt
   a=ssrc:4249320145 label:28cefa96-480d-441f-bb56-4213896ef542
   m=video 37393 RTP/SAVPF 100 116 117
   c=IN IP4 183.221.39.14
   a=rtpmap:100 VP8/90000
   a=rtpmap:116 red/90000
   a=rtpmap:117 ulpfec/90000
   a=rtcp:1 IN IP4 0.0.0.0
   a=candidate:1108746152 1 udp 2122260223 10.108.226.157 64558 typ host generat
ion 0
   a=candidate:2392531003 1 udp 1686052607 183.221.39.14 37393 typ srflx raddr 1
0.108.226.157 rport 64558 generation 0
   a=candidate:211149656 1 tcp 1518280447 10.108.226.157 0 typ host generation 0
   a=ice-ufrag:J8KtuA2R4XMBjEqi
   a=ice-pwd:+QrbfIxUKuVASsuqH3nLvSqW
   a=fingerprint:sha-256 A9:B5:DB:C4:40:2E:8A:C1:85:33:8F:CB:1D:49:CE:1C:17:84:9
C:A5:41:E9:DF:23:2B:84:6B:F0:2D:22:C2:60
   a=setup:active
   a=mid:video
   a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
   a=rtcp-mux
   a=rtcp-fb:100 ccm fir
   a=rtcp-fb:100 nack
   a=rtcp-fb:100 nack pli
   a=rtcp-fb:100 goog-remb
   a=ssrc:2020563265 cname:+bv8SIkztDhAAFyt
   a=ssrc:2020563265 msid:cUjDKZuVkeKIQ8S9wg68Ca8YGzKRAKF399Dt 0f941cdb-811a-42f
f-8c4c-dc88444b2e7b
   a=ssrc:2020563265 mslabel:cUjDKZuVkeKIQ8S9wg68Ca8YGzKRAKF399Dt
   a=ssrc:2020563265 label:0f941cdb-811a-42ff-8c4c-dc88444b2e7b
   ------------------------------------------------------------------------
recv 278 bytes from ws/[10.108.226.157]:5265 at 06:28:05.339441:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/WS 10.108.226.157:5066;branch=z9hG4bKXp48r89B9Q5Sp
   To: <sip:1002 at 10.108.226.157>;tag=hja4qr590s
   From: <sip:1001 at 10.108.226.157>;tag=gQet6FS5ttN3r
   Call-ID: iee4mgmnj48j1gk8llrl
   CSeq: 62064378 INVITE
   Supported: outbound
   Content-Length: 0
   ------------------------------------------------------------------------
recv 293 bytes from ws/[10.108.226.157]:5265 at 06:28:05.378443:
   ------------------------------------------------------------------------
   SIP/2.0 500 Server Internal Error
   Via: SIP/2.0/WS 10.108.226.157:5066;branch=z9hG4bKXp48r89B9Q5Sp
   To: <sip:1002 at 10.108.226.157>;tag=hja4qr590s
   From: <sip:1001 at 10.108.226.157>;tag=gQet6FS5ttN3r
   Call-ID: iee4mgmnj48j1gk8llrl
   CSeq: 62064378 INVITE
   Supported: outbound
   Content-Length: 0
   ------------------------------------------------------------------------
send 315 bytes to ws/[10.108.226.157]:5265 at 06:28:05.378443:
   ------------------------------------------------------------------------
   ACK sip:u8djvd17 at 952nbceag6b1.invalid;transport=ws;ob SIP/2.0
   Via: SIP/2.0/WS 10.108.226.157:5066;branch=z9hG4bKXp48r89B9Q5Sp
   Max-Forwards: 70
   From: <sip:1001 at 10.108.226.157>;tag=gQet6FS5ttN3r
   To: <sip:1002 at 10.108.226.157>;tag=hja4qr590s
   Call-ID: iee4mgmnj48j1gk8llrl
   CSeq: 62064378 ACK
   Content-Length: 0
   ------------------------------------------------------------------------
send 562 bytes to ws/[10.108.226.157]:5265 at 06:28:05.378443:
   ------------------------------------------------------------------------
   BYE sip:u8djvd17 at 952nbceag6b1.invalid;transport=ws;ob SIP/2.0
   Via: SIP/2.0/WS 10.108.226.157:5066;branch=z9hG4bKyZX1t3tF60Ucj
   Max-Forwards: 70
   From: <sip:1001 at 10.108.226.157>;tag=gQet6FS5ttN3r
   To: <sip:1002 at 10.108.226.157>;tag=hja4qr590s
   Call-ID: iee4mgmnj48j1gk8llrl
   CSeq: 62064379 BYE
   Contact: <sip:1001 at 10.108.226.157:5060;transport=udp>
   User-Agent: FreeSWITCH-mod_sofia/1.5.12b~32bit
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, RE
FER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Content-Length: 0
   ------------------------------------------------------------------------




2014-07-08 14:51:17
Tonny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140708/a15b06c0/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list