[asterisk-users] asterisk novice needs help.

Drew Gibson drew at oanda.com
Fri Jul 20 16:08:05 CDT 2007


Jared Smith wrote:
> On Fri, 2007-07-20 at 02:08 -0400, BSumrall wrote:
>   
>> My dial plan of issues…..
>>     
>> exten => s,1,Answer(60)
>> exten => s,2,Background(otherwise-press)
>> exten => s,1,Playback(digits/1)
>> exten => s,2,Goto(default,s,1)
>> exten => s,1,Playback(digits/2)
>> exten => s,2,Goto(default,s,1)
>>     
>
> I'm not sure why you have three different sets of priorities one and two
> here... Also, you have a *very* long argument to the Answer()
> application.  Usually a second or two is plenty.  Try something like
> this:
>
>   
According to Asterisk 1.2.17 the delay is in milliseconds or, in this 
case, 0.06 seconds.

...
asterisk*CLI> show application Answer
asterisk*CLI>
  -= Info about application 'Answer' =-

[Synopsis]
Answer a channel if ringing

[Description]
  Answer([delay]): If the call has not been answered, this application will
answer it. Otherwise, it has no effect on the call. If a delay is specified,
Asterisk will wait this number of milliseconds before returning to
the dialplan after answering the call.

regards,

Drew

-- 
Drew Gibson

Systems Administrator
OANDA Corporation
416-593-6767 x322
www.oanda.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070720/f6a25574/attachment.htm 


More information about the asterisk-users mailing list