[SIP Beyond VoIP] media_ip darcs patches
jh at tutpro.com
Wed Dec 3 02:50:18 CET 2014
Saúl Ibarra Corretgé writes:
> >> [SIP]
> >> local_ip = 192.168.1.1
> >> advertised_ip = 184.108.40.206
> >> Then SylkServer would bind all sockets to 192.168.1.1, but the SDP and
> >> Contact header would contain the advertised IP address.
> > i'm afraid that that would not work. sip proxy running on the same host
> > as sylkserver cannot reach sylkserver for sip signalling using public ip
> > of the nat (provided by amazon aws), i.e., looping packets from inside
> > via nat public ip back to inside does not work.
> I don’t understand why it wouldn’t. Your SIP proxy listens on
> 192.168.1.1:5060 (private IP of the NAT) and SylkServer on
> 192.168.1.1:50600. Your proxy would send traffic over the 192.168.1.1
> interface. Alternatively al alias could be used. Am I missing
> something in your setup?
perhaps it is me who does not understand. if sylkserver get invite via
sip prpxy and puts public ip address in the contact uri of 200 ok, then
my understanding is that sip proxy will try to send in-dialog requests,
e.g., bye, to that ip. if so, it would not work.
More information about the SIPBeyondVoIP