[OpenSIPS-Users] SIP-I Calling Party number being changed
Aqs Younas
aqsyounas at gmail.com
Mon Jan 15 05:39:23 EST 2018
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
Jan 15 10:16:01 gridtele-ug-vpn ./opensips[6911]: Here is Calling party
number: +12064248192
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>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180115/8135f6dd/attachment-0001.html>
More information about the Users
mailing list