projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3189e70
)
Copy musicclass to right field (bug #1582)
author
Mark Spencer
<markster@digium.com>
Sat, 8 May 2004 14:45:49 +0000
(14:45 +0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 8 May 2004 14:45:49 +0000
(14:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2924
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
b3c6290
..
45603ca
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-6648,7
+6648,7
@@
static struct sip_user *build_user(char *name, struct ast_variable *v)
/* set default context */
strncpy(user->context, context, sizeof(user->context)-1);
strncpy(user->language, language, sizeof(user->language)-1);
- strncpy(user->language, globalmusicclass, sizeof(user->musicclass)-1);
+ strncpy(user->musicclass, globalmusicclass, sizeof(user->musicclass)-1);
while(v) {
if (!strcasecmp(v->name, "context")) {
strncpy(user->context, v->value, sizeof(user->context));