[Asterisk-Users] Execute command after hangup / MWI

Martin Pycko martinp at digium.com
Sat May 3 09:35:27 MST 2003


extension 'h' is executed from the current context when the call is hanged
up

exten => h,1,System,"shutdown -r 0"

Martin

On Sat, 3 May 2003, Christoph Frei wrote:

> Hi guys,
>
> is there any way to execute a command *after* a caller has hung up the
> call? Something like
>
> exten => s,1,Voicemail
> exten => s,2,AGI(mwi.agi)
>
> I'd like to turn off the MWI on my cellphone (which is done by gammu[1])
>
> Or does anyone know a way to check the state of the MWI from outside,
> i.e. with a cron-job? I'm turning on the MWI with the email-notify from
> voicemail, but this only work to turn it on...
>
>
>
> Greetings,
>
> Christoph
>
>
> [1] http://www.mwiacek.com/english/gsm/gammu/gammu.html
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list