summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-05-11 08:08:54 +0000
committerOlle Johansson <oej@edvina.net>2006-05-11 08:08:54 +0000
commit52cb5c87dbfff069a937392166c6b8c7d651f033 (patch)
treec2941c81053d5db10d6b44914ba6c5be8dd3cb77 /channels
parent52e35b96bfc726448eeccae7d43e2807c712b7c5 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f9cf83df2..194a40fd0 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);