diff options
author | Mario "Kuroir" Ricalde <kuroir@gmail.com> | 2013-01-16 02:45:31 -0600 |
---|---|---|
committer | Mario "Kuroir" Ricalde <kuroir@gmail.com> | 2013-01-16 02:45:31 -0600 |
commit | 8e16b8a24341fd579d97ce47512951a3d14250c1 (patch) | |
tree | ed30a17fb2d9dfa4dce71c78383987900f5c0c6a /misc | |
parent | 9c23099b8f93e0ace47caba051204eb6624b8c95 (diff) | |
parent | 3880e410353f1e80a938e110c04c2b3629ab5eb6 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc')
-rw-r--r-- | misc/freeswitch/scripts/dialplan_default.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan_default.lua b/misc/freeswitch/scripts/dialplan_default.lua index 42271b9..eb80ae4 100644 --- a/misc/freeswitch/scripts/dialplan_default.lua +++ b/misc/freeswitch/scripts/dialplan_default.lua @@ -39,7 +39,9 @@ start_dialplan:configuration_read(); start_caller.local_node_id = start_dialplan.node_id; start_caller:init_channel_variables(); --- session:execute('info','notice'); +if start_dialplan.config.parameters.dump_variables then + start_caller:execute('info', 'notice'); +end if start_caller.from_node and not start_dialplan:auth_node() then log:debug('DIALPLAN_DEFAULT - node unauthorized - node_id: ', start_caller.node_id, ', domain: ', start_dialplan.domain); |