[asterisk-users] followme order field
D Tucny
d at tucny.com
Mon Jan 19 23:17:14 CST 2009
2009/1/19 Thomas Stein <thomas.stein at knowledgetools.de>
> Hello.
>
> Does someone know what "order field" means in followme.conf? The Doku says:
>
> number=> <number to call[&2nd #[&3rd #]]> [, <timeout value in seconds> [,
> <order in follow-me>] ]
>
> So an example would be:
>
> number=> 123&124&125,10,?
>
> It would be nice if someone could enlighten me.
>
As I understand it, Follow-me can take multiple number lines in the
config... (I've not used follow-me though, this is just from looking at
app_followme.c)
number => 123&124&125,10,1 ; Would call 123, 124 & 125 first (all at the
same time as the same syntax in a Dial string would do), trying for 10
seconds
number => 126,10,3 ; Would call 126 third, trying for 10 seconds
number => 127,10,2 ; Would call 127 second, trying for 10 seconds
In the example I've provided, 127 would be called before 126 due to the use
of the order field... If the order was not specified then 126 would be
called before 127 due to the order of the lines in the file...
Again, I've not used it, so not 100% sure that's how it works, but, that's
what it looks like to me... Hope it helps...
d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090120/89ce47e8/attachment.htm
More information about the asterisk-users
mailing list