From 8bc658b53a8234e3b99c6e04d557086535c71765 Mon Sep 17 00:00:00 2001 From: spag Date: Wed, 20 Feb 2013 17:57:19 +0100 Subject: set default user --- misc/freeswitch/scripts/configuration.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc') 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']; -- cgit v1.2.3