Multiple GV outs, detect if in use

isaacl

Member
Joined
Sep 22, 2009
Messages
348
Reaction score
3
It turns out that I'm going to try using GV lines for outgoing calls on my server.
I'm planning on setting up multiple GV lines, so multiple calls can be made at the same time, using the instructions on NerdVittles - http://nerdvittles.com/?p=683.
The only problem is that GV only seems to supports one call at a time.
Is there any way to set the PBX to detect if a GV line/trunk/route is already in use, and if it is, to go on to the next setup GV number?
Thanks a lot!
 
Hi!
I actually have this very thing on my system right now.
Screenshot:


The first image is my 4 GV outbound routes.
One has all of them in order, and then one for each number specifically. Click on the images to enlarge.
Just copy the config of the second image and you should be good to go!

Hope this helps!
Ross
 
Thanks a lot for the info!
Will that automatically go to the second trunk if the first one is in use at all? because some trunks have multiple channels, and would work with more than one call...
One more question -
Is there a way to have the GV outbound routes used by default, but if there's a digit/code entered before the number, to have it use a different outbound route?
Thanks a lot!
 
Hi again!
What you would want to do as well is go to each of your GV trunks and set the Max Channels value to 1 and that would make it fail over to the next trunk.
In regard to your second question, just use the arrow icons next to your Outbound Route name (can be seen in first pic in other post) to move your GV route up to the top and if you had any 48| things in your outbound route, take them off. That will set all calls that match the outbound route to go out on your GV trunks. To go out of a different trunk, just put a 9| in front of the NXXNXXXXX (so 9|NXXNXXXXXX) and that will send the call out of the assigned trunk but strip off the nine and process the call as normal.
Just to clarify,
your GV trunks would have:
Code:
1+NXXNXXXXXX
1800NXXXXXX
1866NXXXXXX
1877NXXXXXX
1888NXXXXXX
1|NXXNXXXXXX
800NXXXXXX
866NXXXXXX
877NXXXXXX
888NXXXXXX
NXXNXXXXXX
NXXXXXX
for the outbound routes. That would send all calls that are 10-digit (Long Distance), 7 digit (local), and toll free out of your GV trunks.
For your other Outbound Route (with dialing number beforehand)
Code:
9|1+NXXNXXXXXX
9|1800NXXXXXX
9|1866NXXXXXX
9|1877NXXXXXX
9|1888NXXXXXX
9|1|NXXNXXXXXX
9|800NXXXXXX
9|866NXXXXXX
9|877NXXXXXX
9|888NXXXXXX
9|NXXNXXXXXX
9|NXXXXXX
would send all calls dialed as ex. 92222222 or 918002651234 on a seperate trunk. You can change the 9 as need be.

Hope this helps!
 
Thanks a ton - I was kinda confused, and you made everything very clear.
I really appreciate it.
 
What about multiple Inbound GV Trunks

On the flip side of this discussion, what about multiple inbound GV trunks? Is there a way to route different GV trunks to different destinations, rather than have them all go to the same default inbound route?
 
For those wanting to do multiple GV trunks, there is always this article - it's a bit critical of the original method but it does show how to use multiple GV trunks, at least for outgoing calls. It is different from the method normally used with PiaF, so don't try to mix the two methods, or you may not get the results you want. If I understand it correctly, it keeps each account separate so you can assign different GV numbers to different users on your system, and if they place outgoing calls the calls will go out on "their" GV account (this assumes you are also using something like Custom Contexts so you can have different outgoing trunk selections for different users).

As for incoming, as long as each Google Voice number is mapped to a separate DID (or Gizmo5 account), then you'd simply use Inbound Routes to send each of those DID's to the desired destination. I believe the above referenced article covers that also, but it's been a while since I've read it, so don't hold me to that.
 
Reading that article, and it looks kinda complicated, or at least a bit long :)
Is there any reason to use that method over the one referenced on NerdVittles?
Thanks.
 
Ross -
One quick question on your GV outgoing route setup -
Do I need to have it set up like you have it in both images?
Or if I just do like the second image, with the outgoing custom trunks in order, that should work fine?
Is there a reason to have it set up like the first one too?
Will that make it only be able to use one route at a time?
Thanks a lot!
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top