George Pajari
2005-May-09 00:23 UTC
[Asterisk-Users] AGI - How to Make Calls and Bridge to Original Incoming
I need to accept an incoming call, make a series of outgoing calls, and once I find someone willing to accept the call, bridge the original incoming call to the outgoing call. Using Dial from an AGI script isn't enough because once the Dial'ed number connects, the call is immediately bridged and I need to ask the called party if they will accept the call. I can see a couple of possibilities but I know the Asterisk gurus on this list can think of a better approach. (1) Throw the incoming caller into a conference, make the outgoing calls using outgoing directory until we get a winner, throw the willing called party into the same conference. (2) Park the incoming call, make the outgoing calls, transfer the willing called party to the parked call extension (not sure this will work but?)? What is the quality solution? -- George Pajari, netVOICE communications 604 484 VOIP (484 8647 x102) Open Source VoIP/Telephony Specialists 1 877 NET VOIP (638 8647 x102) www.netvoice.ca www.ip-centrex.ca www.digium.ca www.grandstream.ca www.sipura.ca www.snom.ca
TC
2005-May-09 01:25 UTC
[Asterisk-Users] AGI - How to Make Calls and Bridge to OriginalIncoming
Why not just keep it simple use dial with Macro argument and this std macro-screen like this http://lists.digium.com/pipermail/asterisk-users/2005-March/098257.html
George Pajari
2005-May-15 23:38 UTC
[Asterisk-Users] AGI - How to Make Calls and Bridge to Original Incoming
TC wrote:>Why not just keep it simple use dial with Macro argument >and this std macro-screen > >like this >http://lists.digium.com/pipermail/asterisk-users/2005-March/098257.html > >Thank you so much! I was not familiar with this option since we only run STABLE and this feature is only available from CVS. Since we cannot risk running our main switch on CVS what I have done is set up a second server in the rack running the current CVS version, IAX calls from our production server to this box which avails itself of this new Dial macro feature, uses IAX to link back to the production server to make the outbound calls, and then bridges the call once an outbound call has been accepted. Thanks again for your suggestion. Now to wait for Dial with Macros to make it to stable :-) g. -- George Pajari, netVOICE communications 604 484 VOIP (484 8647 x102) Open Source VoIP/Telephony Specialists 1 877 NET VOIP (638 8647 x102) www.netvoice.ca www.ip-centrex.ca www.digium.ca www.grandstream.ca www.sipura.ca www.snom.ca