[Asterisk-Users] Sip Groups

Kevin Bockman asterisk at wunderkin.com
Thu Sep 22 21:18:35 MST 2005


Tracy Peek wrote:
> I have 5 broadvoice accounts and have set up some database gets/puts to 
> determine of the account is in use when someone needs to make an 
> outbound call. I have tried adding "group=6" in sip.conf and then 
> dial(sip/G6) in extensions.conf to no avail. Should the group 
> declaration work in sip.conf?
No.  For -HEAD, use:
${GROUP_COUNT()}
and Set(GROUP())

Example:
GotoIf($[ ${GROUP_COUNT(g1)} > 22 ]?g2)
Set(GROUP()=g1)
NoOp(${GROUP_COUNT(g1)})

Otherwise, I think it corresponds to CheckGroup and SetGroup.



Kevin



More information about the asterisk-users mailing list