I would like to have two phones acting like one phone. Explaining it is a bit difficult, even though what I want is really simple. Assume that I have two phones, a wireless and a wired phone. Both are in the Dial(), so whenever a call comes in, both of the phones ring. If I happen to be at the desk, I pick up the wired phone and talk. If a second call comes in, the wireless phone will be ringing even though I'm busy on the wired phone. I would like the second caller to get a busy tone. 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. Ideas welcome... /Benny
Why don't you simply give them separate extensions and put them in a ring group. Or disable call waiting on this phone, and forward the second call using Call Forward On Busy to a queue, where MoH file will be a busy phone signal. Called will hear a busy phone signal and the second phone will still be ringing. But whats the point to make the second phone ring if caller is hearing a busy tone. He'll hang up anyways. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060921/9ac6b246/attachment.htm
21 Sep 2006 12:15:01 +0200, Benny Amorsen <benny+usenet@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@category) Hope this helps... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060922/f323155b/attachment.htm
>>>>> "p" == picciuX <matteo@picciux.it> writes:p> Why not? Use "group categories"... you can assign two groups to the p> same channel if they are different categories... Thank you very much. A colleague of mine found the time to test this, and it works. Next challenge: figure out how to add a call to a group when a queue member picks it up from a queue. /Benny