[SR-Users] X-Forwarded-for IP to asterisk

Mihai Cezar cezar at mokalife.ro
Tue Dec 15 16:14:58 CET 2020


I've tried but didn't worked the first time, now that you told me, as saw
that i had in the general block defined as "nat=force_rport,comedia"; after
commented out, it worked!

Thanks,

On Tue, Dec 15, 2020 at 4:48 PM Sergiu Pojoga <pojogas at gmail.com> wrote:

> Although not strictly a Kamailio-related question... and also depending on
> how you "forward" registrations to Asterisk, but usually setting *nat=no* should
> show the peer's public IP.
>
> Regards,
> --Sergiu
>
> On Tue, Dec 15, 2020 at 9:33 AM Mihai Cezar <cezar at mokalife.ro> wrote:
>
>> Hello,
>>
>> Is it something like the XFF for Kamailio so I can see in asterisk (sip
>> show peers) the ip of the registered softphone and not Kamailio's IP ?
>>
>> Thanks!
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201215/c3f3ef1a/attachment.htm>


More information about the sr-users mailing list