Hello there all.<br>
<br>
i have an agi-bin python script that calls out when a file is dropped into the /var/spool/outgoing<br>
the script seems to work, and the call is placed, but the script runs without knowing when the phone is picked up.<br>
i mean, the call is made, and the script begins to run. So by the time it is answered, most of it has already played out.<br>
<br>
is there a way that asterisk can initiate a phone call and wait to run the script untill after the phone is answered?<br>
<br>
also, is there a way to know when the line is disconnected ? I would
like to write a function that would kill my script if the phone is
disconnected.<br>
<br>
This is for an IVR application where we phone out to our customers if the status of one of their machines changes<br>
<br>
thanks for any tips,<br>
<br>
shawn<br>