Board logo

標題: 用sip reload去测试你的系统是否正常 [打印本頁]

作者: 角色    時間: 2010-8-14 22:35     標題: 用sip reload去测试你的系统是否正常

本帖最後由 角色 於 2011-9-24 12:07 編輯

如果大家有时间做一个实验,就是在CLI mode,然后输入sip reload,请看下面:

TWTS119*CLI> sip reload
Reloading SIP
  == Parsing '/opt/etc/asterisk/sip.conf': Found
  == Parsing '/opt/etc/asterisk/users.conf': Found
  == Parsing '/opt/etc/asterisk/sip_notify.conf': Found

如果出现类似上面的信息,那么你的sip.conf基本上是没有问题。

注意我们要用Asterisk Console mode检测会比较好。

角色
作者: ckleea    時間: 2010-8-14 22:56

should be no error or minimal warning. However, if your sip file is too big > 65k, you may have problems. In the pat, my sip conf file contains all the explanation, it fails to load.
作者: ckleea    時間: 2010-8-14 23:16

sip reload will also cause re-registration for any peers you put in sip.conf.
作者: 角色    時間: 2010-8-15 09:44

If your sip.conf does not have problem, the registration will be very fast. Otherwise you have to check the sip.conf on line-by-line basis to find where gives the problem.

YH




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2