Author |
Message |
TrystanJ Brekeke Junior Member
Joined: 24 Dec 2007 Posts: 9
|
Posted: Mon Dec 24, 2007 11:30 pm Post subject: Automatically add digits to ARS |
|
|
1. Brekeke Product Name and version:
2. Java version:
3. OS type and the version:
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:
Simple question, I just cannot find how to do it.
When sending outbound call, I have selected the digit "9" to be used for my VoIP Provider. But I also need to add other digits for the provider, like "123".
How can I automatically add "123" to the dialed number?
Currently, it is like this:
9 xxx xxx xxxx which becomes:
xxx xxx xxxx (9 is stripped out in ARS)
But I need:
123 xxx xxx xxxx
So in sum, it should be like this:
9 xxx xxx xxxx ----> 123 xxx xxx xxxx
I do not want to have to dial "123" all the time and I don't want my users to configure their devices everytime they switch. This is why I would prefer to add it in automatically.
Thank you in advance.
Trystan |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Tue Dec 25, 2007 8:32 am Post subject: |
|
|
Hi,
This can be done by putting the 9 outside the (.+) which strips it off and putting 123 before the $1 in the deploy side.
example
match
9(.+) ' 9 will be stripped off
Deploy
sip:123$1@voipwell.com ' replace voipwell.com with your provider. |
|
Back to top |
|
TrystanJ Brekeke Junior Member
Joined: 24 Dec 2007 Posts: 9
|
Posted: Tue Dec 25, 2007 10:54 am Post subject: |
|
|
That worked.
Thanks Voipwell!
Cheers,
Trystan |
|
Back to top |
|
|