Phone Systems

Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Remote IP Phone and VPN connection
#636591 04/28/20 08:48 AM
Joined: Jan 2020
Posts: 13
Rok1215 Offline OP
Member
OP Offline
Member
Joined: Jan 2020
Posts: 13
At our office, we've been having this problem for some time, and I haven't found a solution for it. Some of our employees have a work phone at home, that is a Samsung IP telephone (SMT-i3105), that establishes a VoIP connection to our Samsung OfficeServ 7200 at our office, and the connection has to go through our MikroTik router.
Then we also use VPN connections (L2TP/IPsec) to access our NAS remotely and for Remote Desktop.
The problem occurs, whenever someone connects through the VPN connection, their VoIP connection will be lost, and the phone will disconnect, and when you disconnect from the VPN, the phone will work normally again.

The following ports and NAT rules are opened and set:
6000 UDP = IP data SIP connection
9000 UDP = IP connection setup
30000-30030 = IP MGI channels

Does anyone have any ideas, as to how to configure the router, for it to distinguish the 2 different connections, the VPN one, and the VoIP one, and so that both can work at the same time and has anyone had similar issues?

EMP & Lightning Home Surge Protection
EMP - Click Here!
Re: Remote IP Phone and VPN connection
Rok1215 #636592 04/28/20 09:36 AM
Joined: Jun 2006
Posts: 2,818
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,818
What's establishing the l2tp vpn at the houses?


You meed to goto 30031 for the mgi.

What version of software are you running on the os7200?

It sounds like a routing issue on the microtik.
The system is told both the local and public ip addresses of the phone when it connects from memory.
You'll need to-do a wireshark have at the system sends to be sure, I suspect the microtik is sending the traffic back via the vpn for some reason when the vpn is connected but as the users pc won't be setup to route the traffic to the phone it's not reaching its destination.

You could try todo a trace route to the users public ip address when the vpn is connected and see if it tried to use the vpn tunnel or not

Re: Remote IP Phone and VPN connection
Rok1215 #636593 04/28/20 09:37 AM
Joined: Jun 2006
Posts: 2,818
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,818
What's establishing the l2tp vpn at the houses?


You meed to goto 30031 for the mgi.

What version of software are you running on the os7200?

It sounds like a routing issue on the microtik.
The system is told both the local and public ip addresses of the phone when it connects from memory.
You'll need to-do a wireshark have at the system sends to be sure, I suspect the microtik is sending the traffic back via the vpn for some reason when the vpn is connected but as the users pc won't be setup to route the traffic to the phone it's not reaching its destination.

You could try todo a trace route to the users public ip address when the vpn is connected and see if it tried to use the vpn tunnel or not

Re: Remote IP Phone and VPN connection
nameless #636595 04/28/20 10:57 AM
Joined: Jan 2020
Posts: 13
Rok1215 Offline OP
Member
OP Offline
Member
Joined: Jan 2020
Posts: 13
L2TP VPN is established with the built in Win10 VPN client.

Why would 30031 be needed? If the VPN connection is not established, the IP phone works normally.

The OS7200 is on version 4.82, since this is the one we have used for years and have not updated to the newest version yet.

Yes I assume this is a issue on our router, but I do not know what I would need to change on it for this to work. And the users do not use the LAN port on the phones for internet access, they have separate cables coming from their home routers.
When users connect with the VPN, they get a specified IP from a VPN pool and it can communicate with the IP Pool on which the OS7200 is located on, because you can ping the OS7200 IP with the VPN connection.

I will try and see what I can find out with a traceroute

Re: Remote IP Phone and VPN connection
Rok1215 #636596 04/28/20 11:34 AM
Joined: Jun 2006
Posts: 2,818
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,818
Mgi ports work in pairs.
Since you have a os7200 you'll have a mgi16 or oas card, so 16mgi channels.
16x2=32 ports required, which is why it goes to 30031.
Each even port is rtp
Each odd port is rtcp

Adjusting your mgi port foward around fix this issue.
The pc port on the phone has no bearing in this case even if it was being used.

Re: Remote IP Phone and VPN connection
Rok1215 #636597 04/28/20 01:08 PM
Joined: Jan 2020
Posts: 13
Rok1215 Offline OP
Member
OP Offline
Member
Joined: Jan 2020
Posts: 13
Yes we use a MGI 16 card. Will enable also 30031 to be sure.

I will have to play around with this, one thing I need to test is once the VPN is established, if I change the server IP on the phone to the local IP of our 7200, instead of the public IP of our router in the office.

Does the private IP the phone gets from users home routers have any effect in the connection to our os7200?

Re: Remote IP Phone and VPN connection
Rok1215 #636599 04/28/20 02:24 PM
Joined: Dec 2010
Posts: 631
Member
*****
Online Content
Member
*****
Joined: Dec 2010
Posts: 631
If you enter the private IP of the phone, you will also have to enter that subnet or ip in 5.2.8 so that the phone system knows what ip address it is going to be receiving connections from for phones.

Re: Remote IP Phone and VPN connection
Rok1215 #636604 04/28/20 08:19 PM
Joined: Jun 2006
Posts: 2,818
Moderator-Samsung
*****
Offline
Moderator-Samsung
*****
Joined: Jun 2006
Posts: 2,818
That won't work as the phone can't see the vpn tunnel, only the pc can see it.

Re: Remote IP Phone and VPN connection
Rok1215 #636605 04/28/20 08:51 PM
Joined: Dec 2001
Posts: 226
Member
Offline
Member
Joined: Dec 2001
Posts: 226
Nameless do you think adding the Local IP address for the Samsung server into the server list on the phone might work?
I"m thinking the Phone would possibly re-establish over the "Local" Lan when the VPN comes up

Re: Remote IP Phone and VPN connection
Rok1215 #636606 04/28/20 08:54 PM
Joined: Dec 2001
Posts: 226
Member
Offline
Member
Joined: Dec 2001
Posts: 226
Nevermind I just reread the post about L2TP from Win 10 I was thinking the Mikrotek was the local router.

Page 1 of 2 1 2

Moderated by  Genesiscomm, nameless, pvj 

Link Copied to Clipboard
Most Recent 5 Post
SBI-145 Merdian Digital Centrex
by aarond2424 - 10/29/20 03:06 PM
nickname for cabling scraps? mongol?
by temp001 - 10/29/20 04:18 AM
SL1100 dialing problem
by teleco - 10/28/20 07:30 PM
Zoom voip
by BrianS - 10/28/20 01:43 PM
Forum Update Pending
by Ruben - 10/27/20 06:51 PM
Who's Online Now
35 members (Bob3470, newtecky, dexman, RATHER BE FISHING, nortelvoip, metelcom, Curlycord, Mercenary Roadie, dude, Yoda, jeffmoss26, BobRobert, juno, Touch Tone Tommy, JBean3329, Biztel Cuban Okie Tech, ChrisNI, aarond2424, Daniel, Professor Shadow, dans, LLC, ILE, Memphisribs, sfletcher, Ruben, RockyBalboa, Hofman telekom, hitechcomm, KRRath, Meyery2k, Coral Tech, pvj, Joel J., teleco), 569 guests, and 82 robots.
Key: Admin, Global Mod, Mod
Popular Topics (Views)
Forum Statistics
Forums94
Topics94,038
Posts637,705
Members49,371
Most Online5,661
May 23rd, 2018
Today's Birthdays
bnorthup, Brian PV, jackntampa, tatenda, TomB, WCCOM
Newest Members
temp001, DynaAdmin, Nickonicle, chelsea419, jsb15
49370 Registered Users
Get Tech Support Now! Click the banner below
Get Tech Support Now!
Top Posters (30 Days)
dexman 24
Daniel 11
Toner 10
hbiss 9
Bluewater Sailing
https://www.patreon.com/bePatron?u=5256033
EMP Shield for Commercial - Home & Vehicle
Use Coupon code SAVE - Click Here!
Sold AD
Servpro Ventura 24-Hour Emergency Service
Free Estimates call us now 24Hours
Contact Us | Telephone System Tech Support | Terms of Service

Sundance Communications is not affiliated with any of the above manufacturers.
©Copyright Sundance Communications 1998-2020
Trusted Partners