<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff size=2>Hi
Frank,</FONT></SPAN></DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff size=2>why
you so complicated ?</FONT></SPAN></DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff size=2>Try
following:</FONT></SPAN></DIV>
<DIV><SPAN class=919523913-04092003></SPAN> </DIV>
<DIV><SPAN class=919523913-04092003>
<DIV><FONT face=Arial color=#0000ff size=2>[incoming]</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>exten =>
s,1,Playback,welcome</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>exten =>
s,2,Record,msgfile:gsm</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>exten => h,1,<SPAN
class=919523913-04092003>System</SPAN>(<SPAN
class=919523913-04092003>/home/frank/</SPAN>callscript<SPAN
class=919523913-04092003>.pl</SPAN>)</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff size=2>as
sample ... :-)</FONT></SPAN></DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919523913-04092003><FONT face=Arial color=#0000ff
size=2>Thomas.</FONT></SPAN></DIV></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]<B>Im Auftrag von </B>Frank
N.<BR><B>Gesendet:</B> Donnerstag, 4. September 2003 14:54<BR><B>An:</B>
asterisk-users@lists.digium.com<BR><B>Betreff:</B> [Asterisk-Users] Call
script after hangup<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Beginner: How can a script be called after a
calling user hangup?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What's wrong with this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[incoming]</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => s,1,Playback,welcome</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => s,2,Record,msgfile:gsm</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => h,1,Goto(callscript,1,1)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[callscript]</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => 1,1,Wait,5</FONT></DIV>
<DIV><FONT face=Arial size=2>exten => 1,2,System("SomeScript")</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV></BLOCKQUOTE></BODY></HTML>