[asterisk-dev] Need to run an AGI from dialplan only upon call hold
uma udupi
umaudupi at yahoo.com
Thu Aug 30 20:02:17 CDT 2012
hmmm I was hoping for a more graceful way to do it from chan_sip.c
________________________________
From: Steve Edwards <asterisk.org at sedwards.com>
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Sent: Thursday, August 30, 2012 5:25 PM
Subject: Re: [asterisk-dev] Need to run an AGI from dialplan only upon call hold
On Thu, 30 Aug 2012, uma udupi wrote:
> I made some changes in chan_sip.c to call an AGI (based on some configuration) instead of ast_moh_start(), using pbx_exec() upon receiving AST_CONTROL_HOLD indication. My AGI program plays an IVR, and also takes input. Now if the caller UNHOLDs, I would like to send some signal to the AGI and hence it could exit immediately and release the RTP channels. I don't know if this is even possible, could not locate any functions to do this. Please advice
man 2 kill ?
-- Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120830/0c033ee1/attachment.htm>
More information about the asterisk-dev
mailing list