Call Pickup

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
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. 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]
Line 21: Line 23:
 
===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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers