[Asterisk-cvs] asterisk/channels chan_sip.c,1.726,1.727

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu May 5 01:32:36 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
major re-work of dialplan functions, including:

 - locking of functions list during registration/unregistration/searching
 - rename of function description structure to be consistent with the rest of the API
 - addition of 'desc' element to description structure, for detailed description (like applications)
 - addition of 'show function' CLI command to show function details
 - conversion of existing functions to use uppercase names to match policy
 - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
 - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory



Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.726
retrieving revision 1.727
diff -u -d -r1.726 -r1.727
--- chan_sip.c	4 May 2005 19:22:45 -0000	1.726
+++ chan_sip.c	5 May 2005 05:39:33 -0000	1.727
@@ -7875,9 +7875,9 @@
 static struct ast_cli_entry  cli_no_debug =
 	{ { "sip", "no", "debug", NULL }, sip_no_debug, "Disable SIP debugging", no_debug_usage };
 
-static struct ast_custom_function_obj sip_header_function = {
+static struct ast_custom_function sip_header_function = {
 	.name = "SIP_HEADER",
-	.desc = "Gets or sets the specified SIP header",
+	.synopsis = "Gets or sets the specified SIP header",
 	.syntax = "SIP_HEADER(<name>)",
 	.read = func_header_read,
 };




More information about the svn-commits mailing list