Hi Nedi

More information would be required to assist with troubleshooting. Can you 
explain the current architecture a little better regarding network connectivity.

Regards
Michael Knill


From: Silver via Astlinux-users <astlinux-users@lists.sourceforge.net>
Date: Friday, 31 January 2025 at 12:10 pm
To: Astlinux list <astlinux-users@lists.sourceforge.net>
Cc: Silver <n...@gmx.ch>
Subject: [Astlinux-users] Assistance Needed with Old ASTLinux PBX Setup
Hello,
I am currently facing an issue with an older version of ASTLinux PBX that I’ve 
been using for several years. Recently, I moved the PBX to a new location and 
established a VPN connection, but since the relocation, the previously working 
clients no longer function correctly. They briefly register, then immediately 
unregister.
I do not have double NAT in place; I have a router directly in the DMZ that 
builds the VPN connection.
The phones are Snom and Gigaset models. Both are unable to maintain a stable 
connection.
However, when using the VPN from my MacBook with a phone app, the internal 
numbers stay registered permanently over the same OpenVPN connection.
At location 1, the phones have IP addresses like 192.168.1.10, 192.168.1.11, 
etc. When connected via VPN, they register with IP addresses like 
192.168.20.xx, but with different ports.
At location 2, the IP addresses are 192.168.5.10, 192.168.5.11, and so on. 
Everything works fine at the new location, but only five phones are connected.
Here is the relevant part of my SIP configuration:
[general]
useragent=MYOLDPBX
port=5060
context = from-sip-external
alwaysauthreject=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
permit=192.168.20.0/255.255.255.0
permit=192.168.5.0/255.255.255.0
localnet=192.168.20.0/24
localnet=192.168.5.0/24
localnet=192.168.1.0/24
allowguest=no
disallow=all
allow=alaw
allow=ulaw
language=de
registerattempts=3
registertimeout=20
register_retry_403=yes
maxexpiry=3600
defaultexpiry=200
qualify=1000
notifycid=yes
srvlookup=no
nat=yes
allowsubscribe=yes
subscribecontext=hints
trustrpid=yes
sendrpid=yes
faxdetect=yes



SIP Numbers Name/username Host Dyn Forcerport ACL Port Status
10/10 192.168.20.2 D N 36395 UNREACHABLE
11/11 192.168.20.2 D N 54644 UNREACHABLE
110/110 192.168.5.29 D N 5060 OK (8 ms)
111/111 192.168.5.59 D N 5060 OK (10 ms)
113/113 192.168.5.129 D N 5060 OK (9 ms)
114/114 192.168.5.228 D N 5060 OK (9 ms)
12/12 192.168.20.2 D N 41784 UNREACHABLE
13/13 192.168.20.2 D N 54146 OK (12 ms)
14/14 192.168.20.2 D N 54627 UNREACHABLE

As you can see, some devices are marked as unreachable despite using the 
correct IP addresses.
Could you please help me troubleshoot this issue? I would appreciate any 
guidance on resolving the connectivity problem, particularly with regards to 
the VPN setup and SIP registration.
Best regards,
nedi

_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to