PBX Module

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Configuration)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
Implements miscellaneous PBX features
 
Implements miscellaneous PBX features
  
*   Channel connect - connect two channels
+
* Channel connect - connect two channels.
*   Channel pick up - connect two channels if the 'callto' parameter indicates a pickup one  
+
* Channel pick up - connect two channels if the 'callto' parameter indicates a pickup one.
  
'''Message handlers'''
+
==Message handlers==
  
*[[chan.connect]]  
+
===[[chan.connect]]===
:Connect two channels. The channels are taken from 'id' and 'targetid' parameters of the message. The 'id_peer' and 'targetid_peer' parameters may be 'true' to connect the corresponding channel's peer
+
*[[call.execute]]
+
:Pick up an existing channel to connect to the caller. The 'pickup_peer' parameter may indicate 'false' to connect to the callto's peer
+
  
'''Routing'''
+
Connect two channels.
  
Set the 'callto' parameter of a call.execute message to something like pickup/channelid, where channelid is the id of the channel whose peer we want to pickup. Optionally the parameter 'pickup_peer' may be set to false to pickup the channel itself
+
The channels are taken from 'id' and 'targetid' parameters of the message.
  
'''Configuration'''
+
The 'id_peer' and 'targetid_peer' parameters may be 'true' to connect the corresponding channel's peer.
  
No configuration file
+
===[[call.execute]]===
 +
 
 +
Pick up an existing channel to connect to the caller.
 +
 
 +
The 'pickup_peer' parameter may indicate 'false' to connect to the callto's peer.
 +
 
 +
==Routing==
 +
 
 +
Set the 'callto' parameter of a [[call.execute]] message to something like:
 +
 
 +
'''pickup/channelid'''
 +
 
 +
Where ''channelid'' is the id of the channel whose peer we want to pickup.
 +
 
 +
Optionally the parameter 'pickup_peer' may be set to false to pickup the channel itself.
 +
 
 +
==Configuration==
 +
 
 +
No configuration file.
 +
 
 +
 
 +
'''See also'''
 +
 
 +
* [[Pbxassist|Pbxassist module]]
 +
* [[Call Pickup]]
 +
* [[Park Module]]
 +
* [[Modules]]
 +
 
 +
[[Category:PBX]]

Latest revision as of 14:08, 4 November 2013

Implements miscellaneous PBX features

  • Channel connect - connect two channels.
  • Channel pick up - connect two channels if the 'callto' parameter indicates a pickup one.

Contents

[edit] Message handlers

[edit] chan.connect

Connect two channels.

The channels are taken from 'id' and 'targetid' parameters of the message.

The 'id_peer' and 'targetid_peer' parameters may be 'true' to connect the corresponding channel's peer.

[edit] call.execute

Pick up an existing channel to connect to the caller.

The 'pickup_peer' parameter may indicate 'false' to connect to the callto's peer.

[edit] Routing

Set the 'callto' parameter of a call.execute message to something like:

pickup/channelid

Where channelid is the id of the channel whose peer we want to pickup.

Optionally the parameter 'pickup_peer' may be set to false to pickup the channel itself.

[edit] Configuration

No configuration file.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers