freeswitch呼叫慢的问题

安装完freeswitch后,测试中发现呼叫请求服务器处理的特别慢,后来跟踪发现在/usr/local/freeswitch/conf/dialplan/default.xml中有个sleep 10s的处理,


<condition field="${default_password}" expression="^1234$" break="never">
        <action application="log" data="CRIT WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING "/>
        <action application="log" data="CRIT Open $${conf_dir}/vars.xml and change the default_password."/>
        <action application="log" data="CRIT Once changed type 'reloadxml' at the console."/>
        <action application="log" data="CRIT WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING "/>
        <!-- <action application="sleep" data="10000"/> -->
</condition>


注释睡眠后,能够很快的处理呼叫请求了。

你可能感兴趣的:(linux,freeswitch,呼叫慢)