Hi David, I've seen this thank you.

Regards,
Marc


вс, 14 окт. 2018 г. в 20:50, David Villasmil <david.villasmil.work@gmail.com>:

http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121866.html


On Sat, Oct 13, 2018, 18:19 Brian West <brian@freeswitch.com> wrote:
Could you elaborate on why you're using Proxy Media for?
/b

On Fri, Oct 12, 2018 at 5:37 PM Marc Quore <marquore@gmail.com> wrote:
Hi, All

I've got FreeSwitch 1.8.2 running in media proxy mode:

<param name="inbound-proxy-media" value="true"/>
<param name="inbound-late-negotiation" value="true"/>

Dialplan is configured to bridge incoming calls to remote gateway and most of calls completing successfully, however some of them fail with INCOMPATIBLE_DESTINATION cause. For failed calls everything goes normally until bridged connection gets early media from callee:

[NOTICE] sofia.c:7304 Pre-Answer sofia/external/2222@2.2.2.2!
[INFO] switch_ivr_originate.c:3747 Sending early media
[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/1111@1.1.1.1 PCMU/0 0 ms 960 samples 384000 bits 1 channels
[DEBUG] switch_core_codec.c:111 sofia/internal/1111@1.1.1.1 Original read codec set to PCMU:0
[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/1111@1.1.1.1] 1.1.1.1:18792->1.1.1.1:18792 codec: 0 ms: 20
[ERR] switch_core_media.c:9510 AUDIO RTP REPORTS ERROR: [Missing local host]
[NOTICE] switch_core_media.c:9511 Hangup sofia/internal/1111@1.1.1.1 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]

Here's a dump for this call:

image.png

Healthy call on the same machine:

[DEBUG] switch_core_media.c:3781 Set Codec sofia/vpn/2222@2.2.2.2 PROXY/0 0 ms 160 samples 0 bits 1 channels
[DEBUG] switch_core_codec.c:111 sofia/internal/2222@2.2.2.2 Original read codec set to PROXY:0
[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/2222@2.2.2.2] 2.2.2.2:60818->2.2.2.2:60818 codec: 0 ms: 20

[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/1111@1.1.1.1 PROXY/0 0 ms 160 samples 0 bits 1 channels
[DEBUG] switch_core_codec.c:111 sofia/external/1111@1.1.1.1 Original read codec set to PROXY:0
[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/external/1111@1.1.1.1] 1.1.1.1:31412->1.1.1.1:31412 codec: 0 ms: 20


So it looks like proxified media connection cannot be established for some calls. It shouldn't be a codec problem as call parties are configured with common codecs, FS is bond to local interface which is running with no errors. But I have no idea what "local host is missing" in my case so I'll be appreciated for any hint.

FreeSWITCH Version 1.8.2+git~20180926T175525Z~a98a958ac3~64bit (git a98a958 2018-09-26 17:55:25Z 64bit)
CentOS Linux release 7.5.1804 (Core)

Best,
Marc
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com


--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch

_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com