Mitel Forums - The Unofficial Source

Mitel Forums => Aastra - MiVoice Office 400 and MiVoice MX-One => Topic started by: Eric_online on June 07, 2017, 01:52:48 PM

Title: Mxone : How to dynamically truncate incoming digit on analog trunk TLU83
Post by: Eric_online on June 07, 2017, 01:52:48 PM
HI guys,

We are using Mxone 6.2 SP1 hf 0 with analog trunk card TLU83 connecting to PSTN.
Analog trunk incoming landing is given to SIP phone extension 3901 by cmd: RODNI:ROU=1,DAY=3901,NIG=3901;
Now whenever external mob is calling on trunk line which rings on 3901 show display --> 091 8877665544. Here 91 is India country code.

If local landline calls on same trunk line display shows ---> 22 3096 3XXX. Here actual area code is 022

Now I need to digit manipulate the above external calling party. Need to remove 91 from mob number & display should shows 08877665544.
Also in locals calls I need to add 0 in beginning , so that display changes to 022 3096 3XXX

How to use number_conversion in Mxone

Title: Re: Mxone : How to dynamically truncate incoming digit on analog trunk TLU83
Post by: jagdishmathpal on July 14, 2017, 07:28:00 AM
Hi,
Please do the following commands.

Incoming number=91-7042500xxx need to be replaced 07042500xxx
number_conversion_initiate -conversiontype 2 -numbertype 1 -entry 91 -truncate 2 -newtype 4 -pre 0(For International)

Incoming number=124419aaaa need to be replaced 00124419aaaa
 number_conversion_initiate -conversiontype 2 -numbertype 2 -entry 1 -truncate 1 -newtype 4 -pre 001(For National)