How to set different outbound/gateway per extension

Status
Not open for further replies.

PJPMontreal

Member
Feb 28, 2020
59
2
8
57
Hi Guys,
Please help with tip on how to set different outbound/gateway per extension.
I have 2 gateways (a & b) and 2 extensions. I would like that each extension use its own gateway. Ext 1 -Gateway (a) and Ext 2 -Gateway (b)
How I do that?
Presently incoming goes well per gateway and ext but the outgoing goes all thru same (a) gateway.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
Add another condition after creating the gateway that matches on the extension number.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
Yes, once you have created the outbound route, edit it and add another condition at the top.
 

PJPMontreal

Member
Feb 28, 2020
59
2
8
57
Hi Daz,
Can I remove my first condition or edit it and used as condition for Ext/gateway? This is what I have as first condition:
condition ${user_exists} false 0

and let me know if the following is the good way to edit it to only work with ext 101:
condition ${number_alias} 101 0
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
No, your first condition should be the numbers you are matching to send out of the gateway.

Here is an example of one I have that only allows calls from my extensions beginning with 3:

extensionbasedroute.png
 

PJPMontreal

Member
Feb 28, 2020
59
2
8
57
Wonderful!! Thank you...
How it would look for an specific group of extensions?? exp. 701, 702 and 703 but not the rest of extensions
 

PJPMontreal

Member
Feb 28, 2020
59
2
8
57
give the toll allow code in???
Sorry, I'm lost!!!
How to do that and how the toll will know the rang of extensions I want to allow in each Outbound/gateway
 

robvandenbulk

Member
Mar 28, 2020
82
10
8
60
In Extension you give a toll allow code b.e. LINE1 per Extension for the group (outbound LINE1) LINE1 701 LINE1 702 LINE1 703 LINE1
In outbound routes you give condition ${toll_allow} LINE1 (so ext 701 702 703 can dial out for this route
 
  • Like
Reactions: krakastan

PJPMontreal

Member
Feb 28, 2020
59
2
8
57
In Extension you give a toll allow code b.e. LINE1 per Extension for the group (outbound LINE1) LINE1 701 LINE1 702 LINE1 703 LINE1
In outbound routes you give condition ${toll_allow} LINE1 (so ext 701 702 703 can dial out for this route
Interesting!!!! I will try and let you know.... THANKS
 
Status
Not open for further replies.