Hi Paul.. I tried your idea.. but it didn't helped.. :( to make it more clear.. here is my voip network scheme..
http://img573.imageshack.us/img573/999/myscheme.jpg so what happens.. the local ip of my server is 10.4.62.2.. the public ip from the router is 89.202.222.55 (dynamic) when the server tries to contact provider2 it has to send the sip invite with 10.160.250.94 address. and when the server contacts remote phone2, it should send the public ip.. 2010/12/7 Paul Scheepens <[email protected]> > Just a suggestion, maybe you can add 10.150.240.0/24 to the Intranet > subnets in Internet calling > > Paul > > Irena Dolovčak <[email protected]> wrote on 07-12-2010 12:57:21: > > > > I tried both solutions to check and to uncheck the mark, but nothing > helped.. > > > > > Just to make it clear... here are 3 diferent IP addresses.. > > 1. local IP on the network adapter of the server (172.16.10.1) > > 2. local ip which the provider gawe to me.. (10.150.240.20) > > 3. public dynamic IP > > > > so.. the trunk provider needs 10.150.240.20 to be the ip address of > > the server when it's contacting it. > > and the remote phone needs the public ip to contact the server.. > > > > > > > On Tue, Dec 7, 2010 at 11:16 AM, Tony Graziano < > [email protected] > > > wrote: > > Is the option for "use public address for call setup"chosen for the > gateway > > with the private address? > > ============================ > > Tony Graziano, Manager > > Telephone: 434.984.8430 > > Fax: 434.984.8431 > > > > Email: [email protected] > > > > LAN/Telephony/Security and Control Systems Helpdesk: > > Telephone: 434.984.8426 > > Fax: 434.984.8427 > > > > Helpdesk Contract Customers: > > http://www.myitdepartment.net/gethelp/ > > > > ----- Original Message ----- > > From: [email protected] > > <[email protected]> > > To: [email protected] <[email protected]> > > Sent: Tue Dec 07 05:02:34 2010 > > Subject: [sipx-users] public IP in gateway > > > > 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/ > > > > > > > > -- > > Irena Dolovčak_______________________________________________ > > > sipx-users mailing list > > [email protected] > > List Archive: > http://list.sipfoundry.org/archive/sipx-users/ > _______________________________________________ > sipx-users mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > -- Irena Dolovčak
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
