Park Module

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
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 must be specified in the 'source' parameter of [[call.execute]].
 
The data must be specified in the 'source' parameter of [[call.execute]].
Line 11: Line 11:
  
 
===Routing===
 
===Routing===
 +
In routing modules like regexroute.conf:
  
 
Syntax: park/orbit
 
Syntax: park/orbit
Line 29: Line 30:
 
===Configuration===
 
===Configuration===
  
No configuration file
+
No configuration file.
  
 
'''See also'''
 
'''See also'''
  
 
* [[Modules]]
 
* [[Modules]]

Revision as of 11:27, 11 June 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.

Contents

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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers