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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 7 08:32:27 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-07-2007 08:32 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.
====================================================================== 

---------------------------------------------------------------------- 
 eliel - 11-07-07 08:32  
---------------------------------------------------------------------- 
I think that limitonpeer is just a workaround to use a single structure to
store the call-limit  of a peer or a user and prevent weird conditions
while putting a call on-hold or other rare situations that block the
peer/user and doesn't decrement the call-limit on hangup. If the call is
incoming or outgoing and limitonpeer=yes it will be check call-limit only
in the peer structure. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-07-07 08:32  eliel          Note Added: 0073302                          
======================================================================




More information about the asterisk-bugs mailing list