- Joined
- Jan 7, 2019
- Messages
- 21
- Reaction score
- 8
Hi,
I am having problems connecting my 3CXSBC to a pbxexpress in Azure.
Here is my conf and error. I have rechecked all my settings but I get disconnected.
I see the connections leaving my office to the Azure ip address.
Names have been changed to protect the innocent.
xxx.xxx.xxx.200 azure static ip
xxx.xxx.xxx.99 internal private ip of SBC
Thanks in advance for any help or clues.
3cxsbc.conf
[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"
#Level = VERBOSE # NONE", "EMERG", "ALERT", "CRIT", "ERR", "WARNING", "NOTICE", "INFO", "DEBUG", "STACK", "CERR", "VERBOSE"
[Bridge/123456]
#Mandatory
ID = 123456
Password = BLOCKED
TunnelAddr =HOSTNAME.3cx.us # 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 =xxx.xxx.xxx.200 # 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
LocalSipAddr = xxx.xxx.xxx.99 # 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
LocalSipPort = 5060 # local SIP (UDP/TCP) address (def: 5060) Must be 5060
#SecurityMode = 1
SecurityMode = 0
Portion of repeating error log.
debug:3CXTunnel[378]::2019-01-14T12:57:36.642095-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:241 | Making TCP connection to [ V4 xxx.xxx.xxx.200:5090 TCP ]
debug:3CXTunnel[378]::2019-01-14T12:57:36.642638-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:458 | FdSet timeout = 1000
debug:3CXTunnel[378]::2019-01-14T12:57:36.656955-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/security.cpp:1114 | Ready to send, send q size = 0
debug:3CXTunnel[378]::2019-01-14T12:57:36.657548-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:616 | Tunnel connection to [ V4 xxx.xxx.xxx.200:5090 TCP ] is accepted
debug:3CXTunnel[378]::2019-01-14T12:57:36.658092-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:667 | Sending first packet from [ V4 0.0.0.0:32983 UNKNOWN_TRANSPORT ] to [ V4 xxx.xxx.xxx.200:5090 TCP ]
debug:3CXTunnel[378]::2019-01-14T12:57:36.658641-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:458 | FdSet timeout = 1000
info:3CXTunnel[378]::2019-01-14T12:57:36.680759-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/security.cpp:1342 | Keep-alive received
warning:3CXTunnel[378]::2019-01-14T12:57:36.681335-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:638 | Tunnel connection to [ V4 xxx.xxx.xxx.200:5090 TCP ] is disconnected; error: Connection is terminated by peer - while begin to read a packet from tunnel
err:3CXTunnel[378]::2019-01-14T12:57:36.681878-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:268 | Bridge [3CX Session Border Controller] failure 'Connection is terminated by peer - while begin to read a packet from tunnel' on TCP connection: TunnelTcp:
rocess
debug:3CXTunnel[378]::2019-01-14T12:57:36.682419-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:581 | === Statistics:#012 Keep-alives: recv 1, sent 0#012 Transfers: recv last 0 ms ago,#011total 8 bytes#012 sent last 24 ms ago,#011total 67 bytes#012===
warning:3CXTunnel[378]::2019-01-14T12:57:36.682963-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/Bridge.cpp:261 | Tunnel disconnected. Terminating all active calls.
debug:3CXTunnel[378]::2019-01-14T12:57:37.681730-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:581 | === Statistics:#012 Keep-alives: recv 0, sent 0#012 Transfers: recv last 1001 ms ago,#011total 0 bytes#012 sent last 1025 ms ago,#011total 0 bytes#012===
I am having problems connecting my 3CXSBC to a pbxexpress in Azure.
Here is my conf and error. I have rechecked all my settings but I get disconnected.
I see the connections leaving my office to the Azure ip address.
Names have been changed to protect the innocent.
xxx.xxx.xxx.200 azure static ip
xxx.xxx.xxx.99 internal private ip of SBC
Thanks in advance for any help or clues.
3cxsbc.conf
[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"
#Level = VERBOSE # NONE", "EMERG", "ALERT", "CRIT", "ERR", "WARNING", "NOTICE", "INFO", "DEBUG", "STACK", "CERR", "VERBOSE"
[Bridge/123456]
#Mandatory
ID = 123456
Password = BLOCKED
TunnelAddr =HOSTNAME.3cx.us # 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 =xxx.xxx.xxx.200 # 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
LocalSipAddr = xxx.xxx.xxx.99 # 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
LocalSipPort = 5060 # local SIP (UDP/TCP) address (def: 5060) Must be 5060
#SecurityMode = 1
SecurityMode = 0
Portion of repeating error log.
debug:3CXTunnel[378]::2019-01-14T12:57:36.642095-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:241 | Making TCP connection to [ V4 xxx.xxx.xxx.200:5090 TCP ]
debug:3CXTunnel[378]::2019-01-14T12:57:36.642638-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:458 | FdSet timeout = 1000
debug:3CXTunnel[378]::2019-01-14T12:57:36.656955-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/security.cpp:1114 | Ready to send, send q size = 0
debug:3CXTunnel[378]::2019-01-14T12:57:36.657548-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:616 | Tunnel connection to [ V4 xxx.xxx.xxx.200:5090 TCP ] is accepted
debug:3CXTunnel[378]::2019-01-14T12:57:36.658092-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:667 | Sending first packet from [ V4 0.0.0.0:32983 UNKNOWN_TRANSPORT ] to [ V4 xxx.xxx.xxx.200:5090 TCP ]
debug:3CXTunnel[378]::2019-01-14T12:57:36.658641-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:458 | FdSet timeout = 1000
info:3CXTunnel[378]::2019-01-14T12:57:36.680759-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/security.cpp:1342 | Keep-alive received
warning:3CXTunnel[378]::2019-01-14T12:57:36.681335-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:638 | Tunnel connection to [ V4 xxx.xxx.xxx.200:5090 TCP ] is disconnected; error: Connection is terminated by peer - while begin to read a packet from tunnel
err:3CXTunnel[378]::2019-01-14T12:57:36.681878-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:268 | Bridge [3CX Session Border Controller] failure 'Connection is terminated by peer - while begin to read a packet from tunnel' on TCP connection: TunnelTcp:
debug:3CXTunnel[378]::2019-01-14T12:57:36.682419-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:581 | === Statistics:#012 Keep-alives: recv 1, sent 0#012 Transfers: recv last 0 ms ago,#011total 8 bytes#012 sent last 24 ms ago,#011total 67 bytes#012===
warning:3CXTunnel[378]::2019-01-14T12:57:36.682963-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/Bridge.cpp:261 | Tunnel disconnected. Terminating all active calls.
debug:3CXTunnel[378]::2019-01-14T12:57:37.681730-06:00: TUNL | 140629054478528 | /home/repomaster/workspace/SBC/Sources/Projects/3CXSBC/TunnelTcp.cpp:581 | === Statistics:#012 Keep-alives: recv 0, sent 0#012 Transfers: recv last 1001 ms ago,#011total 0 bytes#012 sent last 1025 ms ago,#011total 0 bytes#012===