diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/freeswitch/scripts/configuration.lua | 3 |
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']; |