Re: [asterisk-users] start n run an agi script on hangup

2008-06-14 Thread Steve Edwards
On Fri, 13 Jun 2008, Benjamin Jacob wrote: > I think, you can use the 'h' extension to invoke scripts (DeadAGI to be > more precise) on hungup channels. use something like this : > > exten => _X., 1, NoOp(got a call) > exten => _X., n, Dial(} > > > exten => h, 1, DeadAGI(hangupScript.sh) Ju

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Benjamin Jacob
e <[EMAIL PROTECTED]> wrote: > From: Robor Oghene <[EMAIL PROTECTED]> > Subject: Re: [asterisk-users] start n run an agi script on hangup > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > Date: Friday, June 13, 2008, 8:59 PM > Thanks a millio

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Steve Totaro
Two things jump to mind depending on the nature of your script. Both use the "h" extension, this is where a call will go when hungup. You can either use deadagi on the h extension or you can use exten = h,1,System(command). Thanks, Steve T On Fri, Jun 13, 2008 at 4:26 PM, Robor Oghene <[EMAIL P

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Sherwood McGowan
Robor Oghene wrote: > Thanks Sherwood, I haven't tried what the line you sent but I think it > would solve my problem I just hope it would run from asterisk > realtime... > > On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan > <[EMAIL PROTECTED] > wrote: > > Rob

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Sherwood McGowan
Robor Oghene wrote: > Thanks Sherwood, I haven't tried what the line you sent but I think it > would solve my problem I just hope it would run from asterisk > realtime... > > On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan > <[EMAIL PROTECTED] > wrote: > > Rob

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Robor Oghene
Thanks a million Sherwood!! On Fri, Jun 13, 2008 at 9:31 PM, Sherwood McGowan < [EMAIL PROTECTED]> wrote: > Robor Oghene wrote: > > Thanks Steve, I appreciate your response, I checked the link and it > > talks about an agi script running before and continuing after > > hangup. the problem I h

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Robor Oghene
Thanks Sherwood, I haven't tried what the line you sent but I think it would solve my problem I just hope it would run from asterisk realtime... On Fri, Jun 13, 2008 at 3:05 PM, Sherwood McGowan < [EMAIL PROTECTED]> wrote: > Robor Oghene wrote: > > hello All, > > > > How do I start and run an

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Sherwood McGowan
Robor Oghene wrote: > Thanks Steve, I appreciate your response, I checked the link and it > talks about an agi script running before and continuing after > hangup. the problem I have is that, I dont want to run an agi > while the channel is up. i want to start the script on on hangup >

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Robor Oghene
Thanks Steve, I appreciate your response, I checked the link and it talks about an agi script running before and continuing after hangup. the problem I have is that, I dont want to run an agi while the channel is up. i want to start the script on on hangup to do database cleanup.. i'd a

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Sherwood McGowan
Robor Oghene wrote: > hello All, > > How do I start and run an agi script on channel hang up? > > Rgds, > > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com

Re: [asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Steve Totaro
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI On Fri, Jun 13, 2008 at 9:29 AM, Robor Oghene <[EMAIL PROTECTED]> wrote: > hello All, > > How do I start and run an agi script on channel hang up? > > Rgds, > > ___ > -- Bandwidth and Colo

[asterisk-users] start n run an agi script on hangup

2008-06-13 Thread Robor Oghene
hello All, How do I start and run an agi script on channel hang up? Rgds, ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/l