|
Thomas,
your
suggestion does work better.
However, I doesn't solve my problem. Here is
callscript.pl:
#!/usr/bin/perl
print "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 made on the same channel
(Zap/1).
I
believe the porblem is that, since the incoming call is not "closed"
before the outgoing call is created, the outgoing call does not
work.
I was
hoping the delay would solve this problem... but obviously it
doesn't.
Do you
have any suggestions?
Thank
you.
|
- [Asterisk-Users] Call script after hangup Frank N.
- AW: [Asterisk-Users] Call script after hangup Thomas Haeger
- RE: [Asterisk-Users] Call script after hangup Dave Wilson
- Re: [Asterisk-Users] Call script after hangup Frank N.
- Re: [Asterisk-Users] Call script after hangup Alastair Maw
- RE: [Asterisk-Users] Call script after hangup Brancaleoni Matteo
- RE: [Asterisk-Users] Call script after han... Brancaleoni Matteo
- RE: [Asterisk-Users] Call script after hangup Frank N.
