diff options
author | Mark Spencer <markster@digium.com> | 2004-05-08 14:45:49 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-05-08 14:45:49 +0000 |
commit | 297e62b8be41e32390d04aa371a969ca12f4c54b (patch) | |
tree | 9419f5002d00d2ec9b9eb3732f917df608a9f812 | |
parent | 3189e70baa99fb986b2c891d9551c2ceaeee68cc (diff) |
Copy musicclass to right field (bug #1582)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b3c6290e2..45603ca4f 100755 --- 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)); |