<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Michael, can you please explain your comment a little bit more:</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">"<span style="font-family:Arial,Helvetica,sans-serif">There is one exception to this rule, and that is when you are trying to pass codecs that freeswitch does not know about, and even that case has a better workaround than to use proxy media"</span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">We are using proxy, because FS on windows can't support g729 and transcoding. What is better workaround than use proxy media?</span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="">Gregor</div></div><br><div class="gmail_quote"><div dir="ltr">V V ned., 14. okt. 2018 ob 23:42 je oseba Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> napisala:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I’ll expand on Brian’s comment. Proxy media should NEVER be used. There is one exception to this rule, and that is when you are trying to pass codecs that freeswitch does not know about, and even that case has a better workaround than to use proxy media. If you are using proxy media you should stop, if you are not sure how to do so you should discuss on the mailing list. Proxy media mode is NOT the way to avoid transcoding, that can be done properly without this setting and this setting should never be used.<div><br></div><div>Mike<br><div><br><blockquote type="cite"><div>On Oct 12, 2018, at 5:07 PM, Brian West <<a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a>> wrote:</div><br class="m_2059481085755246301Apple-interchange-newline"><div><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" target="_blank">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><span id="m_2059481085755246301cid:ii_jmqiio3p0"><image.png></span></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="m_2059481085755246301gmail_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><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"><div 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>Brian West | Co-founder and Developer</font></span></div><div 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>Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a> </font></span></div><div 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>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></div><div style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font><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></div><div 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>Mobile: 918-424-9378</font></span></div><div style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font><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></div><div 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;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;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></div></div></div></div></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" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" 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" 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="https://freeswitch.com" target="_blank">https://freeswitch.com</a></div></blockquote></div><br></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"><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)"><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px"><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)"><font face="georgia, serif" size="2">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)"> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px"><font face="georgia, serif" size="1"><b>CTO</b><br>t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br>• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>• <a href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td></tr></tbody></table></div></div>