Automatically add digits to ARS

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
TrystanJ
Posts: 9
Joined: Mon Dec 24, 2007 6:09 pm

Automatically add digits to ARS

Post by TrystanJ »

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/ ... terns.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
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

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.
TrystanJ
Posts: 9
Joined: Mon Dec 24, 2007 6:09 pm

Post by TrystanJ »

That worked.

Thanks Voipwell!

Cheers,
Trystan
Post Reply