aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 05:39:33 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-05 05:39:33 +0000
commit6a262d98eeee9e0b4bfac92d88aacad6c4fab935 (patch)
treed1f6c678019f87fb5730998dc62af2c209dc66d6 /channels/chan_sip.c
parent7fe9220d99afa1950199d7effe66b81aa2ec64b7 (diff)
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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5583 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7cfef57d1..aac664dc3 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -7875,9 +7875,9 @@ static struct ast_cli_entry cli_no_history =
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,
};