ok, here is the text written by my script in a file called drop.call in <br>
/var/spool/asterisk/tmp. After the file is created, it is moved to <br>
/var/spool/asterisk/outgoing<br>
<br>
Channel: Zap/4/2441243<br>
Callerid: 2445599<br>
WaitTime: 15<br>
Context: outboundmsg1<br>
Extension: s<br>
<br>
thanks<br>
sk<br><br><div><span class="gmail_quote">On 8/8/06, <b class="gmail_sendername">Tony Mountifield</b> <<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In article <<a href="mailto:384c93600608071849r14942051h82113d8fc7247b77@mail.gmail.com">384c93600608071849r14942051h82113d8fc7247b77@mail.gmail.com</a>>,<br>shawn bright <<a href="mailto:nephish@gmail.com">nephish@gmail.com
</a>> wrote:<br>><br>> i have a python script that drops a call.call file into the<br>> /var/spool/asterisk/outgoing directory<br>> the extension it points to reads like this<br>><br>> [outboundmsg1]<br>
> exten => s,1,Answer<br>> exten => s,2,Wait(3)<br>> exten => s,3,AGI(server_dialout.py)<br>> exten => s,4,Hangup<br>><br>> the problem is that when the script is run, there is no pause to answer, and
<br>> even if the phone is not answered, the script<br>> continues to run.<br>><br>> any idea how to make the answer function stop and wait for the answer?<br><br>Please post the contents of the call file that you generate...
<br><br>Cheers<br>Tony<br>--<br>Tony Mountifield<br>Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk">http://www.softins.co.uk</a><br>Play: <a href="mailto:tony@mountifield.org">
tony@mountifield.org</a> - <a href="http://tony.mountifield.org">http://tony.mountifield.org</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>