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