Call Pickup
From Yate Documentation
(Difference between revisions)
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. |
See [[LibYatePHPOnWindows]] for instructions if you are using windows | See [[LibYatePHPOnWindows]] for instructions if you are using windows |
Revision as of 16:57, 18 October 2012
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 LibYatePHPOnWindows 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