02-01-2008 04:11 AM - edited 03-15-2019 08:34 AM
Hi Guys, I need some help if anyone can, my company wants to re-route our mobile numbers through another company so pro-ceding each mobile number dialed from within the company they want to add for instance a four digit number "1624" does any one know what i would have to write in the gateway config for this to happen?
Any help much appreciated.
Dan
Solved! Go to Solution.
02-04-2008 04:30 AM
Ok then try..
rule 9 /^7/ /9162407/
So 07788 9912345 becomes 91624077889912345
02-01-2008 04:14 AM
Do you have CM? If so, do you use h.323 or MGCP ?
And, how do you identify these mobile numbers ?
02-01-2008 04:22 AM
Yes we have CM, yes we use h.323
all mobile numbers start with 07.
our dial plan looks like this on the gateway
voice translation-rule 90
rule 1 /^....$/ /69&/
rule 3 /^1/ /901/
rule 4 /^2/ /902/
rule 5 /^3/ /903/
rule 6 /^4/ /904/
rule 7 /^5/ /905/
rule 8 /^6/ /906/
rule 9 /^7/ /907/
rule 11 /^9/ /909/
rule 12 /^0/ /90/
02-01-2008 02:37 PM
you can also do this in CCM at two levels
under the route pattern or under the route list
both have a prefix option in which before the call reaches the gateway you can send the digits preceding what the user dialed
for this you would need to create a set of specific route patterns to match only the mobile calls
HTH
02-04-2008 03:45 AM
Hi,
To add digits to the end of the mobile number change rule 9 for the following
rule 9 /^7\(.*\)$/ /907\11624/
So 07788 9912345 becomes 90778899123451624
I think that is what you are after, if not let me know.
If this post helps, please rate.
Regards,
Dave
02-04-2008 04:14 AM
Thanks for the help Dave thats absolutely brill, other then the fact i would like it to proceed the mobile number and not go at the end? :) thanks alot :)
02-04-2008 04:30 AM
Ok then try..
rule 9 /^7/ /9162407/
So 07788 9912345 becomes 91624077889912345
02-04-2008 04:46 AM
The GWGK cisco book has this info in depth if anyone is wondering.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: