[Asterisk-cvs] asterisk pbx.c,1.145,1.146

markster at lists.digium.com markster at lists.digium.com
Sat Aug 21 15:09:34 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv5678

Modified Files:
	pbx.c 
Log Message:
Save CID and switches in "save dialplan" command (bug #2279)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- pbx.c	21 Aug 2004 18:49:52 -0000	1.145
+++ pbx.c	21 Aug 2004 18:55:39 -0000	1.146
@@ -4864,6 +4864,16 @@
 	return ip ? ip->registrar : NULL;
 }
 
+int ast_get_extension_matchcid(struct ast_exten *e)
+{
+	return e ? e->matchcid : 0;
+}
+
+char *ast_get_extension_cidmatch(struct ast_exten *e)
+{
+	return e ? e->cidmatch : NULL;
+}
+
 char *ast_get_extension_app(struct ast_exten *e)
 {
 	return e ? e->app : NULL;




More information about the svn-commits mailing list