routing problems (maybe) with openvz & asterisk

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

routing problems (maybe) with openvz & asterisk

Postby paolo919191 » Mon Sep 28, 2015 2:00 am

HI,
I'm moving 10+ PBX into one hardware node with 10+ openvz containers.

The configurations are all taken from working environments and are all ok, but i have a really strange bug to solve.

The scenario:

- every single business has it's own container
- every single business has static ip
- the outbound trunks with ITSP are on an other PBX

the problem:

When I try to call or receive a call, I get retransmission problem, even with 1 single conteiner with all traffic prerouted / postrouted to it.
The strange thing is that if I run echo test, it works.

All the pbx / container are off the business.

The iptables conf is:

-A PREROUTING -s $IP_STATIC_FROM_BUSINESS -i vmbr0 -j DNAT --to-destination $IP_CONTAINER
-A POSTROUTING -s $IP_CONTAINER_SUBNET -o vmbr0 -j SNAT --to-source $IP_HARDWARE_NODE

Because of the problem, I tried adding
-A PREROUTING -s $IP_STATIC_FROM_TRUNKS_PBX -i vmbr0 -j DNAT --to-destination $IP_CONTAINER

without success.

Thanks for your support
paolo919191
Newsterisk
 
Posts: 3
Joined: Mon Sep 28, 2015 1:44 am

Re: routing problems (maybe) with openvz & asterisk

Postby paolo919191 » Sun Dec 13, 2015 11:06 pm

Hey, no one experienced this trouble?
paolo919191
Newsterisk
 
Posts: 3
Joined: Mon Sep 28, 2015 1:44 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest