On Sun, Jun 30, 2013 at 11:03 PM, Meadows Hoa <[email protected]> wrote:

>
> Is there a way to send an event notification from one Channel Driver to
> another Channel Driver? If I wanted to have one channel driver do something
> custom depending on the call state of the other channel driver involved in
> the call, how could you send some kind of event or state notification
> directly to this other channel driver?
>
>

Yes, although in general this happens within the Asterisk code itself and
is not exposed to the dialplan.

Typically, if anything (channel driver, resource module, etc.) wants to
notify a channel that something has occurred, it queues a control frame on
that channel. Control frames include things like media source changes/media
updates, indications that signalling actions should take place, etc.

What specific use case are you looking at?

Matt

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to