I think you could accomplish this with EAGI or the manager interface. You should also read: http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out
On a side note, we spent lots of time when we setup our Asterisk system dealing with the answer detection for PSTN calls. We use Teliax for VoIP traffic as well as a 4-port Digium FXO card. We have come to understand that POTS lines can not accurately handle answer detection and that some of the 800 numbers (e.g. American Airlines, Staples, etc.) also pose problems even for all-digital services (including T1 carriers). We have had the most success placing PSTN calls if we Answer() the call first and then Dial() the PSTN telephone number. This also allows VoIP users to accurately hear telco messages (such as this number is not in service) that happen before the channel is answered. After weeks of debugging and testing I think that accurate answer detection on the PSTN will be the most complicated part of what you are attempting to do. Granted if you are calling a limited set of numbers you can probably test it and see how it works but I would proceed with caution. And just remember that this has nothing to do with Asterisk it is an unfortunate part of the PSTN. The better solution would be to call user 1 and play a repeated prompt saying "Press # to initiate your connection". Then on DTMF# you would initiate the second call. It's not elegant but it's bullet proof. Hope that helps, Cullin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Billy Dunn Sent: Tuesday, July 26, 2005 6:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Automatic setup of calls between two externallines Rob Scott wrote: >Is it possible to automatically set up a call between two external >lines? >I would like Asterisk is call a cellphone number, wait for it to answer, >and then call another cellphone, when that answers connect the two >together. >I assume it is possible but can someone point me how to do it. > >Thanks. >_______________________________________________ >Asterisk-Users mailing list >[email protected] >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > I think this is possible, but the conversation will look like this: 1st cell phone -- asterisk -- 2nd cell phone _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
