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
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 INIT2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_INIT -> CS_ROUTING2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State INIT going to sleep2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_ROUTING2015-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 ROUTING2015-07-07 07:35:30.354313 [DEBUG] mod_sofia.c:141 sofia/internal/rlakoni6@avkit3h1g7jo.invalid SOFIA ROUTING2015-07-07 07:35:30.354313 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State Change CS_ROUTING -> CS_CONSUME_MEDIA2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING going to sleep2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_CONSUME_MEDIA2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA going to sleep2015-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 -> RINGING2015-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=0o=- 4629109737787807592 2 IN IP4 127.0.0.1s=-t=0 0a=msid-semantic: WMS nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2m=audio 61483 RTP/SAVPF 0 8 13c=IN IP4 192.168.88.51a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:13 CN/8000a=rtcp:9 IN IP4 0.0.0.0a=candidate:708354780 1 udp 2122260223 192.168.88.51 61483 typ host generation 0a=candidate:1690000940 1 tcp 1518280447 192.168.88.51 0 typ host tcptype active generation 0a=ice-ufrag:Bb2sJM3lTievaC/+a=ice-pwd:0wnAgFcoY7QnqfqNg11YYkkAa=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:C0a=setup:activea=mid:audioa=rtcp-muxa=ssrc:2731247554 cname:d/DW/QebHgyWUgUza=ssrc:2731247554 msid:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 c3732e3c-701f-496c-a0df-92bac3364375a=ssrc:2731247554 mslabel:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2a=ssrc:2731247554 label:c3732e3c-701f-496c-a0df-92bac33643752015-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 match2015-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 match2015-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 channels2015-07-07 07:35:32.434365 [DEBUG] switch_core_codec.c:111 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Original read codec set to PCMU:02015-07-07 07:35:32.434365 [WARNING] switch_core_media.c:3187 NO candidate ACL defined, Defaulting to wan.auto2015-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:614832015-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 INFO2015-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
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