[asterisk-bugs] [Asterisk 0011180]: call limits not work as expected (limitonpeer, busy-level)

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 19 03:02:56 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11180 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11180
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89081 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-07-2007 05:05 CST
Last Modified:              11-19-2007 03:02 CST
====================================================================== 
Summary:                    call limits not work as expected (limitonpeer,
busy-level)
Description: 
probably most wanted scenario is to let users place unlimited number of
outgoing calls from their sip phones (to be able to transfer etc.), but
indicate busy condition for calls to their phones, when one call already
exist (no matter if incomming or outgoing). 
to achieve this, I set 'limitonpeer=yes' in [general] to be able to limit
only outgoing calls from asterisk to sip device (peer from asterisk
perspective, incomming call from sip phone perspective) and set
call-limit=1 in type=friend phone definition.
but seems, that limitonpeer=yes is actualy not working, because from sip
phone I can place only single call, so limited is also 'user' part in
asterisk phone definition.
I tried also set call-limit=2 and busy-level=1, but this permit call to
sip phone, even if I have already placed call from this phone. I think that
'busy-level' should work or count calls fot both directions, to correctly
indicate 'busy' condition if user already has call.
====================================================================== 

---------------------------------------------------------------------- 
 oej - 11-19-07 03:02  
---------------------------------------------------------------------- 
busy-level is just for signalling to subscribers, not used in the dial plan
for dialling out to the peer. For controlling that, you better use the
dialplan functions (groupcount etc) for control.  The call limit is
enforced in the dial plan.

We might want to add busy-level to the sip_peer() dialplan function, so
you can use that to enforce busy-level in the dialplan. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-19-07 03:02  oej            Note Added: 0073903                          
======================================================================




More information about the asterisk-bugs mailing list