Re: asterisk: delay to answer

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Schwartz
Date:  
To: Main PLUG discussion list
CC: der.hans, Mike L Schwartz
Subject: Re: asterisk: delay to answer
On 8/4/07, der.hans <> 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)



shouldn't that be more like
s,1,Answer(20000)?
The doc (at the URL you gave),

> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Answer


said that the units were in milliseconds...
Just my 0:00:002,
--
Mike Schwartz
Glendale AZ


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss