RE: [Asterisk-Users] Call script after hangup

2003-09-05 Thread Frank N.
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

RE: [Asterisk-Users] Call script after hangup

2003-09-04 Thread 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

[Asterisk-Users] Call script after hangup

2003-09-04 Thread Frank N.
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

Re: [Asterisk-Users] Outgoing call answer confirmation

2003-09-03 Thread Frank N.
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

Re: [Asterisk-Users] Outgoing call answer confirmation

2003-09-03 Thread Frank N.
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

[Asterisk-Users] Outgoing call answer confirmation

2003-09-02 Thread Frank N.
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