On 25 Jan 2015, at 14:48, dongwf <dongw...@163.com> wrote:
> Hi Kamailio:
> I use Kamailio with Amazon EC2 virtual machine, it has a private ip such as
> 172.31.7.164, kamailio listened on this, I assigned a float public ip
> 54.X.X.X on it, and all the client send traffics to the public ip and it work
> well(REGISTER), but now I would relay kamailio's traffic to another real
> public server, the server found the INVITE's via header's ip address is
> 172.31.7.164, so it failed to response 100 trying and 200 OK to my kamalio,
> because it send to a private 172.31.7.164, so my question is can I change
> Kamailio's via header's ip value with my specified public ip? How can I do?
> Thanks a lot!
The core cookbok documents the "advertise" parameter to the "listen" config
setting for this case.
http://www.kamailio.org/wiki/cookbooks/4.2.x/core#listen
Go ahead and try that one.
/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users