]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update mod_skel config example
authorMathieu Rene <mrene@avgs.ca>
Sun, 8 Mar 2009 21:53:02 +0000 (21:53 +0000)
committerMathieu Rene <mrene@avgs.ca>
Sun, 8 Mar 2009 21:53:02 +0000 (21:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12528 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_skel/mod_skel.c

index 39293f03b29195d87a5d5fc9fc41e649195542ae..e6ca9d91819e9d569176a64f1d0fe96114b42d5d 100644 (file)
@@ -83,10 +83,14 @@ static switch_xml_config_enum_item_t config_opt_codec_negotiation_enum[] = {
 
 static switch_xml_config_item_t instructions[] = {
        /* parameter name        type                 reloadable   pointer                         default value     options structure */
-       SWITCH_CONFIG_ITEM("codec-negotiation-str", SWITCH_CONFIG_STRING, CONFIG_RELOADABLE, &globals.codec_negotiation_str, "greedy", &config_opt_codec_negotiation),
-       SWITCH_CONFIG_ITEM("codec-negotiation", SWITCH_CONFIG_ENUM, CONFIG_RELOADABLE, &globals.codec_negotiation,  (void*)CODEC_NEGOTIATION_GREEDY, &config_opt_codec_negotiation_enum),
-       SWITCH_CONFIG_ITEM_CALLBACK("sip-trace", SWITCH_CONFIG_BOOL, CONFIG_RELOADABLE, &globals.sip_trace,  (void*)SWITCH_FALSE,  config_callback_siptrace, NULL ),
-       SWITCH_CONFIG_ITEM("integer", SWITCH_CONFIG_INT, CONFIG_RELOADABLE | CONFIG_REQUIRED, &globals.integer, (void*)100, &config_opt_integer),
+       SWITCH_CONFIG_ITEM("codec-negotiation-str", SWITCH_CONFIG_STRING, CONFIG_RELOADABLE, &globals.codec_negotiation_str, "greedy", &config_opt_codec_negotiation, \
+               "greedy|generous|evil", "Specifies the codec negotiation scheme to be used."),
+       SWITCH_CONFIG_ITEM("codec-negotiation", SWITCH_CONFIG_ENUM, CONFIG_RELOADABLE, &globals.codec_negotiation,  (void*)CODEC_NEGOTIATION_GREEDY, &config_opt_codec_negotiation_enum,
+               "greedy|generous|evil", "Specifies the codec negotiation scheme to be used."),
+       SWITCH_CONFIG_ITEM_CALLBACK("sip-trace", SWITCH_CONFIG_BOOL, CONFIG_RELOADABLE, &globals.sip_trace,  (void*)SWITCH_FALSE,  config_callback_siptrace, NULL ,
+               "yes|no", "If enabled, print out sip messages on the console."),
+       SWITCH_CONFIG_ITEM("integer", SWITCH_CONFIG_INT, CONFIG_RELOADABLE | CONFIG_REQUIRED, &globals.integer, (void*)100, &config_opt_integer,
+               NULL, NULL),
        SWITCH_CONFIG_ITEM_END()
 };