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:
parent
9122d58c3c
commit
ec9f6e025c
|
|
@ -41,6 +41,7 @@ else {
|
|||
require_once "includes/header.php";
|
||||
require_once "includes/paging.php";
|
||||
|
||||
|
||||
//xml cdr include
|
||||
$rows_per_page = 100;
|
||||
require_once "xml_cdr_inc.php";
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue