<div dir="ltr"><div><div>Hi,</div><div><br></div><div>Not sure that it will help, but I think something similar was discussed here:<br></div><br><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2012-May/083985.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2012-May/083985.html</a><br><br></div>I would recommend you to set ignore_early_media inside bridge something like this:<br><pre><action application="bridge" data="{ignore_early_media=true}sofia/test-int/1001@somebox,sofia/test-int/1000@somehost"/><br></pre><div><div>Additionally you can try to send 180 or 183 for all calls or execute it based on event(please check freeswitch events), never tried though, but it may work.</div><div><br></div><div>Off cause you can try to move to one profile only...<br></div><div><br></div><div>With kind regards,<br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 27, 2017 at 12:39 PM, Grant Bagdasarian <span dir="ltr"><<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div class="m_-1480104382905698068WordSection1">
<p class="MsoNormal">That’s actually not true, the other FS instance uses bypass-media true.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> FreeSWITCH-users [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Grant Bagdasarian<br>
<b>Sent:</b> vrijdag 27 oktober 2017 11:36</p><div><div class="h5"><br>
<b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>><br>
<b>Subject:</b> Re: [Freeswitch-users] 180/183 not passed through sip profiles<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="NL">Hi Mirko,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p>
<p class="MsoNormal">I’ll try that.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">To answer Alexandr Popov’s comment, we also have a FS instance running with just a single sip profile that also does a bridge to an endpoint on the internet, but uses SIP-ALG provided by our firewall, which works just fine. Not sure if
 this is related to multiple sip profiles. That’s the only difference between the two.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Grant<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>From:</b> FreeSWITCH-users [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Mirko Brankovic<br>
<b>Sent:</b> vrijdag 27 oktober 2017 11:30<br>
<b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>><br>
<b>Subject:</b> Re: [Freeswitch-users] 180/183 not passed through sip profiles<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal">Have you tried with <span style="font-size:9.5pt">bridge_early_media=false, since in pproxy_mode everything that has to do with live media will fail?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">--mirko<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Oct 27, 2017 at 9:45 AM, Grant Bagdasarian <<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="NL">Hi,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="NL"> </span><u></u><u></u></p>
<p class="MsoNormal">We’re using a freeswitch which bridges calls between two networks: private and public. The server has two interfaces. The calls originate from the private network and are bridged
 using the public sip profile. <u></u><u></u></p>
<p class="MsoNormal">For some reason I cannot get the 180 and 183 messages passed back from the outbound leg to the inbound leg when sending calls over the public sip profile.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Both sip profiles have been set with:<u></u><u></u></p>
<p class="MsoNormal">    <param name="inbound-bypass-media" value="false"/><u></u><u></u></p>
<p class="MsoNormal">    <param name="inbound-proxy-media" value="true"/><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">The below dialplan is hit when a call arrives on the LAN(private) interface of the freeswitch.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><?xml version="1.0" encoding="utf-8"?><u></u><u></u></p>
<p class="MsoNormal"><include><u></u><u></u></p>
<p class="MsoNormal">  <context name="local"><u></u><u></u></p>
<p class="MsoNormal">    <extension name="route_to_public"><u></u><u></u></p>
<p class="MsoNormal">      <condition field="destination_number" expression="(\d+)$" require-nested="false"><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="bridge_early_media=true" /><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="hangup_after_bridge=<wbr>true"/><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="continue_on_fail=false"/<wbr>><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="ignore_early_media=<wbr>false"/><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="sip_copy_custom_headers=<wbr>false" /><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="sip_ignore_reinvites=<wbr>false"/><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="effective_caller_id_<wbr>number=${translate(${caller_<wbr>id_number} To_International)}" /><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="effective_caller_id_<wbr>name=${translate(${caller_id_<wbr>number} To_International)}" /><u></u><u></u></p>
<p class="MsoNormal">        <action application="set" data="destination_number_<wbr>translated=${translate(${<wbr>destination_number} To_International)}"/><u></u><u></u></p>
<p class="MsoNormal">        <action application="bridge" data="sofia/gateway/${<wbr>distributor(public_gws ${sofia(profile public_eth1 gwlist down)})}/${destination_number_<wbr>translated}" /><u></u><u></u></p>
<p class="MsoNormal">      </condition><u></u><u></u></p>
<p class="MsoNormal">    </extension><u></u><u></u></p>
<p class="MsoNormal">  </context><u></u><u></u></p>
<p class="MsoNormal"></include><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Any ideas why the 180/183 are not relayed from outbound leg back to inbound leg? A trace shows these messages do arrive on the outbound leg.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<table class="m_-1480104382905698068MsoNormalTable" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 1.5pt 0cm">
<p class="MsoNormal"><span style="font-size:16.0pt;color:#1657ea">Grant Bagdasarian</span><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 15.0pt 0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Developer</span><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 1.5pt 0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1657ea"><a href="tel:+31765727054" target="_blank">+31765727054</a></span><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 15.0pt 0cm">
<p class="MsoNormal"><span style="font-size:12.0pt;color:#1657ea"><a href="https://cm.com" target="_blank">cm.com</a></span><u></u><u></u></p>
</td>
</tr>
<tr>
<td style="padding:3.75pt 0cm 16.5pt 0cm">
<p class="MsoNormal"><img style="width:1.5625in;height:.6354in" id="m_-1480104382905698068m_5677087199168370254_x005f_x0000_i1025" src="cid:image001.png@01D34F18.69EEBF60" width="150" border="0" height="61"><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="NL"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>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.<wbr>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="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<div>
<p class="MsoNormal">Mirko<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>