summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-20 17:57:19 +0100
committerspag <spag@golwen.net>2013-02-20 17:57:19 +0100
commit8bc658b53a8234e3b99c6e04d557086535c71765 (patch)
treee16de03bb71c2056593a923c7c925ed140d27c01 /misc
parent324201adeff30eaf3a81aacd2f6789ed50658a0b (diff)
set default user
Diffstat (limited to 'misc')
-rw-r--r--misc/freeswitch/scripts/configuration.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/configuration.lua b/misc/freeswitch/scripts/configuration.lua
index 75d0df3..6660c3d 100644
--- a/misc/freeswitch/scripts/configuration.lua
+++ b/misc/freeswitch/scripts/configuration.lua
@@ -79,6 +79,9 @@ function profile(database, sofia_ini, profile_name, index, domains, node_id)
parameters['odbc-dsn'] = 'gemeinschaft:' .. tostring(database.user_name) .. ':' .. tostring(database.password);
end
+ parameters['username'] = parameters['username'] or 'Gemeinschaft';
+ parameters['user-agent-string'] = parameters['user-agent-string'] or 'Gemeinschaft';
+
-- set local bind address
if domains[index] then
parameters['sip-ip'] = domains[index]['host'];