<div dir="ltr">Could you elaborate on why you're using Proxy Media for?<div>/b</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 12, 2018 at 5:37 PM Marc Quore <<a href="mailto:marquore@gmail.com">marquore@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Hi, All</div><div><br></div><div>I've got FreeSwitch 1.8.2 running in media proxy mode:</div><div><br></div><div></div><div><div><span style="font-family:monospace,monospace"><param name="inbound-proxy-media" value="true"/><br><param name="inbound-late-negotiation" value="true"/></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace"></span></div>

</div><div>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:<br></div><div><br></div><div><span style="font-family:monospace,monospace">[NOTICE] sofia.c:7304 Pre-Answer sofia/external/<a href="mailto:2222@2.2.2.2" target="_blank">2222@2.2.2.2</a>!<br>[INFO] switch_ivr_originate.c:3747 Sending early media<br>[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a> <span style="background-color:rgb(244,204,204)">PCMU/0 0 ms 960 samples 384000 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/internal/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a> Original read codec set to PCMU:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a>] 1.1.1.1:18792-><a href="http://1.1.1.1:18792" target="_blank">1.1.1.1:18792</a> codec: 0 ms: 20<br><span style="color:rgb(204,0,0)"><span style="background-color:rgb(255,255,255)">[ERR] switch_core_media.c:9510 AUDIO RTP REPORTS ERROR: <b>[Missing local host]</b></span></span><br>[NOTICE] switch_core_media.c:9511 Hangup sofia/internal/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]</span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">Here's a dump for this call:<br></span></div><div></div><div><br></div><div><div><img src="cid:ii_jmqiio3p0" alt="image.png" width="403" height="138"></div><div><br></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Healthy call on the same machine:</font><br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">[DEBUG] switch_core_media.c:3781 Set Codec sofia/vpn/<a href="mailto:2222@2.2.2.2" target="_blank">2222@2.2.2.2</a> <span style="background-color:rgb(217,234,211)">PROXY/0 0 ms 160 samples 0 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/internal/<a href="mailto:2222@2.2.2.2" target="_blank">2222@2.2.2.2</a> Original read codec set to PROXY:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/internal/<a href="mailto:2222@2.2.2.2" target="_blank">2222@2.2.2.2</a>] 2.2.2.2:60818-><a href="http://2.2.2.2:60818" target="_blank">2.2.2.2:60818</a> codec: 0 ms: 20<br><br>[DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a> <span style="background-color:rgb(217,234,211)">PROXY/0 0 ms 160 samples 0 bits 1 channels</span><br>[DEBUG] switch_core_codec.c:111 sofia/external/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a> Original read codec set to PROXY:0<br>[DEBUG] switch_core_media.c:8577 PROXY AUDIO RTP [sofia/external/<a href="mailto:1111@1.1.1.1" target="_blank">1111@1.1.1.1</a>] 1.1.1.1:31412-><a href="http://1.1.1.1:31412" target="_blank">1.1.1.1:31412</a> codec: 0 ms: 20</span><br><br></div><div>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.</div><div><br></div><div><span style="font-family:monospace,monospace">FreeSWITCH Version 1.8.2+git~20180926T175525Z~a98a958ac3~64bit (git a98a958 2018-09-26 17:55:25Z 64bit)</span></div><div><span style="font-family:monospace,monospace">CentOS Linux release 7.5.1804 (Core)</span><br></div><div><br></div><div>Best,</div><div>Marc<br></div></div></div></div></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#000000"><img src="https://hipchat.freeswitch.org/files/1/9111/w0eGOzyOVyZQdMg/email_logo.png" width="200" height="66"><br></font></div><div style="font-size:12.8px"><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Brian West | Co-founder and Developer</font></span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a> </font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Email: </span><span style="color:rgb(17,85,204);font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a></span></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Mobile: 918-424-9378</font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Website: </span><a href="https://www.freeswitch.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">https://www.FreeSWITCH.com</span></a></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;font-size:9pt;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><a href="https://www.facebook.com/freeswitch" target="_blank"><img alt="https://www.facebook.com/signalwireinc?src=email " src="https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg" width="31" height="31" style="border:none"></a> </span><span style="background-color:transparent;font-size:9pt;font-family:Tahoma;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><a href="https://twitter.com/freeswitch" target="_blank"><img alt="https://twitter.com/freeswitch" src="https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa" width="31" height="31" style="border:none"></a></span><br></p></div></div></div></div></div></div></div></div></div></div></div>