Call Pickup: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:


While [[Parking 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.
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.  


See [[LibYatePHPOnWindows]] for instructions if you are using windows
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===
No configuration file.




===Configuration===
'''See also'''
 
* [[Using Yate's PHP library on windows]]
* [[Park Module]]
* [[Modules]]


No configuration file
[[Category:PBX]] [[Category:Call pickup]]

Latest revision as of 11: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.

Configuration

No configuration file.


See also