提交 123d7243 authored 作者: Michael Jerris's avatar Michael Jerris

don't do this if its zero try one SFSIP-143

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13384 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 09b2fd33
......@@ -1375,7 +1375,7 @@ void sofia_reg_handle_sip_r_register(int status,
new_expires = contact->m_expires;
expi = (uint32_t) atoi(new_expires);
if (expi != sofia_private->gateway->freq) {
if (expi > 0 && expi != sofia_private->gateway->freq) {
sofia_private->gateway->freq = expi;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
"Changing expire time to %d by request of proxy %s\n", expi, sofia_private->gateway->register_proxy);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论