[Asterisk-cvs] asterisk/channels chan_local.c,1.31,1.32

markster at lists.digium.com markster at lists.digium.com
Mon Jul 12 11:00:26 CDT 2004


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

Modified Files:
	chan_local.c 
Log Message:
First pass at properly handling account codes in forwarding


Index: chan_local.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_local.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- chan_local.c	22 Jun 2004 18:49:00 -0000	1.31
+++ chan_local.c	12 Jul 2004 14:46:10 -0000	1.32
@@ -252,6 +252,9 @@
 	else
 		p->chan->ani = NULL;
 	strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
+	strncpy(p->chan->accountcode, p->owner->accountcode, sizeof(p->chan->accountcode) - 1);
+	p->chan->cdrflags = p->owner->cdrflags;
+	
 	p->launchedpbx = 1;
 	/* Start switch on sub channel */
 	res = ast_pbx_start(p->chan);




More information about the svn-commits mailing list