[asterisk-users] Re: agi script runs even if no answer
Tony Mountifield
tony at softins.clara.co.uk
Tue Aug 8 00:31:56 MST 2006
In article <384c93600608071849r14942051h82113d8fc7247b77 at mail.gmail.com>,
shawn bright <nephish at gmail.com> wrote:
>
> i have a python script that drops a call.call file into the
> /var/spool/asterisk/outgoing directory
> the extension it points to reads like this
>
> [outboundmsg1]
> exten => s,1,Answer
> exten => s,2,Wait(3)
> exten => s,3,AGI(server_dialout.py)
> exten => s,4,Hangup
>
> the problem is that when the script is run, there is no pause to answer, and
> even if the phone is not answered, the script
> continues to run.
>
> any idea how to make the answer function stop and wait for the answer?
Please post the contents of the call file that you generate...
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list