That makes perfect sense. It works perfectly.
Thanks to you and Matteo who suggested the same solution.
-Original Message-
From: Alastair Maw [mailto:[EMAIL PROTECTED]
Sent: 4 septembre, 2003 11:28
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Call script after hangup
Frank N
Thomas,
your
suggestion does work better.
However, I doesn't solve my problem. Here is
callscript.pl:
#!/usr/bin/perlprint "waiting...\n";sleep
5;`cp /usr/src/asterisk/sample.call /var/spool/asterisk/outgoing`;print
"call created\n";
The
problem is the incoming and outgoing calls are
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
ed. Unless you use some progress detection
algorithm that works for you. So try callprogress=yes.
regards
Martin
On Tue, 2 Sep 2003, Frank N. wrote:
> Using Digium's "Asterisk Developer's Kit (TDM)",
>
> I've been trying to make an outside call by copying sample.call t
ed. Unless you use some progress detection
algorithm that works for you. So try callprogress=yes.
regards
Martin
On Tue, 2 Sep 2003, Frank N. wrote:
> Using Digium's "Asterisk Developer's Kit (TDM)",
>
> I've been trying to make an outside call by copying sample.call t
Using Digium's "Asterisk Developer's Kit (TDM)",
I've been trying to make an outside call by copying
sample.call to /var/spool/asterisk/outgoing.
I want the VoiceMailMain to run when the call is
answered.
The call is made correctly but, as
you probably know, the application starts as soo