Forums

Resolved
0 votes
Hello Dear Friends!

I have problem with making calls from one subnet of my company network.

Details:

ClearOS 6 - Gateway with 2 LAN's

LAN1 = 192.168.1.0/24
LAN2 = 192.168.3.0/24

My PBX is on 192.168.3.0 network. Every phone on this network has no issues with connection.

On LAN1 network (192.168.1.0/24) every phone is disconnected after aprox. 10 seconds of phone call, and one-way audio issue occuring.

Thanks in advance!
Piotr
Saturday, February 07 2015, 04:29 PM
Share this post:
Responses (5)
  • Accepted Answer

    Thursday, February 12 2015, 07:56 PM - #Permalink
    Resolved
    0 votes
    Hello there!

    Problem was solved.

    These two iptables lines helped me out:


    iptables -t nat -A PREROUTING -i eth2 -p udp -m udp --dport 8100:8200 -j DNAT --to-destination 192.168.3.250
    iptables -t nat -A PREROUTING -i eth2 -p udp -m udp --dport 5060 -j DNAT --to-destination 192.168.3.250


    where 8100:8200 is my RTP port range, and 5060 is my SIP port.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 12 2015, 07:49 PM - #Permalink
    Resolved
    0 votes
    Do you have a place to define the subnets within the PBX? You may not have both subnets defined, its possible the pbx is doing some type of NAT traversal on local subnets, which shouldn't be needed.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 08 2015, 11:56 PM - #Permalink
    Resolved
    0 votes
    I am curious: what software are you using?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 08 2015, 10:14 AM - #Permalink
    Resolved
    0 votes
    Hi Nick

    I will check this tomorrow at work, but tricky thing is that the softphones working well in every subnet.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 08 2015, 08:22 AM - #Permalink
    Resolved
    0 votes
    Are you able to check if there are any multicast packets coming from your PBX? perhaps monitor traffic on your LAN2 interface from your PBX IP to destinations in the range 224.0.0.0 to about 233.255.255.255 (a bit of a sledgehammer but it should work). Also do the same for an IP phone on LAN2. If there is any then you may gave an issue as multicast does not travel between LAN subnets. You'll need a special set up for that to work. Google something like "subnet multicast linux" for more information. Or, perhaps your PBX can be configured differently; I don't know anything about them.
    The reply is currently minimized Show
Your Reply