From f844e5a908158ea3872d494930a0a63c20b79da5 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 15 Sep 2012 23:39:59 +0000 Subject: [PATCH] Remove */ on the default dialstring. This little setting has caused more harm than good. --- includes/lib_switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/lib_switch.php b/includes/lib_switch.php index d3bb0ac4f5..c2914a7b9a 100644 --- a/includes/lib_switch.php +++ b/includes/lib_switch.php @@ -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 .= "\n";