Difference between revisions of "Outbound Routes"

From FusionPBX
Jump to: navigation, search
(Pin Number)
Line 17: Line 17:
  
 
== Pin Number ==
 
== Pin Number ==
Before the bridge add the following actions
+
To have the system ask for a PIN number before a call is made. A good use is if you don't want every user on the system to be able to call international destinations. Do the following:
 +
 
 +
Before the bridge action on the route add the following actions
  
 
action   set     pin_number=(Whatever pin number you choose)
 
action   set     pin_number=(Whatever pin number you choose)

Revision as of 17:07, 19 April 2012

Menu: (Dialplan-Outbound Routes)

Allows you to easily create outbound routes through a gateway. When a call matches the conditions the call is then routed to that gateway.

The routes added here are also displayed/managed from Dialplan_Manager.

This is just a logical grouping for easy management of Outbound Routes to Gateways.


ADD Outbound Routes

Gateway: Select the gateway to use with this outbound route.
Dialplan Expression: dialplan data, which is autofilled if you use the drop-down list in the bottom	
drop-down list: Shortcut to the Dialplan Manager to create the outbound dialplan entries for this Gateway.
Order: Select the order number. The order number determines the order of the outbound routes when there is more than one.
Enabled: Choose to enable or disable the outbound route.
Description: Enter a description for the outbound route.

Pin Number

To have the system ask for a PIN number before a call is made. A good use is if you don't want every user on the system to be able to call international destinations. Do the following:

Before the bridge action on the route add the following actions

action set pin_number=(Whatever pin number you choose)

action lua pin_number.lua

Also make sure pin_numbr.lua is in /usr/local/freeswitch/scripts/ (by default it is)