[asterisk-users] Re: dialplan: execute on hangup

Michael Kamleitner michael.kamleitner at gmail.com
Mon May 14 15:19:31 MST 2007


thx a lot Tony, I didn't know about using the h-extension (I'm new to
Asterisk)!

this way it works:

...
exten => s,n,Voicemail(${Enter},u)
exten => s,n,AGI(foneboxx.php|${Enter})
exten => h,1,DeadAGI(foneboxx.php|${Enter})

greetings,
michael



On 5/14/07, Tony Mountifield <tony at softins.clara.co.uk> wrote:
>
> In article <727040580705140540y216c4a48l78073b4d97ca79b1 at mail.gmail.com>,
> Michael Kamleitner <michael.kamleitner at gmail.com> wrote:
> >
> > thx Tony, but DeadAGI doesn't seem to fit my needs... the way I
> understand
> > its functioniality (
> > http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI),
> DeadAGI
> > is ensureing that an executed AGI-script is finished, even if the caller
> > hung up _during_ execution.
>
> This is true, but DeadAGI will also work when the channel is already hung
> up.
>
> > in my case, I need to execute the AGI-script _after_ the user hung up &
> the
> > voicemail is recorded.
>
> That's exactly what DeadAGI is for. I use DeadAGI extensively within the
> 'h'
> extension to do post-call processing for my applications.
>
> > another ideas: is there away to tell the Voicemail-command to execute an
> > AGI-script when recording is finsihed?
>
> Not without modifying the source code.
>
> Cheers
> Tony
>
> --
> Tony Mountifield
> Work: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - http://tony.mountifield.org
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Mag. Michael Kamleitner
---------------------------------------------------------------------
kamleitner at m-otion.com
https://www.xing.com/profile/Michael_Kamleitner
---------------------------------------------------------------------
m-otion GmbH
Favoritenstr 4-6/III, 1040 Wien
+43 1 205705 / 21 (Fax 99)
---------------------------------------------------------------------
www.m-otion.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070514/8d34d178/attachment.htm


More information about the asterisk-users mailing list