<div dir="ltr">Thanks for the explanation. We changed + to 000 now things are pretty good. <div>Thanks. </div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 January 2018 at 21:21, Vlad Patrascu <span dir="ltr"><<a href="mailto:vladp@opensips.org" target="_blank">vladp@opensips.org</a>></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"><span class="">
    <p>Hi,</p>
    <p>I'm not an expert on ITU-T standards but from what I know, the
      "+" sign is only an indication that an international prefix is
      required and thus cannot be set as a digit in the ISUP number
      related parameters. Being an unsupported character, the sip_i
      module wrote it as 0. Maybe a warning log message would be
      helpful.</p>
    <p>As such you should probably replace the plus sign with the
      international call prefix and only after that set the ISUP
      parameter.</p>
    Regards,
    <pre class="m_5498059697219686489moz-signature" cols="72">Vlad Patrascu
OpenSIPS Developer
<a class="m_5498059697219686489moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
    <div class="m_5498059697219686489moz-cite-prefix">On 01/15/2018 12:39 PM, Aqs Younas
      wrote:<br>
    </div>
    </span><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Greetings list,
        <div><br>
        </div>
        <div>I am using the sip-i module for conversion between sip to
          sip-i.  I want to set calling party number and called party
          number in e164 format. Below is how my code looks like. </div>
        <div>route{<br>
        </div>
        <div>...</div>
        <div>
          <div>        xlog("Here is Called party number: $rU");</div>
          <div>        xlog("Here is Calling party number: $fU");</div>
          <div>        do_accounting("log","missed");</div>
          <div>        add_isup_part("Initial address");</div>
          <div>        $isup_param(Nature of connection indicators) =
            "0x10";</div>
          <div>        $isup_param(Forward Call Indicators) = "0x6001";</div>
          <div>        $isup_param(Called party number|Nature of address
            indicator) = 4;</div>
          <div>        $isup_param(Called party number|Numbering plan
            indicator) = 1;</div>
          <div>        $isup_param(Called party number|Address signal) =
            $rU;</div>
          <div>        $isup_param(Calling party number|Nature of
            address indicator) = 4;</div>
          <div>        $isup_param(Calling party number|Numbering plan
            indicator) = 1;</div>
          <div>        $isup_param(Calling party number|Screening
            indicator) = 4;</div>
          <div>        $isup_param(Transmission Medium Requirement) =
            "speech";</div>
          <div>        $isup_param(Calling party number|Address signal)
            = $fU;</div>
        </div>
        <div>...</div>
        <div>}</div>
        <div><br>
        </div>
        <div>
          <div>branch_route[per_branch_ops] {</div>
          <div>        xlog("NOA is: $isup_param_str(Called Party
            Number|Nature of address indicator)");</div>
          <div>        xlog("Called party is: $isup_param_str(Called
            Party Number|Address signal)");</div>
          <div>        xlog("NOA is: $isup_param_str(Calling Party
            Number|Nature of address indicator)");</div>
          <div>        xlog("Calling is: $isup_param_str(Calling Party
            Number|Address signal)");</div>
          <div>}</div>
        </div>
        <div><br>
        </div>
        <div>But I see Calling party and Called party number being
          changed from what i had set. </div>
        <div><br>
          This is what I set. </div>
        <div><br>
          <div> Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Here
            is Called party number: <a href="tel:+256%20723%20000422" value="+256723000422" target="_blank">+256723000422</a></div>
          <div>Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Here is
            Calling party number: <a href="tel:(206)%20424-8192" value="+12064248192" target="_blank">+12064248192</a><br>
            <br>
            And what appears in ISUP body. You can notice <b>+ </b>changed
            to 0. </div>
          <div><br>
            <div>Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: NOA
              is: international</div>
            <div><b>Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]:
                Called party is: 0256723000422</b></div>
            <div>Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: NOA
              is: international</div>
            <div><b>Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]:
                Calling is: 012064248192</b></div>
          </div>
        </div>
        <div><br>
        </div>
        <div>Any help/suggestion is much appreciated. </div>
        <div><br>
        </div>
        <div>Thanks. </div>
        <div><br>
        </div>
      </div>
      <div id="m_5498059697219686489DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
        <table style="border-top:1px solid #d3d4de">
          <tbody>
            <tr>
              <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" style="width:46px;height:29px" height="29" width="46"></a></td>
              <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.
                <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="m_5498059697219686489mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><span class=""><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_5498059697219686489moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_5498059697219686489moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </span></blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>