summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-14 17:15:02 +0100
committerspag <spag@golwen.net>2013-01-14 17:15:02 +0100
commit64c8b78bbf5880c2b8948cf7588ffe7d0a843357 (patch)
tree4724f42b13f251e9f0395a4ad43bc1946c867c5f
parentd23a161907f64421a6d49b9867859d519188281c (diff)
display contacht host
-rw-r--r--misc/freeswitch/scripts/dialplan_default.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan_default.lua b/misc/freeswitch/scripts/dialplan_default.lua
index 91ad4e4..1c0a52e 100644
--- a/misc/freeswitch/scripts/dialplan_default.lua
+++ b/misc/freeswitch/scripts/dialplan_default.lua
@@ -42,7 +42,7 @@ start_caller:init_channel_variables();
-- session:execute('info','notice');
if not start_dialplan:check_auth() then
- log:debug('AUTHENTICATION_REQUIRED - domain: ', start_dialplan.domain);
+ log:debug('AUTHENTICATION_REQUIRED - host: ' , start_caller.sip_contact_host, ', domain: ', start_dialplan.domain);
start_dialplan:hangup(407, start_dialplan.domain);
return false;
end