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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] - http://www.softins.co.uk
> Play: [EMAIL PROTECTED] - http://tony.mountifield.org
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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
>
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to