Hi everyone.. I have a public IP question..
At first here is my configuration: The SipX is on a local IP (172.16.10.1) and the public IP is dynamic. I have configured 2 providers.. one is a SIP trunk with no registration (but it has a private ip like 10.150.240.20), the other is sipgate (registration with username and password) and it uses the public ip. in the configuration, as a public IP of the server I have put the ip address that i got from my trunk provider because the server makes the call with the public ip.. That all works great if I have just local phones.. but if I want to add an external phone to the system, the external phone can't make a call.. the RTP packets go wrong because the server sends his "public" ip address to the external phone, and the phone can't contact the server because it has the wrong IP.. (it sends 10.150.240.20 instead of the public IP). If I change the configuration of the server to use STUN to resolve the public ip, than I can't make a call with the trunk because the server sends the public IP instead of the ip the provider gave to me.. The same thing happens if I uncheck the mark in the configuration of the gateway not tu use the public IP and the server uses the local IP which is also wrong for the SIP trunk.. does anybody has an idea how to make this work? I cannot put the server on the ip address which the provider gave to me, because I want to put the address on the router.. The only solution that i have is to make the router change the dst.address of the packet when the external phone tries to send rtp packets.. And it works.. but i don't want it to work like that.. Any idea? Thanks -- Irena Dolovčak
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
