Difference between revisions of "Call Forward"
From FusionPBX
(→Using Call Forward with feature codes) |
|||
Line 5: | Line 5: | ||
==Using Call Forward with feature codes== | ==Using Call Forward with feature codes== | ||
− | There is a lua script that should be in your freeswitch/scripts/call_forward.lua. | + | There is a lua script that should be in your freeswitch/scripts/call_forward.lua To get the latest version, run SVN up on your fusionpbx install and find it in includes/install/scripts/call_forward.lua |
− | Add an action before that that sets a variable application: set | + | |
− | data: pin_number=9449 (put in your own number) | + | |
− | With this you have call forwarding by feature code. | + | To use this with a feature code... |
+ | *add a dialplan entry with the dialplan manager, | ||
+ | **add a condition with destination_number and something like ^393$, fwd | ||
+ | **then application: lua and call_forward.lua | ||
+ | *Add an action before that that sets a variable application: set data: pin_number=9449 (put in your own number) | ||
+ | *With this you have call forwarding by feature code. |
Revision as of 11:18, 15 March 2011
Menu: (Apps-Call Forward)
Use Call Forward to redirect calls from a particular extension to an alternate destination.
The alternate destination can be another extension, external phone number such as a cell phone, or various other possibilities.
Using Call Forward with feature codes
There is a lua script that should be in your freeswitch/scripts/call_forward.lua To get the latest version, run SVN up on your fusionpbx install and find it in includes/install/scripts/call_forward.lua
To use this with a feature code...
- add a dialplan entry with the dialplan manager,
- add a condition with destination_number and something like ^393$, fwd
- then application: lua and call_forward.lua
- Add an action before that that sets a variable application: set data: pin_number=9449 (put in your own number)
- With this you have call forwarding by feature code.