Call Pickup
From Yate Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
− | 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 | + | 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] |
Revision as of 10:32, 11 June 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.
Configuration
No configuration file