SBC needs to restart

Status
Not open for further replies.

blanco21

Joined
Jun 19, 2018
Messages
1
Reaction score
0
My SBC (Raspberry) with 20 phones connected at least 3 times a week it needs to restart...
I always check the status around midnight and phones are usually registered, at 07:00 AM no phones are registerd and I have to stop and restart 3cxsbc service or to reboot.
I'm using a dedicated LAN in wich I have only phones and SBC.

Thanks
 
Are you running the latest updates on the Pi ? (apt-get update) and what IP handsets are you using ?

I have seen this issue quite a bit in the past, especially when you are getting to the maximum capacity of the Pi (20 extensions).

I would first see if the device reports any errors - you need to first turn on logging on the pi .

The 3CX Session Border Controller Log is disabled by default on a Raspberry Pi installation.
This can be done in the 3cxsbc.conf which can be found in the "etc" folder in the Pi.

Change the DEBUG to VERBOSE then run the below commands:

1) Edit file /etc/3cxsbc.config and uncomment the # File section.
2) Stop the 3cxsbc service (service 3cxsbc stop)
3) Stop the rsyslog service (service rsyslog stop)
4) Delete file ls -l /var/log/ (rm /var/log/3cxsbc.log)
5) Recreate /var/log/3cxsbc.log (touch /var/log/3cxsbc.log)
6) Start the rsyslog service (service rsyslog start)
7) Start the 3cxsbc service (service 3cxsbc start

You can tail -f the logs so that it saves to a txt file - your SD card should be fine to support his.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,885
Messages
589,547
Members
164,745
Latest member
Herm77