Vieri
2008-Mar-28 13:02 UTC
[asterisk-users] wrong extension status when call-limit=1 is used
Without call-limit defined, when a sip extension calls another sip extension then "show hints" shows that both are InUse (as expected). When one of them hangs up, both hints status become "Idle" (as expected). With call-limit=1 for each SIP extension: the caller is always Idle while the callee is InUse. Is this behavior normal? Doesn't sound right because if, during the latter conversation, another extension calls the "caller" then it will ring (but shouldn't since call-limit=1 for everyone). The worst case is: if I call from SIP/6010 to SIP/4053, 4053 puts 6010 on hold, 6010 hangs up, then "show hints" shows that 6010 is Idle but 4053 is Busy and stays like that even if the 4053 softphone re-registers. The only way to clear this Busy state is to restart the asterisk daemon. "show channels" says that there are 0 active channels and 0 active calls. I am running asterisk 1.2.27. I require call-limit=1 or similar option because I would like the extensions to accept only one call at a time (whether receiving or calling). It can't be done on the client side because the softphones used don't allow that in their configuration (using SJphone). Does call-limit have a known bug (at least for call-limit=1)? Thanks, Vieri ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Johansson Olle E
2008-Mar-28 13:49 UTC
[asterisk-users] wrong extension status when call-limit=1 is used
Remember that if you enable call-limit=1 with a type=friend, you will actually have one inbound call (on the user) and one outbound call (on the peer). Groupcount in the dialplan is propably a better solution to enforce call limits than anything in the SIP channel. It works with all channel drivers too, as an extra benefit. Regards, /Olle
Vieri
2008-Mar-28 14:27 UTC
[asterisk-users] wrong extension status when call-limit=1 is used
--- Johansson Olle E <oej at edvina.net> wrote:> Remember that if you enable call-limit=1 with a > type=friend, you will > actually have one inbound call (on the user) > and one outbound call (on the peer). > > Groupcount in the dialplan is propably a better > solution to enforce > call limits than anything in the SIP channel. > It works with all channel drivers too, as an extra > benefit.Thanks but suppose the caller is sent to a queue and I want agents to ring only if they are not busy. How could I use groupcount in this case? (in * 1.2) ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping