Add \* to the default dial_string to make freeswitch look for users in all domains.

Adjust a few white spaces in some of the other files.
This commit is contained in:
Mark Crane
2012-09-03 21:48:16 +00:00
parent 9122d58c3c
commit ec9f6e025c
3 changed files with 3 additions and 2 deletions

View File

@@ -145,7 +145,7 @@
if (string.len(row.dial_string) > 0) then
dial_string = row.dial_string;
else
dial_string = "{sip_invite_domain=${domain_name},presence_id=${dialed_user}@${domain_name}}${sofia_contact(${dialed_user}@${domain_name})}";
dial_string = "{sip_invite_domain=${domain_name},presence_id=${dialed_user}@${domain_name}}${sofia_contact(*/${dialed_user}@${domain_name})}";
end
end);