login | register
Thu 04 of Dec, 2008 [02:34 UTC]

voip-info.org

History

Asterisk func dialgroup

Created by: JustRumours,Last modification on Mon 28 of Jul, 2008 [23:42 UTC]

Function DIALGROUP

New in Asterisk 1.6

Adds a simple dialgroup function. By taking one of the simpler uses of Queue away from Queue, we simplify the lives of people who do not need all the bells and whistles. Also, this is part of the functions that people need to reimplement Queue in the dialplan, as a set of logic, rather than as a single app with hundreds of options.

Example

You can try to place your macro extensions into single dialgroup using DIALGROUP() function and then reference that dialgroup in the dial aplication:

 exten => 1,1,Set(DIALGROUP(test,add)=Local/100)
 exten => 1,n,Set(DIALGROUP(test,add)=Local/101)
 exten => 1,n,Dial(${DIALGROUP(test)})


See also



Comments

Comments Filter
222

333Use with Asterisk 1.4

by joel_vandal, Wednesday 17 of September, 2008 [15:44:07 UTC]
If you want to use this function on Asterisk 1.4 (tested with 1.4.21), simply copy funcs/func_dialgroup.c from Asterisk 1.6 to same directory on 1.4 and recompile. No change needed on source.