[asterisk-commits] russell: branch russell/data_retrieval r111945 - /team/russell/data_retrieval...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Mar 29 00:30:32 CDT 2008
Author: russell
Date: Sat Mar 29 00:30:32 2008
New Revision: 111945
URL: http://svn.digium.com/view/asterisk?view=rev&rev=111945
Log:
add a few more settings to the sip_settings data provider
Modified:
team/russell/data_retrieval/channels/chan_sip.c
Modified: team/russell/data_retrieval/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/russell/data_retrieval/channels/chan_sip.c?view=diff&rev=111945&r1=111944&r2=111945
==============================================================================
--- team/russell/data_retrieval/channels/chan_sip.c (original)
+++ team/russell/data_retrieval/channels/chan_sip.c Sat Mar 29 00:30:32 2008
@@ -21458,6 +21458,18 @@
ast_test_flag(&global_flags[1], SIP_PAGE2_TEXTSUPPORT));
res |= ast_data_node_add_child_bool(settings_node, "autocreatepeer", autocreatepeer);
res |= ast_data_node_add_child_bool(settings_node, "match_auth_username", global_match_auth_username);
+ res |= ast_data_node_add_child_bool(settings_node, "allowguest", global_allowguest);
+ res |= ast_data_node_add_child_bool(settings_node, "allowsubscribe",
+ ast_test_flag(&global_flags[1], SIP_PAGE2_ALLOWSUBSCRIBE));
+ res |= ast_data_node_add_child_bool(settings_node, "callcounter", global_callcounter);
+ res |= ast_data_node_add_child_bool(settings_node, "allowoverlap",
+ ast_test_flag(&global_flags[1], SIP_PAGE2_ALLOWOVERLAP));
+ res |= ast_data_node_add_child_bool(settings_node, "promiscredir",
+ ast_test_flag(&global_flags[0], SIP_PROMISCREDIR));
+ res |= ast_data_node_add_child_bool(settings_node, "sip_domain_support",
+ !AST_LIST_EMPTY(&domain_list));
+ res |= ast_data_node_add_child_bool(settings_node, "allowexternaldomains",
+ allow_external_domains);
if (res) {
settings_node = ast_data_node_destroy(settings_node);
More information about the asterisk-commits
mailing list