[Asterisk-Users] How to require a keypress on answer?

C F shmaltz at gmail.com
Thu Sep 1 20:46:54 MST 2005


I believe the c option will do what you want, but to the best of
knowledge is only available for zap channels:
http://www.voip-info.org/wiki-Asterisk+ZAP+channels


On 9/1/05, Tony Mountifield <tony at softins.clara.co.uk> wrote:
> [apologies if this comes through twice - the original
> doesn't seem to have shown up even after 16 hours]
> 
> In the handling of agents, when using AgentCallbackLogin, a call placed to
> an agent needs to be accepted by the agent pressing the '#' key.
> 
> I'm trying to replicate that kind of operation in a non-agent scenario: I
> want to call Dial() from my dialplan, play an announcement to the called
> party if they answer, and then for the dialplan to be able to tell if the
> called party pressed a key or not. This is for an alarm application to
> know it got through to a person and not just an answering machine.
> 
> I've tried using the M() option to call a macro, but any channel variables
> created in the macro are created in the called channel and not the calling
> channel, so I can't use them to pass status back to the dialplan.
> 
> This is on a system running Asterisk 1.0.
> 
> Any ideas gratefully received!
> 
> Cheers
> Tony
> --
> Tony Mountifield
> Work: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - http://tony.mountifield.org
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list