[Asterisk-cvs] asterisk pbx.c,1.151,1.152

markster at lists.digium.com markster at lists.digium.com
Thu Sep 9 16:03:52 CDT 2004


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

Modified Files:
	pbx.c 
Log Message:
Make ${CALLINGPRES} available (bug #2409)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- pbx.c	9 Sep 2004 13:00:21 -0000	1.151
+++ pbx.c	9 Sep 2004 20:05:57 -0000	1.152
@@ -934,6 +934,9 @@
 	} else if (c && !strcmp(var, "PRIORITY")) {
 		snprintf(workspace, workspacelen, "%d", c->priority);
 		*ret = workspace;
+	} else if (c && !strcmp(var, "CALLINGPRES")) {
+		snprintf(workspace, workspacelen, "%d", c->callingpres);
+		*ret = workspace;
 	} else if (c && !strcmp(var, "CHANNEL")) {
 		strncpy(workspace, c->name, workspacelen - 1);
 		*ret = workspace;




More information about the svn-commits mailing list