Park Module
From Yate Documentation
(Difference between revisions)
(→Picking up calls) |
|||
Line 1: | Line 1: | ||
Park a call and optionally attach a data source to it. | Park a call and optionally attach a data source to it. | ||
− | The data | + | |
+ | The data must be specified in the 'source' parameter of [[call.execute]]. | ||
===Message handlers=== | ===Message handlers=== | ||
Line 13: | Line 14: | ||
Syntax: park/orbit | Syntax: park/orbit | ||
− | orbit may be: | + | '''orbit''' may be: |
* the parking orbit number to park the call to (it will fail if the orbit already have a call parked) or | * the parking orbit number to park the call to (it will fail if the orbit already have a call parked) or | ||
* the keyword 'any' to create a new parking orbit | * the keyword 'any' to create a new parking orbit | ||
Line 29: | Line 30: | ||
No configuration file | No configuration file | ||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[Modules]] |
Revision as of 10:24, 11 June 2013
Park a call and optionally attach a data source to it.
The data must be specified in the 'source' parameter of call.execute.
Contents |
Message handlers
- call.execute used to park the call
- chan.locate deliver the id of an existing parking orbit
- engine.halt disconnect all parking orbits
Routing
Syntax: park/orbit
orbit may be:
- the parking orbit number to park the call to (it will fail if the orbit already have a call parked) or
- the keyword 'any' to create a new parking orbit
Examples
Park any call to 2000 to parking orbit park/1 and attach the 'tone/dial' data source to it
^2000$=park/1;source=tone/dial
Park any call to 2000 to a newly created parking orbit and don't attach a data source to it
^2000$=park/any
Park any call to 2000 to a newly created parking orbit playing message.gsm
^2000$=park/1;source=wave/play/c:/sounds/message.gsm
Configuration
No configuration file
See also