Hi, Can someone please help to resolve the followinng issue: We would like an asterisk user to call a number and when the called party picks up the phone, we play a message (press 1 to accept call, 2 to reject call). Only when the called party presses "1", do we bridge the call and the two parties can communicate. What we would like though is that the person who makes the call be able to listen to the message "press 1 to accept call, 2 to reject call) that is played to the called party BUT not be able to communicate with him untill he presses "1". Is this possible in asterisk using php/agi? Any pointers hightly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/4a7a7f11/attachment.htm
but you dont really need both parties listen the same message. You can call the second partie (a new call maybe origiate action) when he answer you play both the message in each channel if he press one you bridge the channels. you first send rings to the caller then you make a new call and play the message and then you bridge the calls using the brige app in asterisk 1.6. David 2009/4/24 Deepak <dlalmtl at gmail.com>> Hi, > Can someone please help to resolve the followinng issue: > > We would like an asterisk user to call a number and when the called party > picks up the phone, we play a message (press 1 to accept call, 2 to reject > call). Only when the called party presses "1", do we bridge the call and the > two parties can communicate. > > What we would like though is that the person who makes the call be able to > listen to the message "press 1 to accept call, 2 to reject call) that is > played to the called party BUT not be able to communicate with him untill he > presses "1". > > Is this possible in asterisk using php/agi? > > Any pointers hightly appreciated. > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/e243ee25/attachment.htm
Mark Michelson
2009-Apr-24 21:43 UTC
[asterisk-users] listen to prompt before bridging call.
Deepak wrote:> Hi, > Can someone please help to resolve the followinng issue: > > We would like an asterisk user to call a number and when the called > party picks up the phone, we play a message (press 1 to accept call, 2 > to reject call). Only when the called party presses "1", do we bridge > the call and the two parties can communicate. > > What we would like though is that the person who makes the call be able > to listen to the message "press 1 to accept call, 2 to reject call) that > is played to the called party BUT not be able to communicate with him > untill he presses "1". > > Is this possible in asterisk using php/agi? > > Any pointers hightly appreciated. >I can come up with an easy way to do part of what you want. If you are using the Dial application, you can use the M option to run a macro on the called channel when he answers. Within that macro, you can play prompts to accept or reject the call. The problem is that this does not allow for the calling party to also hear the prompts. Mark Michelson
Maybe Matching Threads
- Asterisk AGI issues (at high load)
- SMB: : ver 2.2x vs 3.0 vs tng (diff's)?
- Removing mailbox and password prompt for voicemail
- Removing mailbox and password prompt for voicemail
- [Bug 60951] New: xf86-video-nouveau 1.0.6-1: Mouse cursor intermittently disappears, requiring reboot to resolve.