OBiTALK Community

General Support => Day-to-Day Use => Topic started by: N7AS on April 09, 2012, 01:35:37 PM

Title: Voice Gateway dialout based on Area Code dialed...
Post by: N7AS on April 09, 2012, 01:35:37 PM
I would like to dial out to certain area codes using my Voice Gateways based on the area code I dial. For instance, if I dial a number with AC 617, it would use VG1. If I dial out with AC 202 it would use VG2, etc.

I use *1 through *8 for my Voice Gateway identifiers.

My Setup...

SP1: Google Voice (Primary> ITSP A
SP2: Localphone
Line: PAP2T (Anveo Extension 101)

VG7: Toll Free using callwithus
VG8: iNum Calling

How can I do this, and where should I modify the DigitMaps?

Title: Re: Voice Gateway dialout based on Area Code dialed...
Post by: RonR on April 09, 2012, 02:38:22 PM
Simply add rules for each area code redirect to your PrimaryLine DigitMap:


Service Providers -> ITSP Profile A -> General -> DigitMap:

(<*1>1?617xxxxxxx|<*2>1?202xxxxxxx|<1aaa>[2-9]xxxxxx|<1>[2-9]xxxxxxxxx|1xxxxxxxxxx|011xx.)

where aaa is your local area code.
Title: Re: Voice Gateway dialout based on Area Code dialed...
Post by: N7AS on April 09, 2012, 03:36:13 PM
That works great.

Thanks, RonR