Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: WGAIT on May 04, 2016, 11:39:36 AM

Title: Inward Dialing Modification Tutorial
Post by: WGAIT on May 04, 2016, 11:39:36 AM
Hello all,

We have a Mitel 3300 with a BT UK SIP trunk that presented incoming numbers fine, until we upgraded to MiVoice 7.2, now incoming calls show the +44 and when you lift the handset to answer the call a load of digits get stripped off.

Our supplier will not change the way they present the calls as they say the calls adhere to the SIP standard so it's on us to change our system accordingly.

I assume we need to add a rule in the 'Inward Dialing Modification' form but wondered if someone could give a quick tutorial on this. I know that once it's set you then assign it to the SIP trunk, I just need help with the form itself.

So for:

Digits to match
Digit Length Operator
Digit Length
Number of Digits to absorb
Digits to be inserted

So, all I want to do is strip the '+44' and replace with a '0'

Any help greatly appreciated!

Thanks
Title: Re: Inward Dialing Modification Tutorial
Post by: ralph on May 04, 2016, 01:52:17 PM
I haven't used this form yet but I believe there is a way to modify the incoming caller ID via a form called "Inward dialing source modification".  (Forgive me if I don't have the form name correct.  I'm doing this from memory.)
I've always wondered why someone would need that form.  It looks like you may be an example.

Ralph
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 04, 2016, 03:43:00 PM
Thanks for the reply Ralph, have looked through the A-Z list of forms and can't see this form or one with a similar name, sounds interesting though so if you're able to provide a bit more info that would be great.  Thanks again.
Title: Re: Inward Dialing Modification Tutorial
Post by: ralph on May 04, 2016, 04:01:51 PM
Yes.  I had it wrong.  It's "SIP Peer Profile Calling Party Inward Dialing Modification"
Under SIP.

Ralph
Title: Re: Inward Dialing Modification Tutorial
Post by: sarond on May 04, 2016, 09:13:58 PM
I'm not familiar with the UK number plan but I would try the following

Digits to Match: 44
Digit Length Operator: Greater than or equal to
Digit Length: 9
Number of digits to absorb: 2
Digits to be inserted: 0

You program them in the System Properties/System Feature Settings/Inward Dialing Modification Form
After that you apply them in the SIP Peer Profile Calling Party Inward Dialing Modification form
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 03:58:42 AM
Ralph - Thanks, that form is where you assign the member from the 'Inward Dialing Modification' form, but thank you.

Sarond - Thanks very much, will investigate, in the UK numbers (landline & mobile) tend to be 11 digits long:

Landline: 01234 567890
Mobile: 07777 777777

With the 44 they become 12 digits long:

Landline: 441234 567890
Mobile: 447777 777777

So would I set the 'Digit Length' field to 11 or 12?

I have tried the following and it doesn't seem to make any difference:

Digits to Match: 44
Digit Length Operator: Greater than or equal to
Digit Length: 11
Number of digits to absorb: 2
Digits to be inserted: 2

Digits to Match: 44
Digit Length Operator: Greater than or equal to
Digit Length: 12
Number of digits to absorb: 2
Digits to be inserted: 2

Thanks again
Title: Re: Inward Dialing Modification Tutorial
Post by: sarond on May 05, 2016, 04:52:10 AM
The digit to be inserted is what you want to replace the 44 with, so it would be 0.
The digits to absorb is how many you want to remove, so would be 2 which is correct.
The digit length is when to apply the rule so as a test you could go lower, maybe try 9 or greater.

Did you apply it to the SIP Peer?
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 05:15:44 AM
Thanks, yes I applied to the Peer, will try again with a different digit length.
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 05:30:07 AM
OK, everything is set correctly and applied to the peer on 'Calling Party Inward Dialing Modification' but it doesn't seem to have any affect, calls still come in showing the '44' prefix.

Anything else I might have missed?  Does it require a reboot to trigger the change?  To confirm I have it set as:

Digits to Match: 44
Digit Length Operator: Greater than or equal to
Digit Length: 9
Number of digits to absorb: 2
Digits to be inserted: 0
Title: Re: Inward Dialing Modification Tutorial
Post by: x-man on May 05, 2016, 06:17:19 AM
Digit match enter "x" (this string should match the initial dial string so just "44" won't work as nothing dialling in will be just 44; x is a wild card that will match any incoming 12 digit call)
Digit length should be 12 (although your 9 should work)
digits to absorb 2
digits to insert should be blank

from the help file. I suspect its the last one that's causing the issue as in the trunk attributes if you don't want anything you leave blank not a a zero.

From reading the help file you could use this for individual numbers (digit match) if you only wanted to change one particular number.
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 06:30:51 AM
Thanks x-man, but that doesn't seem to have made any difference either :(

I now have:

Digits to Match: x
Digit Length Operator: Greater than or equal to
Digit Length: 12
Number of digits to absorb: 2
Digits to be inserted: 0

I left the '0' on 'Digits to be inserted' as I would like the '44' to be replaced with a '0'.

Incoming calls still display as '441234567890' instead of '01234567890' :(
Title: Re: Inward Dialing Modification Tutorial
Post by: sarond on May 05, 2016, 07:50:23 AM
My system works as expected not sure what is happening.

So if your are being presented 12 digits there is no reason why the below shouldn't work.

Digits to Match: 44
Digit Length Operator: equal to
Digit Length: 12
Number of digits to absorb: 2
Digits to be inserted: 0

Maybe post screenshots of both forms if you can. I can't think of why this wouldn't work.
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 08:12:32 AM
Thanks for your help, screenshots of the two forms attached.  You will see we have 3 SIP peer profiles but I have applied the Inward Dialing Modification to each profile.

Incidentally, when a call comes in it displays '447777012345' but as soon as the handset is picked up, the display changes to '9012345'

It seems to strip the first 6 digits and insert a 9, this is something else that's been happening since the software upgrade.
Title: Re: Inward Dialing Modification Tutorial
Post by: sarond on May 05, 2016, 08:20:45 AM
Looks good to me, I am at a loss now.
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 08:41:49 AM
Thank you for your help anyway, much appreciated.
Title: Re: Inward Dialing Modification Tutorial
Post by: x-man on May 05, 2016, 08:55:30 AM
Something programmed in trunk attributes re the SIP trunk  for absorb and insert....?
Title: Re: Inward Dialing Modification Tutorial
Post by: ralph on May 05, 2016, 08:58:51 AM
To make this work you have to match all the digits you need to analize.
For example:  if the number is 44+11122233344
Your program would look like this:

Digits to match:  44xxxxxxxx
Digit length operator:  12
Number of digits to 2

Ralph
Title: Re: Inward Dialing Modification Tutorial
Post by: PC77375 on May 05, 2016, 11:49:51 AM
X-man, I was thinking the same thing. Maybe also post a screenshot of the trunk attributes form? I would also look at doing a ccs trace and monitoring the maintenance command window while making a test call in from my mobile phone to see what the actual RAW CLID looks like.
Title: Re: Inward Dialing Modification Tutorial
Post by: PC77375 on May 05, 2016, 12:05:08 PM
So looking at my inward dialing modifcation. We receive 4 digit DID from telco and in modifying the destination we do the following to add "21" to make it complete 6 digit.

Digits to Match: 8xxx
Digit Length Operator: undefined
Digit Length: 4
Number of digits to absorb: 0
Digits to be inserted: 21

So assuming that the SIP inward dialing modification uses the same rules, then as Ralph said- analyze the entire number and use "x" as placeholder.

Digits to Match: 44xxxxxxxxxx
Digit Length Operator: undefined
Digit Length: 12
Number of digits to absorb: 2
Digits to be inserted: 0
Title: Re: Inward Dialing Modification Tutorial
Post by: WGAIT on May 05, 2016, 03:55:24 PM
Thank you, I will try this tomorrow.
Title: Re: Inward Dialing Modification Tutorial
Post by: ralph on May 05, 2016, 04:56:18 PM
I don't think you want to insert a 0.
I think you need to leave it blank unless you want to see a 0 there.

Ralph
Title: Re: Inward Dialing Modification Tutorial
Post by: VinceWhirlwind on May 05, 2016, 07:44:24 PM
Thanks for your help, screenshots of the two forms attached.  You will see we have 3 SIP peer profiles but I have applied the Inward Dialing Modification to each profile.

Incidentally, when a call comes in it displays '447777012345' but as soon as the handset is picked up, the display changes to '9012345'

It seems to strip the first 6 digits and insert a 9, this is something else that's been happening since the software upgrade.

What about this form:
Direct Inward Dialing Service
?