[asterisk-users] Two phones, same number
picciuX
matteo at picciux.it
Fri Sep 22 07:20:09 MST 2006
21 Sep 2006 12:15:01 +0200, Benny Amorsen <benny+usenet at amorsen.dk>:
>
> I have considered various ways to solve this. One is to make a queue,
> and only allow one caller in the queue. As far as I can see this won't
> work, at least not when I am busy because I did an outgoing call.
> Another way is to use GROUP() to put the calls in a separate group,
> and return busy when GROUP_COUNT > 0. Unfortunately I am already using
> the GROUP() functionality for something different on those calls --
> and it seems a call can't be in two GROUP()'s simultaneously.
>
Why not? Use "group categories"...
you can assign two groups to the same channel if they are different
categories...
Set(GROUP(cat1)=groupname1)
Set(GROUP(cat2)=groupname2)
if you want to count channels in a group for a specified category, use
GROUP_COUNT(groupname at category)
Hope this helps...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060922/f323155b/attachment.htm
More information about the asterisk-users
mailing list