[Freeswitch-users] WebRTC Originate -> INCOMPATIBLE_DESTINATION

Brian West brian at freeswitch.org
Wed Oct 5 20:40:38 MSD 2016


You don't need to set proxy_media=false or bypass_media=false, Can you try
this on the 1.6.11?

On Wed, Oct 5, 2016 at 11:26 AM, Igor Olhovskiy <igorolhovskiy at gmail.com>
wrote:

> Hi!
> Seems to be I’ve got one of transcoding problem, that can’t solve.
> Read https://freeswitch.org/confluence/display/FREESWITCH/
> Codec+Negotiation back and forth.
>
> I’m starting originate command with this
> {bypass_media=false,media_mix_inbound_outbound_codecs=true,
> inherit_codec=false,proxy_media=false}sofia/gateway/
> CD5E5A11-88C7-4CC8-BA7A-7D2D3A7D9061/+XXXSOMENUMBER
> &bridge({inherit_codec=false,proxy_media=false,media_mix_
> inbound_outbound_codecs=true,bypass_media=false}user/
> 8C9686C8-C09D-D68A-2049-10646BDAF82E)
>
> user/… is a WebRTC client.
>
> Than I’ve got http://pastebin.com/SdnwjVbP in FS log.
>
> Most interesting parts for me
>
> Initial INVITE to browser
>
> 2016-10-05 16:16:07.868910 [DEBUG] mod_sofia.c:90 sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid
> SOFIA INIT
> 2016-10-05 16:16:07.868910 [DEBUG] sofia_glue.c:1247
> sip:tfv8h2s6 at 45.32.239.166:64637;transport=wss Setting proxy route to
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid
> 2016-10-05 16:16:07.868910 [DEBUG] sofia_glue.c:1276
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid sending invite version:
> 1.6.10 -4-726448d 64bit
> Local SDP:
> v=0
> o=FreeSWITCH 1475657971 1475657972 IN IP4 54.72.230.210
> s=FreeSWITCH
> c=IN IP4 54.72.230.210
> t=0 0
> a=msid-semantic: WMS doupuZAgf8Kfhjl2SfCLQGvm0Gge2aY5
> a=end-of-candidates
> m=audio 26196 RTP/SAVPF 0
> a=rtpmap:0 PCMU/8000
> a=fingerprint:sha-256 6B:36:BF:30:8F:1D:21:9B:8F:2D:
> 48:AA:50:E3:70:14:C7:CA:81:55:48:70:33:D6:EA:DA:E6:6F:E6:E4:F8:0A
> a=setup:actpass
> a=rtcp-mux
> a=rtcp:26196 IN IP4 54.72.230.210
> a=ssrc:2281406215 cname:ojlJ8LPdKpiRztKh
> a=ssrc:2281406215 msid:doupuZAgf8Kfhjl2SfCLQGvm0Gge2aY5 a0
> a=ssrc:2281406215 mslabel:doupuZAgf8Kfhjl2SfCLQGvm0Gge2aY5
> a=ssrc:2281406215 label:doupuZAgf8Kfhjl2SfCLQGvm0Gge2aY5a0
> a=ice-ufrag:zcTfIfryLyDDyrzN
> a=ice-pwd:ALmzm1CXhLEG4eOugxAPCSee
> a=candidate:6721537086 1 udp 659136 54.72.230.210 26196 typ host
> generation 0
> a=candidate:6721537086 2 udp 659136 54.72.230.210 26196 typ host
> generation 0
> a=rtpmap:13 CN/8000
> a=ptime:20
> a=sendrecv
>
> 2016-10-05 16:16:07.868910 [DEBUG] switch_core_state_machine.c:40
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid Standard INIT
> 2016-10-05 16:16:07.868910 [DEBUG] switch_core_state_machine.c:48
> (sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid) State Change CS_INIT ->
> CS_ROUTING
>
> When I’m answering on browser
>
> 2016-10-05 16:16:24.668906 [DEBUG] sofia.c:6962 Channel
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid entering state
> [completing][200]
> 2016-10-05 16:16:24.668906 [DEBUG] sofia.c:6972 Remote SDP:
> v=0
> o=mozilla...THIS_IS_SDPARTA-49.0.1 5004985919660070640 0 IN IP4 0.0.0.0
> s=-
> t=0 0
> a=sendrecv
> a=fingerprint:sha-256 51:29:B3:7B:EC:63:3D:6D:24:FF:
> 95:78:AD:FB:7D:57:24:C9:C7:FD:53:C0:5E:1B:74:82:F5:31:3E:A5:25:68
> a=ice-options:trickle
> a=msid-semantic:WMS *
> m=audio 61220 RTP/SAVPF 0
> c=IN IP4 192.168.0.221
> a=rtpmap:0 PCMU/8000
> a=candidate:0 1 UDP 2122252543 192.168.0.221 61220 typ host
> a=candidate:1 1 UDP 2122187007 10.55.13.6 63085 typ host
> a=end-of-candidates
> a=ice-pwd:294d65c0e866b77f8331630b07670b40
> a=ice-ufrag:9d813241
> a=msid:{7da22eec-b29f-724a-b23e-c925e3fb89d6} {d76e3a6f-46d8-a248-a4da-
> 2b1e9094660d}
> a=rtcp-mux
> a=setup:active
> a=ssrc:2323648583 cname:{139a5d9a-b263-954b-9215-77ce2d0565b7}
>
> 2016-10-05 16:16:24.668906 [DEBUG] sofia.c:6962 Channel
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid entering state [ready][200]
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:4276 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:4331 Audio Codec
> Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3017 Set Codec
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid PCMU/8000 20 ms 160 samples
> 64000 bits 1 channels
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_codec.c:111
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid Original read codec set to
> PCMU:0
> 2016-10-05 16:16:24.668906 [WARNING] switch_core_media.c:3391 NO candidate
> ACL defined, Defaulting to wan.auto
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3421 Save audio
> Candidate cid: 1 proto: UDP type: host addr: 192.168.0.221:61220
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3421 Save audio
> Candidate cid: 1 proto: UDP type: host addr: 10.55.13.6:63085
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3463 Searching for
> rtp candidate.
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3463 Searching for
> rtcp candidate.
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:3507
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid no suitable candidates found.
> 2016-10-05 16:16:24.668906 [DEBUG] switch_core_media.c:4603 No 2833 in
> SDP.  Disable 2833 dtmf and switch to INFO
> 2016-10-05 16:16:24.668906 [NOTICE] sofia.c:8015 Hangup
> sofia/internal/tfv8h2s6 at drh7gu4v9q4u.invalid [CS_CONSUME_MEDIA]
> [INCOMPATIBLE_DESTINATION]
>
> Main problem - I set all recommended settings in article, but may be
> missed something?
>
> --
> Best regards,
> Igor
>
> _________________________________________________________________________
> 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
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
https://www.gofundme.com/freeswitch_ubuntu

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161005/e1e424f1/attachment-0001.html 


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