Adding new config option "limitpeersonly" to only apply call limits

to the peer side of a type=friend. 

This is for trying to support BJ in his quest to solve some issues
with the queue system and type=friend objects.

BJ: Please test!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2006-11-04 19:13:30 +00:00
parent 338c18486c
commit d900b47ccf
2 changed files with 29 additions and 5 deletions

View File

@@ -125,6 +125,12 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; for peers and users as well
;callevents=no ; generate manager events when sip ua
; performs events (e.g. hold)
;limitpeersonly=no ; Apply all call limits ("limit=") only to peers, never
; to users. This improves handling of call limits
; and device states in certain situations. The user part
; of a type=friend will still be affected by the call
; limit, but Asterisk will only use one object for
; counting the simultaneous calls.
;alwaysauthreject = yes ; When an incoming INVITE or REGISTER is to be rejected,
; for any reason, always reject with '401 Unauthorized'
; instead of letting the requester know whether there was