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 <[EMAIL PROTECTED]> wrote:

In article <[EMAIL PROTECTED]>,
Michael Kamleitner <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - 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
---------------------------------------------------------------------
[EMAIL PROTECTED]
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
_______________________________________________
--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

Reply via email to