We're doing callback here. Asterisk dials a number, waits for an answer, plays a prompt, dials a second number, and bridges the channels together. Calls are initiated from the AMI. No problems there. Easy stuff. However, I'd like to know if it's possible to have Asterisk dial the same two numbers simultaneously, play the prompt to the first one that answers, dial the second one and bridge the two channels together.....? I'm not even sure how this would work within the limits of the dial plan. Normally, the dialing of the first leg is implicit (the channel in an AMI originate command), that is, there is no dial plan code for it, although you can specify a Local channel and asterisk will then jump into the dial plan to dial the first number. Once the first one answers, Asterisk jumps to the location specified by the second number (ie exten at context) and calls it, and bridges them together. How would this work with simultaneous numbers? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/013a0eea/attachment.htm
You could hack it up by dropping them both into the same conference. You'd have to tweak the messages and other conference settings, but it would certainly work. Not as efficient as bridging though..... Tim. ----- Original Message ----- From: "Douglas Garstang" <dougmig33 at yahoo.com> To: asterisk-users at lists.digium.com Sent: 08 January 2008 20:43:41 o'clock (GMT) Europe/London Subject: [asterisk-users] Simultaneous Callback?! We're doing callback here. Asterisk dials a number, waits for an answer, plays a prompt, dials a second number, and bridges the channels together. Calls are initiated from the AMI. No problems there. Easy stuff. However, I'd like to know if it's possible to have Asterisk dial the same two numbers simultaneously, play the prompt to the first one that answers, dial the second one and bridge the two channels together.....? I'm not even sure how this would work within the limits of the dial plan. Normally, the dialing of the first leg is implicit (the channel in an AMI originate command), that is, there is no dial plan code for it, although you can specify a Local channel and asterisk will then jump into the dial plan to dial the first number. Once the first one answers, Asterisk jumps to the location specified by the second number (ie exten at context) and calls it, and bridges them together. How would this work with simultaneous numbers? _______________________________________________
>We're doing callback here. Asterisk dials a number, waits for an answer,plays a prompt, dials a second number, and bridges the channels together.>Calls are initiated from the AMI. >No problems there. Easy stuff.We want to generate two accounting records for the bridged calls so that the user is billed for both outbound calls. Do you do that? If so, would you share how do you that? Regards Cameron