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/

Reply via email to