+----------+ +-----+ +------+ |OpenSER | +------+ |Phone| |Router| |MediaProxy| |Router| +-----+ +------+ +----------+ +------+ | | | | | | --------------------- -------------------------- -------------- Internet Private LAN A Private LAN B
Here is the situation : SIP phones are in a private LAN A. They can speak with the server hosting openser and mediaproxy which is located on private LAN B. This server can speak with the internet through a router that nat (1:1) its private IP on a public one.
To be able to interconnect inside sip phone with outside ones, openser must advertise the private address of the mediaproxy to the inside sip phones and its public (nated) address to the outside sip phones. But afaik , the media proxy module doesn't let me dynamically choose the IP which replace the phone IP in the SDP.
How do you think I can get through this ?