[asterisk-users] Send event/notification from one channel driver ot another

Matthew Jordan mjordan at digium.com
Mon Jul 1 11:40:09 CDT 2013


On Sun, Jun 30, 2013 at 11:03 PM, Meadows Hoa <meadows_sub at yahoo.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130701/31b8f7fd/attachment.htm>


More information about the asterisk-users mailing list