<div>Okay, you need to explain to me a little more about why you're calling the list before connecting it to an extension.</div>
<div> </div>
<div>So for me, I use a .CALL file but I assume your setup does the same thing. It will call a number and once ANSWERED, pass it to an extension. Let's say we pass it to a LOCAL channel and have that then passed to the extension. Have the LOCAL be a bunch of Dial() strings. Humm, that will only go to the first line that gets answered--it wont check to see if it's a fax or answering machine. So that doesn't work.
</div>
<div> </div>
<div>You could so some complex thing with the manager. Connect a single call to an extension that decides if it's an answering machine, fax, or human. If human, it can do a GOTO command. If not human, it can set some type of GLOBAL var and hangup. When the Manager detects the EVENT "HANGUP" it can see if it made that call recently, if it did, then it can go to the next number in the list. Repeate. That does it, but it's not great.
</div>
<div> </div>
<div>I'd like to know more about why you're doing things the way you're doing them. There might be a better way.<br><br> </div>
<div><span class="gmail_quote">On 9/20/07, <b class="gmail_sendername">Carlos Chavez</b> <<a href="mailto:cursor@telecomabmex.com">cursor@telecomabmex.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> I am in need of some guidance regarding the following problem:<br><br>I need to dial an external number from a list(PSTN)
<br>I need to check if the number is busy, no answer or fail<br>If any of the above are met then I try another number from a list<br>If none of the above happen then I first need to determine if the line<br>answering is a fax machine or an answering machine
<br>If fax or answering machine then hangup and try next number<br>If human then connect to an internal extension<br><br> An outbound callcenter suite is overkill since we only need two or three<br>calls at a time. Can something like this be done using the Originate command
<br>on AMI? The main problem I have is that if I dial an external call and it<br>fails for some reason how do I know? Is there something like ${DIALSTATUS}<br>that can give me the result of that part of the call?<br><br>
We plan to have a web interface that will fire the call when you click a<br>button. That will fire an event that connects to the manager interface and<br>uses originate to dial the external call and then dial the internal extension
<br>if all conditions are met. The numbers will be in a database.<br><br>--<br>Carlos Chavez<br>Director de Tecnología<br>Telecomunicaciones Abiertas de México S.A. de C.V.<br>Tel: +52-55-91169161 Ext 2001<br><br><br>_______________________________________________
<br><br>Sign up now for AstriCon 2007! September 25-28th. <a href="http://www.astricon.net/">http://www.astricon.net/</a><br><br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.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><br clear="all"><br>-- <br>/Nick