[Asterisk-Users] Call script after hangup

Frank N. fnadeau at electrosolutions.ca
Thu Sep 4 05:53:36 MST 2003


Beginner: How can a script be called after a calling user hangup?

What's wrong with this:

[incoming]
exten => s,1,Playback,welcome
exten => s,2,Record,msgfile:gsm
exten => h,1,Goto(callscript,1,1)

[callscript]
exten => 1,1,Wait,5
exten => 1,2,System("SomeScript")

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030904/e0eac7fe/attachment.htm


More information about the asterisk-users mailing list