[asterisk-users] On SIP REGISTER event trigger a AGI script
Steve Edwards
asterisk.org at sedwards.com
Tue Nov 13 19:16:30 CST 2012
On Wed, 14 Nov 2012, Face wrote:
>>> Is there a way I can trigger a AGI script On SIP REGISTER event.
> On Wed, Nov 14, 2012 at 2:38 AM, Steve Edwards
>>
>> Well, an AGI runs in the context of a channel. A REGISTER does not.
>>
>> So, no.
On Wed, 14 Nov 2012, Face wrote:
> Is there a way to accomplish my goal ?
> On Wed, Nov 14, 2012 at 2:38 AM, Steve Edwards
I don't know what your goal is.
An AGI cannot execute without a channel and a REGISTER does not create a
channel.
Are you are asking 'Can I execute something when Asterisk receives a
REGISTER request?'
I'm just a 1.2 Luddite, but I suspect listening to events on the manager
interface (AMI) from an external daemon would be the way to go.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list