[OpenSIPS-Users] SIP-I Calling Party number being changed
Aqs Younas
aqsyounas at gmail.com
Tue Jan 16 08:49:55 EST 2018
Thanks for the explanation. We changed + to 000 now things are pretty good.
Thanks.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On 15 January 2018 at 21:21, Vlad Patrascu <vladp at opensips.org> wrote:
> Hi,
>
> 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.
>
> As such you should probably replace the plus sign with the international
> call prefix and only after that set the ISUP parameter.
> Regards,
>
> Vlad Patrascu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 01/15/2018 12:39 PM, Aqs Younas wrote:
>
> Greetings list,
>
> 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.
> route{
> ...
> xlog("Here is Called party number: $rU");
> xlog("Here is Calling party number: $fU");
> do_accounting("log","missed");
> add_isup_part("Initial address");
> $isup_param(Nature of connection indicators) = "0x10";
> $isup_param(Forward Call Indicators) = "0x6001";
> $isup_param(Called party number|Nature of address indicator) = 4;
> $isup_param(Called party number|Numbering plan indicator) = 1;
> $isup_param(Called party number|Address signal) = $rU;
> $isup_param(Calling party number|Nature of address indicator) = 4;
> $isup_param(Calling party number|Numbering plan indicator) = 1;
> $isup_param(Calling party number|Screening indicator) = 4;
> $isup_param(Transmission Medium Requirement) = "speech";
> $isup_param(Calling party number|Address signal) = $fU;
> ...
> }
>
> branch_route[per_branch_ops] {
> xlog("NOA is: $isup_param_str(Called Party Number|Nature of
> address indicator)");
> xlog("Called party is: $isup_param_str(Called Party Number|Address
> signal)");
> xlog("NOA is: $isup_param_str(Calling Party Number|Nature of
> address indicator)");
> xlog("Calling is: $isup_param_str(Calling Party Number|Address
> signal)");
> }
>
> But I see Calling party and Called party number being changed from what i
> had set.
>
> This is what I set.
>
> Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Here is Called party
> number: +256723000422 <+256%20723%20000422>
> Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Here is Calling party
> number: +12064248192 <(206)%20424-8192>
>
> And what appears in ISUP body. You can notice *+ *changed to 0.
>
> Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: NOA is: international
> *Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Called party is:
> 0256723000422*
> Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: NOA is: international
> *Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Calling is:
> 012064248192*
>
> Any help/suggestion is much appreciated.
>
> Thanks.
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180116/830d29e2/attachment.html>
More information about the Users
mailing list