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. cheers t.
Hi Thomas Stein this is the syntax of follow me exten = s,5,Macro(stdexten-followme,${ARG1},${ARG2}) On Mon, Jan 19, 2009 at 4:38 PM, Thomas Stein < thomas.stein at knowledgetools.de> wrote:> 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. > > cheers > t. > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.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/20090119/6b7ee063/attachment.htm
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
On Tuesday 20 January 2009 06:17:14 D Tucny wrote:> 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 secondsAh, now i understand. Thank you. cheers t.