<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes, it moves it to the right of the
      host. Thank you for confirming, looks like I'll have to open a
      jira.<br>
      <pre class="moz-signature" cols="72">
</pre>
      On 02/19/2013 07:57 PM, Ken Rice wrote:<br>
    </div>
    <blockquote
      cite="mid:B040C3CB-1DC3-4B9B-AF4D-AE69B50756C9@freeswitch.org"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <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
          moz-do-not-send="true" 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 moz-do-not-send="true"
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
                    moz-do-not-send="true"
                    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 moz-do-not-send="true"
                      href="tel:6135555555" value="+16135555555"
                      target="_blank">6135555555</a><b>;npdi=yes</b>@<a
                      moz-do-not-send="true" 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
                      moz-do-not-send="true" 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 moz-do-not-send="true"
                      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 moz-do-not-send="true"
                      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 moz-do-not-send="true"
                    href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.freeswitchsolutions.com"
                    target="_blank">http://www.freeswitchsolutions.com</a><br>
                  <br>
                  FreeSWITCH-powered IP PBX: The CudaTel Communication
                  Server<br>
                  <a moz-do-not-send="true"
                    href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
                  <br>
                  Official FreeSWITCH Sites<br>
                  <a moz-do-not-send="true"
                    href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
                  <br>
                  FreeSWITCH-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                    target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                  UNSUBSCRIBE:<a moz-do-not-send="true"
                    href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                    target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                  <a moz-do-not-send="true"
                    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 moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br>
          <span><a moz-do-not-send="true"
              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 moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a></span><br>
          <span></span><br>
          <span>Official FreeSWITCH Sites</span><br>
          <span><a moz-do-not-send="true"
              href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br>
          <span><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a></span><br>
          <span></span><br>
          <span>FreeSWITCH-users mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
          <span>UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://">http://</a><a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
          <span><a moz-do-not-send="true"
              href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>