Park Module: Difference between revisions

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


Park a call and optionally attach a data source to it.  
This module is used to park a call and optionally attach a data source to it.  
The data may must be specified in the 'source' parameter of [[call.execute]].
 
The data must be specified in the 'source' parameter of [[call.execute]].


===Message handlers===
===Message handlers===
Line 10: Line 11:


===Routing===
===Routing===
In routing modules like regexroute.conf:


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 28: Line 30:
===Configuration===
===Configuration===


No configuration file
No configuration file.
 
'''See also'''
 
* [[Modules]]
 
[[Category:PBX]] [[Category:Call park]] [[Category:Parking orbit]]

Latest revision as of 11:06, 4 November 2013

This module is used to park a call and optionally attach a data source to it.

The data must be specified in the 'source' parameter of call.execute.

Message handlers

Routing

In routing modules like regexroute.conf:

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