[SR-Users] Proxy Invite to registered natted user
Sebastian Damm
damm at sipgate.de
Tue Sep 19 14:51:47 CEST 2017
Hi,
since this is still unanswered:
On Wed, Sep 13, 2017 at 11:01 AM, eskornev <eskornev at gmail.com> wrote:
> Trying to set Kamailio as proxy in front of Asterisk.
>
> When natted user registers is remembered in Kamailio via save("location").
> Kamailio forwards Register to * with new contact field (pointing to Kamailio).
> But when server originates Invite to user, kamailio transfer
> request to "fake" address that was in original Register contact field (getting it from lookup("location")).
>
> How can i set Kamailio to send Invite to source ip and port of user?
>
> You probably have to do some NAT handling before saving the location.
Especially this should help you:
http://www.kamailio.net/docs/modules/5.0.x/modules/nathelper.html#nathelper.f.add_contact_alias
> HTH
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170919/6d985d8e/attachment.html>
More information about the sr-users
mailing list