Bria SIP error 408

Status
Not open for further replies.

feyzabadimo

New Member
Oct 29, 2021
4
0
1
33
Hi everyone,
Hope you're doing well.

Suddenly, on Bria app I get SIP error 408 and no inbound calls are not not working. When I checked the logs, it has only one line which says: mod_logfile.c:192 New log started. So I guess there's something which is blocking every requests. I checked the server's firewall configuration and I didn't see any problem there. And I contacted the server administrator and they said there's no external firewall that would be blocking any communication to the server. Any idea is appreciated.

FYI, I'm new to PBX.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
A 408 is a request timeout so your SIP packets are not getting from end to end. There could be lots of reasons but one of the first things to check is Fail2ban. If you log in to a shell on your server and issue an iptables -nvL you will quickly see if the IP address for your Bria is in a jail.
 

feyzabadimo

New Member
Oct 29, 2021
4
0
1
33
Thanks a lot for your message. This is output of iptables -nvL:

Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
33 1788 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
33 1747 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8021
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8021
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8021
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5080 STRING match "VaxSIPUserAgent/3.1" ALGO name bm TO 65535
0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5080 STRING match "VaxSIPUserAgent/3.1" ALGO name bm TO 65535
0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5060 STRING match "VaxSIPUserAgent/3.1" ALGO name bm TO 65535
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5060 STRING match "VaxSIPUserAgent/3.1" ALGO name bm TO 65535
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5080 STRING match "VaxIPUserAgent" ALGO name bm TO 65535
0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5080 STRING match "VaxSIPUserAgent" ALGO name bm TO 65535
0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5060 STRING match "VaxIPUserAgent" ALGO name bm TO 65535
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5060 STRING match "VaxSIPUserAgent" ALGO name bm TO 65535
2 880 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5080 STRING match "friendly-scanner" ALGO name bm TO 65535
8 3500 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5060 STRING match "friendly-scanner" ALGO name bm TO 65535
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5080 STRING match "friendly-scanner" ALGO name bm TO 65535
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5060 STRING match "friendly-scanner" ALGO name bm TO 65535
371K 109M f2b-freeswitch-404 all -- * * 0.0.0.0/0 0.0.0.0/0
360K 107M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
205 15784 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
32 1341 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
16 700 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
17 900 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:6868
180 9952 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
42 2268 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
1 40 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
1 40 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
9 484 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5060
493 279K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:5060
6070 446K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpts:16384:32768
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
3738 521K REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8021 ctstate NEW,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8021

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT 390K packets, 412M bytes)
pkts bytes target prot opt in out source destination

Chain f2b-freeswitch-404 (1 references)
pkts bytes target prot opt in out source destination
371K 109M RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-dos-tcp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-dos-udp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-ip-tcp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-ip-udp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-tcp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0

Chain f2b-freeswitch-udp (0 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0


Do you see something wrong? I disabled iptables to see if it works but nothing happened. What do you think?
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
The "Chain f2b-" entries are the fail2ban jails, there is nothing in any of them. Good to look though.

You will need to do some basic network diagnostics ping etc. to try to find out what is happening.
 

gflow

Active Member
Aug 25, 2019
267
31
28
There’s a bug in Bria Enterprise at the moment and maybe other versions of Bria but only with the mobile app and when using a carrier that assigns you an IPv6 address
 

feyzabadimo

New Member
Oct 29, 2021
4
0
1
33
Thanks for your responses. Bria and my other Freeswitch servers can not connect to my PBX server. So I think there's a connectivity problem. Could you please let me know how can I resolve that since I'm new to all of these stuff?
 
Status
Not open for further replies.