[Asterisk-cvs] asterisk/channels chan_sip.c,1.552,1.553

markster at lists.digium.com markster at lists.digium.com
Sun Nov 7 19:35:19 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Oops, set the userfield, not the account code...


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.552
retrieving revision 1.553
diff -u -d -r1.552 -r1.553
--- chan_sip.c	8 Nov 2004 00:35:23 -0000	1.552
+++ chan_sip.c	8 Nov 2004 00:37:02 -0000	1.553
@@ -6070,9 +6070,9 @@
 		/* Client code (from SNOM phone) */
 		if (p->useclientcode) {
 			if (p->owner && p->owner->cdr)
-				ast_cdr_setaccount(p->owner, c);
+				ast_cdr_setuserfield(p->owner, c);
 			if (p->owner && ast_bridged_channel(p->owner) && ast_bridged_channel(p->owner)->cdr)
-				ast_cdr_setaccount(ast_bridged_channel(p->owner), c);
+				ast_cdr_setuserfield(ast_bridged_channel(p->owner), c);
 			transmit_response(p, "200 OK", req);
 		} else {
 			transmit_response(p, "403 Unauthorized", req);




More information about the svn-commits mailing list