FS 1.7 / [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]
Hi! Trying to up FS 1.7 (master release from 07.07.2015) with web-based SIP (jsSIP 0.6) (Yes, I know about mod_verto) When making an ORIGINATE request (one of legs is Web-softphone) got this: 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:40 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Standard INIT 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_INIT -> CS_ROUTING 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State INIT going to sleep 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_ROUTING 2015-07-07 07:35:30.354313 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [calling][0] 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING 2015-07-07 07:35:30.354313 [DEBUG] mod_sofia.c:141 sofia/internal/rlakoni6@avkit3h1g7jo.invalid SOFIA ROUTING 2015-07-07 07:35:30.354313 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING going to sleep 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA going to sleep 2015-07-07 07:35:30.594339 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [proceeding][180] 2015-07-07 07:35:30.594339 [NOTICE] sofia.c:6810 Ring-Ready sofia/internal/rlakoni6@avkit3h1g7jo.invalid! 2015-07-07 07:35:30.594339 [DEBUG] switch_channel.c:3332 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Callstate Change DOWN -> RINGING 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [completing][200] 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6718 Remote SDP: v=0 o=- 4629109737787807592 2 IN IP4 127.0.0.1 s=- t=0 0 a=msid-semantic: WMS nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 m=audio 61483 RTP/SAVPF 0 8 13 c=IN IP4 192.168.88.51 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:13 CN/8000 a=rtcp:9 IN IP4 0.0.0.0 a=candidate:708354780 1 udp 2122260223 192.168.88.51 61483 typ host generation 0 a=candidate:1690000940 1 tcp 1518280447 192.168.88.51 0 typ host tcptype active generation 0 a=ice-ufrag:Bb2sJM3lTievaC/+ a=ice-pwd:0wnAgFcoY7QnqfqNg11YYkkA a=fingerprint:sha-256 90:46:2D:15:D0:D6:24:34:F1:8E:8C:8C:20:F9:49:3D:F6:9B:C1:AD:92:16:5F:A9:46:18:30:9C:59:99:41:C0 a=setup:active a=mid:audio a=rtcp-mux a=ssrc:2731247554 cname:d/DW/QebHgyWUgUz a=ssrc:2731247554 msid:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 c3732e3c-701f-496c-a0df-92bac3364375 a=ssrc:2731247554 mslabel:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 a=ssrc:2731247554 label:c3732e3c-701f-496c-a0df-92bac3364375 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [ready][200] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4120 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4120 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:2851 Set Codec sofia/internal/rlakoni6@avkit3h1g7jo.invalid PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2015-07-07 07:35:32.434365 [DEBUG] switch_core_codec.c:111 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Original read codec set to PCMU:0 2015-07-07 07:35:32.434365 [WARNING] switch_core_media.c:3187 NO candidate ACL defined, Defaulting to wan.auto 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3216 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.88.51:61483 *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtp candidate.* *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtcp candidate.* *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3300 sofia/internal/rlakoni6@avkit3h1g7jo.invalid no suitable candidates found.* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4345 No 2833 in SDP. Disable 2833 dtmf and switch to INFO 2015-07-07 07:35:32.434365 [NOTICE] sofia.c:7591 Hangup sofia/internal/rlakoni6@avkit3h1g7jo.invalid [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:1355 Channel is already hungup. PCMA and PCMU are in there. But why incompatible dest? I've got ring, but after accept mic sharing, got hangup. On FS 1.5.15 same config, all is ok. -- Best regards, Igor
jssip is known broken in multiple ways, you can review the mailing list archives for details. It simply does not work correctly for anyone using it On Tuesday, July 7, 2015, Igor Olhovskiy <igorolhovskiy@gmail.com> wrote:
Hi!
Trying to up FS 1.7 (master release from 07.07.2015) with web-based SIP (jsSIP 0.6) (Yes, I know about mod_verto) When making an ORIGINATE request (one of legs is Web-softphone) got this:
2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:40 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Standard INIT 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_INIT -> CS_ROUTING 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State INIT going to sleep 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_ROUTING 2015-07-07 07:35:30.354313 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [calling][0] 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING 2015-07-07 07:35:30.354313 [DEBUG] mod_sofia.c:141 sofia/internal/rlakoni6@avkit3h1g7jo.invalid SOFIA ROUTING 2015-07-07 07:35:30.354313 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING going to sleep 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA 2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA going to sleep 2015-07-07 07:35:30.594339 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [proceeding][180] 2015-07-07 07:35:30.594339 [NOTICE] sofia.c:6810 Ring-Ready sofia/internal/rlakoni6@avkit3h1g7jo.invalid! 2015-07-07 07:35:30.594339 [DEBUG] switch_channel.c:3332 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Callstate Change DOWN -> RINGING 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [completing][200] 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6718 Remote SDP: v=0 o=- 4629109737787807592 2 IN IP4 127.0.0.1 s=- t=0 0 a=msid-semantic: WMS nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 m=audio 61483 RTP/SAVPF 0 8 13 c=IN IP4 192.168.88.51 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:13 CN/8000 a=rtcp:9 IN IP4 0.0.0.0 a=candidate:708354780 1 udp 2122260223 192.168.88.51 61483 typ host generation 0 a=candidate:1690000940 1 tcp 1518280447 192.168.88.51 0 typ host tcptype active generation 0 a=ice-ufrag:Bb2sJM3lTievaC/+ a=ice-pwd:0wnAgFcoY7QnqfqNg11YYkkA a=fingerprint:sha-256 90:46:2D:15:D0:D6:24:34:F1:8E:8C:8C:20:F9:49:3D:F6:9B:C1:AD:92:16:5F:A9:46:18:30:9C:59:99:41:C0 a=setup:active a=mid:audio a=rtcp-mux a=ssrc:2731247554 cname:d/DW/QebHgyWUgUz a=ssrc:2731247554 msid:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 c3732e3c-701f-496c-a0df-92bac3364375 a=ssrc:2731247554 mslabel:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 a=ssrc:2731247554 label:c3732e3c-701f-496c-a0df-92bac3364375
2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [ready][200] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4120 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4120 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4065 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:2851 Set Codec sofia/internal/rlakoni6@avkit3h1g7jo.invalid PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2015-07-07 07:35:32.434365 [DEBUG] switch_core_codec.c:111 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Original read codec set to PCMU:0 2015-07-07 07:35:32.434365 [WARNING] switch_core_media.c:3187 NO candidate ACL defined, Defaulting to wan.auto 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3216 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.88.51:61483 *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtp candidate.* *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtcp candidate.* *2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3300 sofia/internal/rlakoni6@avkit3h1g7jo.invalid no suitable candidates found.* 2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4345 No 2833 in SDP. Disable 2833 dtmf and switch to INFO 2015-07-07 07:35:32.434365 [NOTICE] sofia.c:7591 Hangup sofia/internal/rlakoni6@avkit3h1g7jo.invalid [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 2015-07-07 07:35:32.434365 [DEBUG] sofia.c:1355 Channel is already hungup.
PCMA and PCMU are in there. But why incompatible dest? I've got ring, but after accept mic sharing, got hangup.
On FS 1.5.15 same config, all is ok. -- Best regards, Igor
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok.... Will try to tell client to move on verto.... Never had much problems with it. -- Best regards, Igor
As Michael noted... it seems to be broken in several levels. You have a few choices there if you still want to work with it. .- By pass media entirely, deliver directly to clients, you'll lose all PBX functionality thou, as explained in, try it in an extra channel. Calls works. https://freeswitch.org/confluence/display/FREESWITCH/Bypass+Media+Overview .- Use SIP.JS seems a better, well maintained option. Its also a fork from jsSip, has a migration guide that eases switching 2015-07-07 11:52 GMT-04:30 Igor Olhovskiy <igorolhovskiy@gmail.com>:
Ok.... Will try to tell client to move on verto.... Never had much problems with it.
-- Best regards, Igor
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Víctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys
participants (3)
-
Igor Olhovskiy
-
Michael Jerris
-
Victor Medina