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       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- 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