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> <<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:384c93600608080524j76c2b33bwdb729621e7c4b0c9@mail.gmail.com">384c93600608080524j76c2b33bwdb729621e7c4b0c9@mail.gmail.com</a>>,<br>shawn bright <<a href="mailto:nephish@gmail.com">nephish@gmail.com
</a>> wrote:<br>><br>> 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>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 "callprogress"<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>> On 8/8/06, Tony Mountifield <<a href="mailto:tony@softins.clara.co.uk">
tony@softins.clara.co.uk</a>> wrote:<br>> ><br>> > 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,<br>> > 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>> ><br>><br>> -=-=-=-=-=-<br>> [Alternative: text/html]<br>> -=-=-=-=-=-<br>
> -=-=-=-=-=-<br>><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>><br>> -=-=-=-=-=-<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> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br>