Have search all over to setup CircleNet to use voice gateway with Google Voice on SP1, Callcentric on SP2, obi 100ATA, just to post this to help others, work for me.
Quote from azrobert post at obitalk forum
(
https://www.obitalk.com/forum/index.php?topic=7614.60),
just make some minor touch up
* Save the page everytime after change made *, if don't and you nevigate to another page, the change will revert back. The SP must use SIP, at least has 1 SIP account setup, CAN'T have Google Voice on both SP1 and SP2.You can share an SP trunk with 2 services by using a Voice Gateway.
Voice Gateways are used with outbound only providers that don't need to register.
CircleNet fits this category.
Keep GV on SP1.
Define Callcentric on SP2
Define CircleNet on Voice Gateway 1:
Voice Services -> Gateways and Trunk Groups -> Voice Gateway1
Name: CircleNet
AccessNumber: sp2(outbound.circlenet.us)
DigitMap: (<8:>1xxxxxxxxxx|<8:1>xxxxxxxxxx|<8:1aaa>xxxxxxx|<8:>011xxxxxx.S3)
AuthUserID: Your_CircleNet_ID (10 digit ID)
AuthPasssword: Your_CircleNet_Password
aaa is your local area code. This is used for 7 digit dialing.
Add to the beginning of the Phone Port OutboundCallRoute:
{(Mvg1):vg1},
After change it should look something like this:
{(Mvg1):vg1},{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli},{(<**7:>(Mvg1)):vg2}
Continue to use GV as you are currently.
To use CircleNet dial as follows:
814805551212 or
84805551212 or
85551212 or
8011............
If no longer using Google Voice, change the Voice Gateway DigitMap to :
(1xxxxxxxxxx|<1>xxxxxxxxxx|<1aaa>xxxxxxx|011xxxxxx.S3)
Dial without the "8" prefix to use CircleNet.
To Setup 2nd voice gateway:
Define CircleNet on Voice Gateway 2:
Voice Services -> Gateways and Trunk Groups -> Voice Gateway2
Name: CircleNet
AccessNumber: sp2(outbound.circlenet.us)
DigitMap: (<7:>1xxxxxxxxxx|<7:1>xxxxxxxxxx|<7:1aaa>xxxxxxx|<7:>011xxxxxx.S3)
AuthUserID: Your 2nd CircleNet_ID (10 digit ID)
AuthPasssword: Your 2nd CircleNet_Password
aaa is your local area code. This is used for 7 digit dialing.
The "7" prefix can be any number with any lenght or *(# u like) or **(# u like)
exmaple:
(<555:>1xxxxxxxxxx|<555:1>xxxxxxxxxx|<555:1aaa>xxxxxxx|<555:>011xxxxxx.S3)
(<**7:>1xxxxxxxxxx|<**7:1>xxxxxxxxxx|<**7:1aaa>xxxxxxx|<**7:>011xxxxxx.S3)
Dial 555 or **7 before the phone number, to keep it simple I just use 1 digit
Add to the beginning of Physical Interfaces> phone > phone port > outbound call route:
{(Mvg1):vg1},{(Mvg2):vg2},
After change it should look something like this:
{(Mvg1):vg1},{(Mvg2):vg2},{([1-9]x?*(Mpli)):pp},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**9:>(Mpp)):pp},{(Mpli):pli},{(<**7:>(Mvg1)):vg2}
Don't know it will work for 3rd gateway, only has 2 voice gateway setup at this time,
If you want to try, just change the prefix number, and (Mvg1) to (Mvg3) vg1 to vg3,
which will be {(Mvg3):vg3}, and add to the outbound call route after
{(Mvg1):vg1},{(Mvg2):vg2},
**The gateway can use any service provider that don't need to register, so you can have
different provider setup to make outbound call
Special thanks to azrobert !