Call Pickup
From Yate Documentation
(Difference between revisions)
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | While [[ | + | While [[Park Module|parking]] is easy (routing the call to park/any will automatically create a parking orbit and transfer the call) picking it up is a bit more complicated and requires scripting. |
− | + | We'll use the [http://yate.null.ro/websvn/filedetails.php?repname=yate&path=/trunk/share/scripts/pickup.php pickup.php] included in yate's svn. | |
− | Add the following to extmodule.conf | + | See [[Using Yate's PHP library on windows]] for instructions if you are using windows. |
+ | |||
+ | Add the following to extmodule.conf: | ||
[scripts] | [scripts] | ||
pickup.php=#8 | pickup.php=#8 | ||
− | or add a listener and then execute "php pickup.php" if you are running yate on windows | + | or add a listener and then execute "php pickup.php" if you are running yate on windows. |
[listener test] | [listener test] | ||
Line 18: | Line 20: | ||
after restarting yate dialing #82000 will pickup parked calls in FIFO order. | after restarting yate dialing #82000 will pickup parked calls in FIFO order. | ||
− | |||
===Configuration=== | ===Configuration=== | ||
− | No configuration file | + | No configuration file. |
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[Using Yate's PHP library on windows]] | ||
+ | * [[Park Module]] | ||
+ | * [[Modules]] | ||
+ | |||
+ | [[Category:PBX]] [[Category:Call pickup]] |
Latest revision as of 13:07, 4 November 2013
While parking is easy (routing the call to park/any will automatically create a parking orbit and transfer the call) picking it up is a bit more complicated and requires scripting.
We'll use the pickup.php included in yate's svn.
See Using Yate's PHP library on windows for instructions if you are using windows.
Add the following to extmodule.conf:
[scripts] pickup.php=#8
or add a listener and then execute "php pickup.php" if you are running yate on windows.
[listener test] type=tcp addr=0.0.0.0 port=5039 role=global
after restarting yate dialing #82000 will pickup parked calls in FIFO order.
[edit] Configuration
No configuration file.
See also