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<span></span><div><div><br>On Tuesday, July 7, 2015, Igor Olhovskiy <<a href="mailto:igorolhovskiy@gmail.com">igorolhovskiy@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>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)</div><div>When making an ORIGINATE request (one of legs is Web-softphone) got this:</div><div><br></div><div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:40 sofia/internal/rlakoni6@avkit3h1g7jo.invalid Standard INIT</div><div>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</div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:516 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State INIT going to sleep</div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:473 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Running State Change CS_ROUTING</div><div>2015-07-07 07:35:30.354313 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [calling][0]</div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING</div><div>2015-07-07 07:35:30.354313 [DEBUG] mod_sofia.c:141 sofia/internal/rlakoni6@avkit3h1g7jo.invalid SOFIA ROUTING</div><div>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</div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:532 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State ROUTING going to sleep</div><div>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</div><div>2015-07-07 07:35:30.354313 [DEBUG] switch_core_state_machine.c:551 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) State CONSUME_MEDIA</div><div>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</div><div>2015-07-07 07:35:30.594339 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [proceeding][180]</div><div>2015-07-07 07:35:30.594339 [NOTICE] sofia.c:6810 Ring-Ready sofia/internal/rlakoni6@avkit3h1g7jo.invalid!</div><div>2015-07-07 07:35:30.594339 [DEBUG] switch_channel.c:3332 (sofia/internal/rlakoni6@avkit3h1g7jo.invalid) Callstate Change DOWN -> RINGING</div><div>2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [completing][200]</div><div>2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6718 Remote SDP:</div><div>v=0</div><div>o=- 4629109737787807592 2 IN IP4 127.0.0.1</div><div>s=-</div><div>t=0 0</div><div>a=msid-semantic: WMS nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2</div><div>m=audio 61483 RTP/SAVPF 0 8 13</div><div>c=IN IP4 192.168.88.51</div><div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:13 CN/8000</div><div>a=rtcp:9 IN IP4 0.0.0.0</div><div>a=candidate:708354780 1 udp 2122260223 192.168.88.51 61483 typ host generation 0</div><div>a=candidate:1690000940 1 tcp 1518280447 192.168.88.51 0 typ host tcptype active generation 0</div><div>a=ice-ufrag:Bb2sJM3lTievaC/+</div><div>a=ice-pwd:0wnAgFcoY7QnqfqNg11YYkkA</div><div>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</div><div>a=setup:active</div><div>a=mid:audio</div><div>a=rtcp-mux</div><div>a=ssrc:2731247554 cname:d/DW/QebHgyWUgUz</div><div>a=ssrc:2731247554 msid:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2 c3732e3c-701f-496c-a0df-92bac3364375</div><div>a=ssrc:2731247554 mslabel:nIK9U7F3jq79chtGTGAtUOON7Lbekhy8msI2</div><div>a=ssrc:2731247554 label:c3732e3c-701f-496c-a0df-92bac3364375</div><div><br></div><div>2015-07-07 07:35:32.434365 [DEBUG] sofia.c:6708 Channel sofia/internal/rlakoni6@avkit3h1g7jo.invalid entering state [ready][200]</div><div>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]</div><div><b>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</b></div><div>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]</div><div>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]</div><div>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]</div><div>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]</div><div><b>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</b></div><div>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]</div><div>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</div><div>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</div><div>2015-07-07 07:35:32.434365 [WARNING] switch_core_media.c:3187 NO candidate ACL defined, Defaulting to wan.auto</div><div>2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3216 Save audio Candidate cid: 1 proto: udp type: host addr: <a href="http://192.168.88.51:61483" target="_blank">192.168.88.51:61483</a></div><div><b>2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtp candidate.</b></div><div><b>2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3256 Searching for rtcp candidate.</b></div><div><b>2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:3300 sofia/internal/rlakoni6@avkit3h1g7jo.invalid no suitable candidates found.</b></div><div>2015-07-07 07:35:32.434365 [DEBUG] switch_core_media.c:4345 No 2833 in SDP. Disable 2833 dtmf and switch to INFO</div><div>2015-07-07 07:35:32.434365 [NOTICE] sofia.c:7591 Hangup sofia/internal/rlakoni6@avkit3h1g7jo.invalid [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]</div><div>2015-07-07 07:35:32.434365 [DEBUG] sofia.c:1355 Channel is already hungup.</div><div><br></div><div>PCMA and PCMU are in there. But why incompatible dest? I've got ring, but after accept mic sharing, got hangup.</div><div><br></div><div>On FS 1.5.15 same config, all is ok.</div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>