Yep, its an analog channel, a land line to the Central Office.<br>
i did manage to get the connection fixed (had a broken line)<br>
that was driving me nuts. But still, if no one answers, i need to write something like<br>
an acknowlage requirement that will let me know.<br>
thanks for your help, i am a little closer now.<br>
-sk<br><br><div><span class="gmail_quote">On 8/8/06, <b class="gmail_sendername">Tony Mountifield</b> &lt;<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>&gt; 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 &lt;<a href="mailto:384c93600608080524j76c2b33bwdb729621e7c4b0c9@mail.gmail.com">384c93600608080524j76c2b33bwdb729621e7c4b0c9@mail.gmail.com</a>&gt;,<br>shawn bright &lt;<a href="mailto:nephish@gmail.com">nephish@gmail.com
</a>&gt; wrote:<br>&gt;<br>&gt; ok, here is the text written by my script in a file called drop.call in<br>&gt; /var/spool/asterisk/tmp. After the file is created, it is moved to<br>&gt; /var/spool/asterisk/outgoing<br>&gt;
<br>&gt; Channel: Zap/4/2441243<br>&gt; Callerid: 2445599<br>&gt; WaitTime: 15<br>&gt; Context: outboundmsg1<br>&gt; Extension: s<br>&gt;<br>&gt; thanks<br>&gt; sk<br><br>OK, so you are calling out via a Zap channel. Is this an analogue line
<br>or a digital line?<br><br>I suspect it is an analogue line, in which case it can be tricky to tell<br>when the line has been answered at the other end. I believe the default<br>is for Asterisk to consider the line answered as soon as the call is
<br>placed.<br><br>There is experimental support for call progress detection, which can<br>be enabled in /etc/asterisk/zapata.conf (look for the &quot;callprogress&quot;<br>option). However, I don't know anything about it, having never used it.
<br><br>The only way to make this really reliable is to use a digital interface,<br>either BRI or PRI.<br><br>Hope this helps<br>Cheers<br>Tony<br><br>&gt; On 8/8/06, Tony Mountifield &lt;<a href="mailto:tony@softins.clara.co.uk">
tony@softins.clara.co.uk</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; In article &lt;<a href="mailto:384c93600608071849r14942051h82113d8fc7247b77@mail.gmail.com">384c93600608071849r14942051h82113d8fc7247b77@mail.gmail.com</a>
&gt;,<br>&gt; &gt; shawn bright &lt;<a href="mailto:nephish@gmail.com">nephish@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; i have a python script that drops a call.call file into the<br>&gt; &gt; &gt; /var/spool/asterisk/outgoing directory
<br>&gt; &gt; &gt; the extension it points to reads like this<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [outboundmsg1]<br>&gt; &gt; &gt; exten =&gt; s,1,Answer<br>&gt; &gt; &gt; exten =&gt; s,2,Wait(3)<br>&gt; &gt; &gt; exten =&gt; s,3,AGI(server_dialout.py)
<br>&gt; &gt; &gt; exten =&gt; s,4,Hangup<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; the problem is that when the script is run, there is no pause to answer,<br>&gt; &gt; and<br>&gt; &gt; &gt; even if the phone is not answered, the script
<br>&gt; &gt; &gt; continues to run.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; any idea how to make the answer function stop and wait for the answer?<br>&gt; &gt;<br>&gt; &gt; Please post the contents of the call file that you generate...
<br>&gt; &gt;<br>&gt; &gt; Cheers<br>&gt; &gt; Tony<br>&gt; &gt; --<br>&gt; &gt; Tony Mountifield<br>&gt; &gt; 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>&gt; &gt; Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org">http://tony.mountifield.org</a><br>&gt; &gt; _______________________________________________<br>
&gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt;<br>&gt; &gt; asterisk-users mailing list<br>&gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt;<br>&gt;<br>&gt; -=-=-=-=-=-<br>&gt; [Alternative: text/html]<br>&gt; -=-=-=-=-=-<br>
&gt; -=-=-=-=-=-<br>&gt;<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt; asterisk-users mailing list
<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt; -=-=-=-=-=-<br><br>
<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>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>