[Asterisk-Users] Wait for X rings before answering?

C Stephens asterisk at chuljin.com
Fri Dec 9 11:58:06 MST 2005


That's seconds. To get a certain number of rings, just find out the total
cycle time for the ring cadence you're using, then multiply by the number of
rings you want.

For example, the US ring cadence is 2 on, 4 off[, repeat]. So the total time
is 6 seconds per ring. For 4 rings, use 4x6=24.

On 12/9/05, Robert La Ferla <robertlaferla at comcast.net> wrote:
>
> I realize that it's a timeout but what's implicit in that is that
> Asterisk can't detect # of rings just the amount of time spent ringing?
> I have been looking at the reference manual on asteriskguru.com.  They
> say it's a timeout but they don't indicate the units.  Is it
> milliseconds, microseconds or seconds?
>
>
> Dave Cotton wrote:
> > On Fri, 2005-12-09 at 11:41 -0500, Robert La Ferla wrote:
> >
> >> Derek Whitten wrote:
> >>
> >>> [incoming]
> >>> exten => s,1,Dial(SIP/myext&SIP/myext1&SIP/myext2,25,t,r)
> >>> exten => s,2,Voicemail(myext)
> >>> exten => s,3,Hangup()
> >>>
> >>>
> >> Thanks.  This will call/ring multiple extensions but what about waiting
> >> for X rings before going to voicemail?  How do I do that?
> >>
> >
> > What do you think the 25 does?
> >
> > Maybe it's a time or something.
> >
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051209/871f1884/attachment.htm


More information about the asterisk-users mailing list