[Asterisk-cvs] asterisk/apps app_disa.c,1.19,1.20

jim at lists.digium.com jim at lists.digium.com
Thu Dec 9 17:41:45 CST 2004


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

Modified Files:
	app_disa.c 
Log Message:
Fixed call parking, added separate paramater to allow/disallow call parking on
Zaptel interfaces (canpark=yes/no in zapata.conf), added urlbase paramater to
Monitor so that a url can optionally be included in CDR (user field), cleaned up a couple of minor things


Index: app_disa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_disa.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- app_disa.c	31 Oct 2004 23:28:42 -0000	1.19
+++ app_disa.c	9 Dec 2004 22:39:14 -0000	1.20
@@ -330,7 +330,7 @@
 		strncpy(chan->context, ourcontext, sizeof(chan->context) - 1);
 		strncpy(chan->accountcode, acctcode, sizeof(chan->accountcode) - 1);
 		chan->priority = 0;
-		ast_cdr_init(chan->cdr,chan);
+		ast_cdr_reset(chan->cdr,AST_CDR_FLAG_POSTED);
 		LOCAL_USER_REMOVE(u);
 		return 0;
 	}




More information about the svn-commits mailing list