Hi All, I use the SetGroup command to identify if a specific extension is in use. I create a group for each extension and check against that group name when putting through any further calls. A problem I am finding is that with internal calls I want to increment both the called and calling extension and SetGroup only appears to allow a call to be in a single group. Ideally I would like to specify that the call is a member of multiple groups. Does anyone know of a workaround or am I doing things wring Thanks Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050110/61b5db4d/attachment.htm
Daniel Niasoff wrote:> A problem I am finding is that with internal calls I want to increment > both the called and calling extension and SetGroup only appears to allow > a call to be in a single group. Ideally I would like to specify that the > call is a member of multiple groups.That is correct, if you do not use category names. If you supply a category name as well, a channel can be in multiple groups, one per category. Also check out the OUTBOUND_GROUP variable that you can pass to Dial(), so that it will put the channel it creates into a group for you (since you can't call SetGroup on that channel easily).