[Asterisk-Users] autoAnswer and autoAnswerLogin?

Stefan Reuter asterisk at stefan.de
Fri Feb 4 15:12:08 MST 2005


hi,

> bristuff comes with these two applications - and too little info to 
> understand what they are for. Anyone has a clue and is willing to share 
> it?

i don't really know what they are good for but i had a look at the
source and think i know what they do.

imagine you have two extension 8767 and 8768 like

exten => 8767,1,Autoanswer
exten => 8768,1,AutoanswerLogin(8767)

when you dial 8768 you get are logged in to the autoanswer channel for
extension 8767. You will hear music on hold until someone calls 8767.
When someone calls 8767 this call is directly bridged (autoanswered) to
8768 so can immediately talk to him.

AutoanswerLogin takes an extension and optionally a context as arguments
(default context is "default").

If someone else logs in the first caller to 8768 is automatically logged
of.

hope that helps

stefan

P.S. You can look at the implementation of this apps in
res/res_config.c. search for autoanswer.




More information about the asterisk-users mailing list