Difference between revisions of "Telecom Plugin"

From LinuxMCE
Jump to: navigation, search
m (None)
(Undo revision 28691 by AHagerty93 (talk) spam)
 
Line 8: Line 8:
 
It depends on command the sender and such parameters as device or channel_ids.
 
It depends on command the sender and such parameters as device or channel_ids.
  
For example PL_Originatecalled with PK_Device==EmbeddedPhone will send CMD_Phone_Initiate <span class="plainlinks">[http://www.thepiggybackrider.com/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;/*CITATION*/">kid carrier</span>]</span> to the device or CMD_PBX_Originate to asterisk. The transfer when the call is already a conference call will be simple joining into the conference room instead of a blind transfer and so on.
+
For example PL_Originatecalled with PK_Device==EmbeddedPhone will send CMD_Phone_Initiate to the device or CMD_PBX_Originate to asterisk. The transfer when the call is already a conference call will be simple joining into the conference room instead of a blind transfer and so on.
  
 
It also provides several DataGrids getting information from internal datastructures in case of ActiveCalls, pluto_main for SpeedDial and asteriskcdr for RecentCalls.
 
It also provides several DataGrids getting information from internal datastructures in case of ActiveCalls, pluto_main for SpeedDial and asteriskcdr for RecentCalls.

Latest revision as of 14:56, 27 September 2011

Description

This one provides standard command interface for the PBX, theoretically it can be plugged with any PBX, not sure if it can be done.

It has a virtual device id = -107, this way all telecom commands from orbiter are sent to Telecom_Plugin, and then it routes commands to specific devices (like from Orbiter to child Embedded Phone) or to Asterisk.

It depends on command the sender and such parameters as device or channel_ids.

For example PL_Originatecalled with PK_Device==EmbeddedPhone will send CMD_Phone_Initiate to the device or CMD_PBX_Originate to asterisk. The transfer when the call is already a conference call will be simple joining into the conference room instead of a blind transfer and so on.

It also provides several DataGrids getting information from internal datastructures in case of ActiveCalls, pluto_main for SpeedDial and asteriskcdr for RecentCalls.

Communication with Asterisk

In most cases the Telecom_Plugin keeps almost the same list of channels as Asterisk. The Asterisk is notifying Telecom_Plugin on all changes and they keep the list in sync.

In most of the commands(and events) exchanged between Asterisk and Telecom_Plugin one of the parameters is CallID or ChannelID string representing channels connected into a call (something like SIP/202-9577 IAX2/teliax-out/6)

Only Asterisk is sending that channels were changed, Telecom_Plugin just acknowledges it and changes his state accordingly.