• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Solved RaspBerry Pi SBC Setup

Status
Not open for further replies.

scoopydude2002

Customer
Joined
Sep 17, 2018
Messages
11
Reaction score
1
I'm having trouble configuring a new RaspBerry Pi 3+ I recently purchase to setup as a SBC. I've followed these instructions: https://www.3cx.com/docs/3cx-tunnel-session-border-controller/ . But after the installation complete, the was no prompt asking me to for the FQDN or IP address. I found the config file located at /etc/3cxsbc.conf. I'm able to figure out most of the settings. However, there's a configuration called "ProvLink: # mandatory: serves as your main ID for your SBC". I'm not sure what to put there.

There seems to be lacking of documents for configuring the SBC on the RaspBerry Pi.
 
[General]
ReconnectInterval = 30 # seconds
PrintStatsInterval = 30 # seconds
FailoverInterval = 90 # seconds
[Log]
Type = syslog # cout, cerr, syslog
Level = NONE # NONE", "EMERG", "ALERT", "CRIT", "ERR", "WARNING", "NOTICE", "INFO", "DEBUG", "STACK", "CERR", "VERBOSE"
[Bridge/123456]
#Mandatory
ID = 123456
Password = xxxxxxxxxxxx
TunnelAddr =xxxxxxx.xxx.xx # 3CX Phone System Tunnel TCP IP or FQDN
TunnelPort = 5090 # 3CX Phone System Tunnel Port
#TunnelAddr2 = # 3CX Phone System Failover Passive Tunnel IP or FQDN
#TunnelPort2 = # 3CX Phone System Failover Passive Tunnel Port
#Optional
Name = "3CX Session Border Controller"
PbxSipIP =Internal IP of Server # IP address of PBX, mandatory for provisioning to work
PbxSipPort =5060 # SIP port of PBX, mandatory for provisioning to work
#LocalSipAddr = 0.0.0.0 # local SIP (UDP/TCP) address (def: 0.0.0.0) binds on all interfaces
#LocalSipPort = 5060 # local SIP (UDP/TCP) address (def: 5060) Must be 5060
SecurityMode = 0
 
[Log]
Type=syslog # cout, cerr, syslog
Level=ERR # NONE", "EMERG", "ALERT", "CRIT", "ERR", "WARNING", "NOTICE", "INFO", "DEBUG", "STACK", "CERR", "VERBOSE"
[General]
ReconnectInterval=30 # seconds
PrintStatsInterval=30 # seconds
FailoverInterval=90 # seconds
[Bridge/123456]
ID=123456
Name="3CX Session Border Controller"
Password=entertunnelpass
TunnelAddr= # 3CX Phone System Tunnel TCP IP or FQDN
TunnelPort=5090 # 3CX Phone System Tunnel Port
#TunnelAddr2= # 3CX Phone System Failover Passive Tunnel IP or FQDN
#TunnelPort2= # 3CX Phone System Failover Passive Tunnel Port
PbxSipIP= # IP address of PBX, mandatory for provisioning to work
PbxSipPort=5060 # SIP port of PBX, mandatory for provisioning to work
ProvLink= # mandatory: serves as main ID for your SBC
LocalSipAddr=0.0.0.0 # local SIP (UDP/TCP) address (def: 0.0.0.0) binds on all interfaces
LocalSipPort=5060 # local SIP (UDP/TCP) address (def: 5060) Must be 5060
SecurityMode=1 # use TLS

Your 3cxsbc.conf file appears to be be different from mine. I'm on the most current version and it has a new option "Provlink". Any ideas?
 
I am now getting this error because of the missing ProvLink:

info:3cxsbc[2030]::2018-09-17T19:51:30.329606+00:00: ftp://#mandatory/servesasmainIDforyourSBC: Invalid host name.
info:3cxsbc[2030]::2018-09-17T19:51:30.336836+00:00: Failed to fetch config from #mandatory:servesasmainIDforyourSBC
 
That's weird as I only setup our latest SBC last Tuesday.
 
Out of curiosity, did you happen to run raspi-config after installing raspian?
 
"sudo raspi-config" will bring up the setup gui.
 
I think there was a slight mistake in the Linux SBC guide on Monday that has since been fixed.

In short try removing the software:
Code:
sudo apt remove 3cxsbc --purge

Then download and run it again:
Code:
wget http://downloads.3cx.com/downloads/sbc/3cxsbc.zip -O- | sudo bash
 
Thanks for the tip. The updated instructions work as described. Not sure how the wrong instructions have been posted without anyone noticing any issue.
 
Not too long, I think it was 1-2 days before one of us noticed it.

Glad it is fixed now! :)
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.