From: Olle Johansson Date: Thu, 11 May 2006 08:08:54 +0000 (+0000) Subject: Issue #OEJ12399.3 - Set default maxcallbitrate for users too. X-Git-Tag: 1.4.0-beta1~1418 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52cb5c87dbfff069a937392166c6b8c7d651f033;p=thirdparty%2Fasterisk.git Issue #OEJ12399.3 - Set default maxcallbitrate for users too. (Well, could have opened a branch for this, but felt community pressure not to... ;-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26755 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f9cf83df27..194a40fd08 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12821,6 +12821,7 @@ static struct sip_user *build_user(const char *name, struct ast_variable *v, int ast_copy_flags(&user->flags[1], &global_flags[1], SIP_PAGE2_FLAGS_TO_COPY); user->capability = global_capability; user->allowtransfer = global_allowtransfer; + user->maxcallbitrate = default_maxcallbitrate; user->prefs = default_prefs; /* set default context */ strcpy(user->context, default_context);