On 8/4/07, der.hans <PLUGd@lufthans.com> wrote:
moin moin,
trying to get Asterisk setup. I've got a card with a POTS line plugged
in.
I can get it to pick up almost immediated by setting s,1 to Answer, but I
want it to delay a few rings and give a chance to answer the phone.
Most of the documentation I'm seeing is saying to use the Wait() command.
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Wait
exten => s,1,Wait(5)
exten => s,n,Answer( )
That results in Asterisk not answering the phone at all.
Hmm, there's a delay parameter for Answer(), which simplifies things a
little.
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Answer
exten => s,1,Answer(50)
That also results in Asterisk not picking up.
Moving back to just s,1,Answer( ) gets a response after two rings.
Also, do the delimeters matter?
s,1,Wait(30)
s,1,Wait,30
s,n,Answer( )
s,n,Answer
s,n,Goto(fred,s,4)
s,n,Goto,fred|s|4
I've seen all 6 styles in the documentation tonight.
ciao,
der.hans
--
# https://www.LuftHans.com/ http://www.CiscoLearning.org/
# [...]
---------------------------------------------------
PLUG-discuss mailing list -[...]
> exten => s,1,Answer(50)
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Answersaid that the units were in milliseconds...