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

@@ -1666,7 +1666,7 @@ function save_extension_xml() {
$extension = preg_replace("/[\*\:\\/\<\>\|\'\"\?]/", "", $extension);
$dial_string = $row['dial_string'];
if (strlen($dial_string) == 0) {
$dial_string = "{sip_invite_domain=\${domain_name},presence_id=\${dialed_user}@\${dialed_domain}}\${sofia_contact(\${dialed_user}@\${dialed_domain})}";
$dial_string = "{sip_invite_domain=\${domain_name},presence_id=\${dialed_user}@\${dialed_domain}}\${sofia_contact(*/\${dialed_user}@\${dialed_domain})}";
}
$xml .= "<include>\n";