提交 85529d1a authored 作者: Raymond Chandler's avatar Raymond Chandler

now it'll work for other people too ;-)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12127 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a3260cb6
...@@ -10,7 +10,7 @@ $groups = array('default' ...@@ -10,7 +10,7 @@ $groups = array('default'
); );
$esl = new ESLconnection('192.168.86.254', '8021', 'ClueCon'); $esl = new ESLconnection('127.0.0.1', '8021', 'ClueCon');
if (is_array($_REQUEST) && !empty($_REQUEST['callee'])) { if (is_array($_REQUEST) && !empty($_REQUEST['callee'])) {
$callee = str_replace(array('.', '(', ')', '-', ' '), '', $_REQUEST['callee']); $callee = str_replace(array('.', '(', ')', '-', ' '), '', $_REQUEST['callee']);
$callee = ereg_replace('^(1|\+1)?([2-9][0-9]{2}[2-9][0-9]{6})$', '1\2', $callee); $callee = ereg_replace('^(1|\+1)?([2-9][0-9]{2}[2-9][0-9]{6})$', '1\2', $callee);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论