AW: [Asterisk-Users] Call script after hangup

Thomas Haeger thomas.haeger at beronet.com
Thu Sep 4 06:41:46 MST 2003


Hi Frank,
why you so complicated ?

Try following:

[incoming]
exten => s,1,Playback,welcome
exten => s,2,Record,msgfile:gsm
exten => h,1,System(/home/frank/callscript.pl)

as sample ... :-)

Regards,

Thomas.
  -----Ursprüngliche Nachricht-----
  Von: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]Im Auftrag von Frank N.
  Gesendet: Donnerstag, 4. September 2003 14:54
  An: asterisk-users at lists.digium.com
  Betreff: [Asterisk-Users] Call script after hangup


  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/2ea3d760/attachment.htm


More information about the asterisk-users mailing list