<div dir="ltr">because freeswitch is B2BUA i guess)</div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-27 10:45 GMT+03:00 Grant Bagdasarian <span dir="ltr"><<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_8553920265506449147WordSection1">
<p class="MsoNormal"><span lang="NL">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></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_8553920265506449147MsoNormalTable" border="0" cellspacing="0" cellpadding="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><span style="font-size:12.0pt;color:#1657ea"><u></u><u></u></span></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><span style="font-size:9.0pt;color:black"><u></u><u></u></span></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"><span style="color:blue">+31765727054</span></a></span><span style="font-size:9.0pt;color:#1657ea"><u></u><u></u></span></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"><span style="color:blue">cm.com</span></a></span><span style="font-size:9.0pt;color:#1657ea"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:3.75pt 0cm 16.5pt 0cm">
<p class="MsoNormal"><img border="0" width="150" height="61" style="width:1.5625in;height:.6354in" id="m_8553920265506449147_x0000_i1025" src="cid:image001.png@01D34F08.7CB33B90"><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p>
</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>