返回列表 發帖

【角色茶桌】—— Asterisk 1.8 sip reload problem (已经解决)

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

When I try to reload the sip.conf by
  1. leo*CLI> sip reload
  2. Reloading SIP
  3. leo*CLI>
複製代碼
The sip.conf is not loaded again.

YH

I don't know the answer. In my case, I can always reload correctly except that if you have custom config files, it won't reload

TOP

If the file users.conf does not exist then it will create it.

If the file users.conf does exist, then it will update the date of the file.

Therefore, when you execute the sip reload, it will show the information that you want.

YH

TOP

I mean you do not have the users.conf because you sati to touch I.e. To create the file

TOP

I am sorry that I am not able to understand what you mean.

YH

TOP

Your users.conf was not created before?

TOP

终于搞定!!!

第一次执行sip reload得下面结果
  1. leo*CLI> sip reload
  2. Reloading SIP
  3.   == Parsing '/etc/asterisk/users.conf':   == Found
  4.   == Parsing '/etc/asterisk/sip.conf':   == Found
  5.   == Using SIP CoS mark 4
  6.   == Parsing '/etc/asterisk/sip_notify.conf':   == Found
複製代碼
第二次执行sip reload
  1. leo*CLI> sip reload
  2. Reloading SIP
  3. leo*CLI>
複製代碼
所以开始Reloading SIP,而没有别的出现,是没有问题,只不过之前与现在一样,所以不执行。如果我们去从新edit /etc/asterisk/users.conf或者touch /etc/asterisk/users.conf,

那么sip reload会再次出现
  1. leo*CLI> sip reload
  2. Reloading SIP
  3.   == Parsing '/etc/asterisk/users.conf':   == Found
  4.   == Parsing '/etc/asterisk/sip.conf':   == Found
  5.   == Using SIP CoS mark 4
  6.   == Parsing '/etc/asterisk/sip_notify.conf':   == Found
  7. leo*CLI>
複製代碼
角色

TOP

返回列表