[Asterisk-cvs] asterisk/channels chan_sip.c,1.900,1.901

kpfleming kpfleming
Mon Oct 31 16:51:49 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv5545/channels

Modified Files:
	chan_sip.c 
Log Message:
properly support 'musicclass' setting for peers/users (issue #5521)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.900
retrieving revision 1.901
diff -u -d -r1.900 -r1.901
--- chan_sip.c	30 Oct 2005 21:36:27 -0000	1.900
+++ chan_sip.c	31 Oct 2005 21:43:53 -0000	1.901
@@ -11835,7 +11835,7 @@
 			user->pickupgroup = ast_get_group(v->value);
 		} else if (!strcasecmp(v->name, "language")) {
 			ast_copy_string(user->language, v->value, sizeof(user->language));
-		} else if (!strcasecmp(v->name, "musiconhold")) {
+		} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold")) {
 			ast_copy_string(user->musicclass, v->value, sizeof(user->musicclass));
 		} else if (!strcasecmp(v->name, "accountcode")) {
 			ast_copy_string(user->accountcode, v->value, sizeof(user->accountcode));




More information about the svn-commits mailing list