[Freeswitch-users] Auto HangUp Call And Cant Communicate
Michael Jerris
mike at jerris.com
Wed Nov 22 14:16:03 UTC 2017
You are having an issue with NAT
On Tue, Nov 21, 2017 at 11:40 PM Supun Madushanka <supun.12 at cse.mrt.ac.lk>
wrote:
>
> Hi Dev
>
> I setup freeswitch on debian jessi 8.9. when i call 1003 to 1002 call is
> come to 1002 site.only i can answer call cant communicate no audio or
> video. then call is auto close and also i setup same configuration on aws
> instance it work
>
>
>
> send 2481 bytes to wss/[123.231.108.241]:36517 at 23:25:41.627602:
> ------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/WSS
> 0ndje79ga0gs.invalid;branch=z9hG4bK7635382;received=123.231.108.241;rport=36517
> From: "supun" <sip:1003 at webrtc01.resolve1.com>;tag=nf7m10de5c
> To: <sip:1002 at webrtc01.resolve1.com>;tag=UavvraaXHZgtc
> Call-ID: glg9r3kifqcuo04lqkpq
> CSeq: 8834 INVITE
> Contact: <sip:1002 at 10.102.0.61:5060;transport=udp>
> User-Agent: FreeSWITCH-mod_sofia/1.9.0-1785-9d96741~64bit
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Allow-Events: talk, hold, conference, presence, as-feature-event,
> dialog, line-seize, call-info, sla, include-session-description,
> presence.winfo, message-summary, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 1580
> Remote-Party-ID: "Outbound Call" <sip:3kmb7aq6 at webrtc01.resolve1.com
> >;party=calling;privacy=off;screen=no
>
> v=0
> o=FreeSWITCH 1511298812 1511298813 IN IP4 10.102.0.61
> s=FreeSWITCH
> c=IN IP4 10.102.0.61
> t=0 0
> a=msid-semantic: WMS HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwn
> m=audio 25924 UDP/TLS/RTP/SAVPF 111 110
> a=rtpmap:111 opus/48000/2
> a=fmtp:111 useinbandfec=1; minptime=10
> a=rtpmap:110 telephone-event/48000
> a=ptime:20
> a=fingerprint:sha-256
> 53:AB:48:3C:A3:80:ED:83:3D:FD:4F:E8:4F:2A:A8:93:01:04:3B:95:FF:92:61:12:06:94:31:04:E2:32:6C:06
> a=setup:active
> a=rtcp-mux
> a=rtcp:25924 IN IP4 10.102.0.61
> a=ice-ufrag:ZelATqOYBp3hGpuE
> a=ice-pwd:LvZUwkBjTL7kdki3puu9K8Xb
> a=candidate:6989575170 1 udp 659136 10.102.0.61 25924 typ host
> generation 0
> a=end-of-candidates
> a=ssrc:3457757646 cname:8wauibuQXJkXACn8
> a=ssrc:3457757646 msid:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwn a0
> a=ssrc:3457757646 mslabel:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwn
> a=ssrc:3457757646 label:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwna0
> m=video 18050 UDP/TLS/RTP/SAVPF 96
> b=AS:1024
> a=rtpmap:96 VP8/90000
> a=fingerprint:sha-256
> 53:AB:48:3C:A3:80:ED:83:3D:FD:4F:E8:4F:2A:A8:93:01:04:3B:95:FF:92:61:12:06:94:31:04:E2:32:6C:06
> a=setup:active
> a=rtcp-mux
> a=rtcp:18050 IN IP4 10.102.0.61
> a=rtcp-fb:96 ccm fir
> a=rtcp-fb:96 nack
> a=rtcp-fb:96 nack pli
> a=ssrc:2702116259 cname:8wauibuQXJkXACn8
> a=ssrc:2702116259 msid:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwn v0
> a=ssrc:2702116259 mslabel:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwn
> a=ssrc:2702116259 label:HQ9WwWaaHWpDa0szHx1nKOenfkLeQrwnv0
> a=ice-ufrag:s49y3ZcA7u2LiWuo
> a=ice-pwd:cBfU6YtM6NJ8C5YVZYjTNljL
> a=candidate:2020077584 1 udp 659136 10.102.0.61 18050 typ host
> generation 0
> a=end-of-candidates
> ------------------------------------------------------------------------
> 2017-11-21 23:25:41.637859 [DEBUG] sofia.c:7283 Channel sofia/internal/
> 1003 at webrtc01.resolve1.com entering state [completed][200]
> 2017-11-21 23:25:41.727928 [NOTICE] switch_vpx.c:410 VPX reset encoder
> picture from 320x240 to 352x288 1024 BW
> recv 430 bytes from wss/[123.231.108.241]:36517 at 23:25:41.950697:
> ------------------------------------------------------------------------
> ACK sip:1002 at 10.102.0.61:5060;transport=udp SIP/2.0
> Via: SIP/2.0/WSS 0ndje79ga0gs.invalid;branch=z9hG4bK3130924
> Max-Forwards: 69
> To: <sip:1002 at webrtc01.resolve1.com>;tag=UavvraaXHZgtc
> From: "supun" <sip:1003 at webrtc01.resolve1.com>;tag=nf7m10de5c
> Call-ID: glg9r3kifqcuo04lqkpq
> CSeq: 8834 ACK
> Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
> Supported: outbound
> User-Agent: JsSIP 3.0.23
> Content-Length: 0
>
> ------------------------------------------------------------------------
> 2017-11-21 23:25:41.977876 [DEBUG] sofia.c:7283 Channel sofia/internal/
> 1003 at webrtc01.resolve1.com entering state [ready][200]
> recv 474 bytes from wss/[123.231.108.241]:36517 at 23:25:52.236156:
> ------------------------------------------------------------------------
> BYE sip:1002 at 10.102.0.61:5060;transport=udp SIP/2.0
> Via: SIP/2.0/WSS 0ndje79ga0gs.invalid;branch=z9hG4bK7385348
> Max-Forwards: 69
> To: <sip:1002 at webrtc01.resolve1.com>;tag=UavvraaXHZgtc
> From: "supun" <sip:1003 at webrtc01.resolve1.com>;tag=nf7m10de5c
> Call-ID: glg9r3kifqcuo04lqkpq
> CSeq: 8835 BYE
> Reason: SIP ;cause=408; text="RTP Timeout"
> Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO
> Supported: outbound
> User-Agent: JsSIP 3.0.23
> Content-Length: 0
>
> ------------------------------------------------------------------------
> 2017-11-21 23:25:52.237861 [NOTICE] sofia.c:1079 Hangup sofia/internal/
> 1003 at webrtc01.resolve1.com [CS_EXECUTE] [NORMAL_CLEARING]
> send 504 bytes to wss/[123.231.108.241]:36517 at 23:25:52.247549:
> ------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/WSS
> 0ndje79ga0gs.invalid;branch=z9hG4bK7385348;received=123.231.108.241;rport=36517
> From: "supun" <sip:1003 at webrtc01.resolve1.com>;tag=nf7m10de5c
> To: <sip:1002 at webrtc01.resolve1.com>;tag=UavvraaXHZgtc
> Call-ID: glg9r3kifqcuo04lqkpq
> CSeq: 8835 BYE
> User-Agent: FreeSWITCH-mod_sofia/1.9.0-1785-9d96741~64bit
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Content-Length: 0
>
> ------------------------------------------------------------------------
> 2017-11-21 23:25:52.237861 [NOTICE] switch_ivr_originate.c:3664 Channel
> [sofia/internal/1003 at webrtc01.resolve1.com] has been answered
> 2017-11-21 23:25:52.247871 [DEBUG] switch_core_media.c:7121 sofia/internal/
> 1003 at webrtc01.resolve1.com Video thread ended
> 2017-11-21 23:25:52.247871 [DEBUG] switch_channel.c:3781 (sofia/internal/
> 1003 at webrtc01.resolve1.com) Callstate Change EARLY -> ACTIVE
> 2017-11-21 23:25:52.247871 [DEBUG] switch_ivr_originate.c:3664
> sofia/internal/1003 at webrtc01.resolve1.com skip receive message
> [PROGRESS_EVENT] (channel is hungup already)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_ivr_originate.c:3865 Originate
> Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
> 2017-11-21 23:25:52.287885 [NOTICE] switch_ivr_originate.c:3955 Hangup
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid [CS_CONSUME_MEDIA]
> [USER_NOT_REGISTERED]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Running State Change
> CS_HANGUP (Cur 2 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_media.c:7121
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid Video thread ended
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:850
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Callstate Change ACTIVE ->
> HANGUP
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State HANGUP
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid skip receive message
> [DISPLAY] (channel is hungup already)
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:443
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid Overriding SIP cause 480
> with 200 from the other leg
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:449 Channel
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid hanging up, cause:
> USER_NOT_REGISTERED
> 2017-11-21 23:25:52.287885 [NOTICE] switch_ivr_originate.c:2868 Cannot
> create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_ivr_originate.c:3865 Originate
> Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:502 Sending BYE to
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid Standard HANGUP, cause:
> USER_NOT_REGISTERED
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State HANGUP going to sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:619
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State Change CS_HANGUP ->
> CS_REPORTING
> send 637 bytes to wss/[123.231.108.241]:36518 at 23:25:52.291521:
> ------------------------------------------------------------------------
> BYE sip:3kmb7aq6 at jcck4jf68pe4.invalid;transport=ws SIP/2.0
> Via: SIP/2.0/WSS 10.102.0.61:7443;rport;branch=z9hG4bK59p90QyFv9ccr
> Max-Forwards: 70
> From: "supun" <sip:1003 at 10.102.0.61>;tag=vKNNt5t0e86cr
> To: <sip:3kmb7aq6 at jcck4jf68pe4.invalid;transport=ws;received=
> 123.231.108.241:36518>;tag=nla48gvugr
> Call-ID: 0764f931-49e0-1236-5d81-005056800262
> CSeq: 115326305 BYE
> User-Agent: FreeSWITCH-mod_sofia/1.9.0-1785-9d96741~64bit
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Reason: SIP;cause=408;text="RTP Timeout"
> Content-Length: 0
> 2017-11-21 23:25:52.287885 [INFO] mod_dptools.c:3508 Originate Failed.
> Cause: USER_NOT_REGISTERED
>
> ------------------------------------------------------------------------
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Running State Change
> CS_REPORTING (Cur 2 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_session.c:2885
> sofia/internal/1003 at webrtc01.resolve1.com skip receive message
> [PHONE_EVENT] (channel is hungup already)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:650
> (sofia/internal/1003 at webrtc01.resolve1.com) State EXECUTE going to sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/1003 at webrtc01.resolve1.com) Running State Change
> CS_HANGUP (Cur 2 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State REPORTING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:174
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid Standard REPORTING, cause:
> USER_NOT_REGISTERED
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State REPORTING going to
> sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:850
> (sofia/internal/1003 at webrtc01.resolve1.com) Callstate Change ACTIVE ->
> HANGUP
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/1003 at webrtc01.resolve1.com) State HANGUP
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> sofia/internal/1003 at webrtc01.resolve1.com skip receive message [DISPLAY]
> (channel is hungup already)
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:449 Channel sofia/internal/
> 1003 at webrtc01.resolve1.com hanging up, cause: NORMAL_CLEARING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:610
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State Change CS_REPORTING
> -> CS_DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_session.c:1713 Session 32
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Locked, Waiting on
> external entities
> 2017-11-21 23:25:52.287885 [NOTICE] switch_core_session.c:1731 Session 32
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Ended
> 2017-11-21 23:25:52.287885 [NOTICE] switch_core_session.c:1735 Close
> Channel sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid [CS_DESTROY]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:741
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) Running State Change
> CS_DESTROY (Cur 1 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:354
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid SOFIA DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:725 Opus decoder stats:
> Frames[0] PLC[0] FEC[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:740 Opus encoder stats:
> Frames[0] Bytes encoded[0] Encoded length ms[0] Average encoded bitrate
> bps[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:725 Opus decoder stats:
> Frames[0] PLC[0] FEC[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:740 Opus encoder stats:
> Frames[0] Bytes encoded[0] Encoded length ms[0] Average encoded bitrate
> bps[0]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:60
> sofia/internal/1003 at webrtc01.resolve1.com Standard HANGUP, cause:
> NORMAL_CLEARING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:852
> (sofia/internal/1003 at webrtc01.resolve1.com) State HANGUP going to sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:619
> (sofia/internal/1003 at webrtc01.resolve1.com) State Change CS_HANGUP ->
> CS_REPORTING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:584
> (sofia/internal/1003 at webrtc01.resolve1.com) Running State Change
> CS_REPORTING (Cur 1 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/1003 at webrtc01.resolve1.com) State REPORTING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:174
> sofia/internal/1003 at webrtc01.resolve1.com Standard REPORTING, cause:
> NORMAL_CLEARING
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:938
> (sofia/internal/1003 at webrtc01.resolve1.com) State REPORTING going to sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:610
> (sofia/internal/1003 at webrtc01.resolve1.com) State Change CS_REPORTING ->
> CS_DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_session.c:1713 Session 31
> (sofia/internal/1003 at webrtc01.resolve1.com) Locked, Waiting on external
> entities
> 2017-11-21 23:25:52.287885 [NOTICE] switch_core_session.c:1731 Session 31
> (sofia/internal/1003 at webrtc01.resolve1.com) Ended
> 2017-11-21 23:25:52.287885 [NOTICE] switch_core_session.c:1735 Close
> Channel sofia/internal/1003 at webrtc01.resolve1.com [CS_DESTROY]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:181
> sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid Standard DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/3kmb7aq6 at jcck4jf68pe4.invalid) State DESTROY going to
> sleep
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:741
> (sofia/internal/1003 at webrtc01.resolve1.com) Running State Change
> CS_DESTROY (Cur 0 Tot 32)
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/1003 at webrtc01.resolve1.com) State DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] mod_sofia.c:354 sofia/internal/
> 1003 at webrtc01.resolve1.com SOFIA DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:725 Opus decoder stats:
> Frames[0] PLC[0] FEC[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:740 Opus encoder stats:
> Frames[0] Bytes encoded[0] Encoded length ms[0] Average encoded bitrate
> bps[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:725 Opus decoder stats:
> Frames[0] PLC[0] FEC[0]
> 2017-11-21 23:25:52.287885 [DEBUG] mod_opus.c:740 Opus encoder stats:
> Frames[245] Bytes encoded[19781] Encoded length ms[4900] Average encoded
> bitrate bps[39562]
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:181
> sofia/internal/1003 at webrtc01.resolve1.com Standard DESTROY
> 2017-11-21 23:25:52.287885 [DEBUG] switch_core_state_machine.c:751
> (sofia/internal/1003 at webrtc01.resolve1.com) State DESTROY going to sleep
> recv 351 bytes from wss/[123.231.108.241]:36518 at 23:25:52.576023:
> ------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/WSS 10.102.0.61:7443;rport;branch=z9hG4bK59p90QyFv9ccr
> To: <sip:3kmb7aq6 at jcck4jf68pe4.invalid;transport=ws;received=
> 123.231.108.241:36518>;tag=nla48gvugr
> From: "supun" <sip:1003 at 10.102.0.61>;tag=vKNNt5t0e86cr
> Call-ID: 0764f931-49e0-1236-5d81-005056800262
> CSeq: 115326305 BYE
> Supported: outbound
> Content-Length: 0
>
>
>
>
> --
> Best Regards,
> *Supun Madushanka*
> [Undergraduate]
> University of Moratuwa. http://www.mrt.ac.lk
> Department of Computer Science and Engineering. http://cse.mrt.ac.lk
> Mobile: +94 71 1135012 <%2B94%280%29%20711135012>
> E-mail: supun.12 at cse.mrt.ac.lk
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171122/828ceb12/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list