Call Pickup

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
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.
 
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.
  
 
Add the following to extmodule.conf
 
Add the following to extmodule.conf
Line 9: Line 9:
 
  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 18:
 
   
 
   
 
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

Revision as of 17:58, 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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers