<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>If its actually moving the ndpi to the host side thats a bug open a jira and attach debug logs with sip trace on<br><br>Sent from my iPhone</div><div><br>On Feb 19, 2013, at 6:25 PM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">You'll have to use a regex and capture it manually.<div>See:&nbsp;<a href="http://wiki.freeswitch.org/wiki/Regular_Expression#LNP_.28Local_Number_Portability.29">http://wiki.freeswitch.org/wiki/Regular_Expression#LNP_.28Local_Number_Portability.29</a></div>

<div><br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div></div><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 12:25 AM, Victor Chukalovskiy <span dir="ltr">&lt;<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    SIP call comes on leg A as following:<br>
    INVITE sip:<a href="tel:6135555555" value="+16135555555" target="_blank">6135555555</a><b>;npdi=yes</b>@<a href="http://1.2.3.4:5060" target="_blank">1.2.3.4:5060</a> SIP/2.0<br>
    <br>
    ${destination_number} var becomes "<a href="tel:6135555555" value="+16135555555" target="_blank">6135555555</a>;npdi=yes"<br>
    <br>
    On leg B I send the call to gateway using unaltered
    ${destination_number}:<br>
    &lt;action application="bridge"
    data="sofia/gateway/test_gw/${destination_number}"/&gt;<br>
    <br>
    I see the following on leg B:<br>
    INVITE <a href="mailto:sip:6135555555@5.6.7.8:5060" target="_blank">sip:6135555555@5.6.7.8:5060</a><b>;npdi=yes</b> SIP/2.0<br>
    <br>
    So, FS moved ";npdi=yes" which is a tel URI parameter into the very
    end as if it was a SIP URI parameter. Such behavior does not seem
    correct. Is this a bug? Found the following implementation
    discussion:<br>
    <a href="http://comments.gmane.org/gmane.ietf.sip-implementors/21554" target="_blank">http://comments.gmane.org/gmane.ietf.sip-implementors/21554</a><br>
    <br>
    Please help to make FS send tel URI parameters unaltered using
    bridge application and a gateway. WiKi for bridge dial-plan tool has
    some examples but it does not make use of gateway and I need to use
    gateway.<br>
    <br>
    Thank you,<br>
    Victor
  </div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.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">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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>