Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number Converstion Issue

Status
Not open for further replies.

Jared Smith

Systems Engineer
Jul 18, 2022
1
AU
Hi,

I have an issue with calls coming in via SIP enterprise and dropping the first zero, when the call goes to the handset the CLI is showing 428 instead of 0428.

Number_Conversion is set as below:

MDSH> number_conversion_print
Number conversion data:
Entry Cnvtyp Numtyp Rou Tardest Pre Trc Newtyp Cont Bcap Hlc
815252 0 4 60 812 6
815259 0 4 60 819 6
8815252 0 0 66 812 7
8815252 0 0 67 812 7
8815259 0 0 66 819 7
8815259 0 0 67 819 7
8815280 0 0 66 810 7
8815280 0 0 67 810 7
08815280 1 0 66 1
08815280 1 0 67 1
810 1 10 66 8815280 3
810 1 10 67 8815280 3
812 1 10 815252 3
812 1 10 66 8815252 3
812 1 10 67 8815252 3
815280 1 0 66 8
815280 1 0 67 8
819 1 10 815259 3
819 1 10 66 8815259 3
819 1 10 67 8815259 3
2 2 2 00
3 2 2 00
4 2 2 00
6 2 2 00
7 2 2 00
8 2 2 00
2 5 0 00
3 5 0 00
4 5 0 00
7 5 0 00
8 5 0 00
 
If an incoming call comes via SIP, it always comes in an international format, which must be converted.

E.g:
number_conversion_initiate -entry 36130111 -conversiontype 0 -numbertype 1 -pre 64 -truncate 8 -route 1
36-1-30111xx -> 64xx extensions (incoming "B" number conversion)

36=country code
1= district number
30111xx= number
The country code and the area code are always included, this is the E164 format


If you want to convert the incoming "A" number (I think you want to put a 0 in front of it because of NLOG), then you need the following commands:
number_conversion_initiate -entry 3 -conversiontype 2 -numbertype 1 -route 1 -pre 0 (for the incoming "A" number conversion which starting with 3)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top