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.
in my case, I need to execute the AGI-script _after_ the user hung up & the
voicemail is recorded.
another ideas: is there away to tell the Voicemail-command to execute an
AGI-script when recording is finsihed?
michael
On 5/14/07, Tony Mountifield <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
Michael Kamleitner <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a way to execute commands in my dialplan specifically
when a
> caller has hung up. my curretn dialplan looks like this:
>
> exten => s,1,Answer
> exten => s,n(restart),BackGround(intro)
> exten => s,n,Read(Enter,4,4)
> exten => s,n,Voicemail(${Enter},u)
> exten => s,n,agi(process.php|${Enter})
> exten => #,1,Playback(thanks)
> exten => #,n,Hangup
>
> it lets a user record a message to a chosen voicebox, when the user
finishes
> his message my pressing "#", the script process.php is executed via AGI
> everything fine. however, when the user finishes recording by simply
hanging
> up, asterisk isn't executing the AGI-command any more. what I'm looking
for
> is some kind of "on hangup"-hook to catch this use-case...
>
> any help appreciated, thx!
Try something like:
exten => h,1,DeadAGI(process.php|${Enter})
Be prepared to experiment a bit!
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