]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Issue #OEJ12399.3 - Set default maxcallbitrate for users too.
authorOlle Johansson <oej@edvina.net>
Thu, 11 May 2006 08:08:54 +0000 (08:08 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 11 May 2006 08:08:54 +0000 (08:08 +0000)
(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

channels/chan_sip.c

index f9cf83df279568f475f520cc326a01fe18db0911..194a40fd085a7aeee999342465f38af969325900 100644 (file)
@@ -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);