[SR-Users] [ *SPAM* 3.0 ] Re: [ *SPAM* 2.2 ] Re: carrierroute and failure route

yu at yu-boot.ru yu at yu-boot.ru
Tue Aug 8 16:10:07 CEST 2017



Can you provide 100% working Kami config with correct NAT traversal and REINVITE please?
--
Отправлено из myMail для Android понедельник, 07 августа 2017г., 13:08 +03:00 от Sebastian Damm  damm at sipgate.de :

>Hi,
>
>On Sat, Aug 5, 2017 at 7:00 PM, Yu Boot < yu at yu-boot.ru > wrote:
>> Gotcha! I've added fix_nated_contact() to [NATDETECT] route and now all
>> messages UNTIL reinvite occurs are with correct NATed IP in "Contact" field.
>
>while fix_nated_contact() may work in your scenario, it is generally a
>"bad variant" to use. The set_contact_alias() method is much less
>invasive. Depending on the client, it could reject reINVITEs or other
>in-call messages (like BYE) because the contact header initially sent
>differs from the request URI of the incoming message.
>
>That's why set_contact_alias() only appends the real IP of the client,
>and handle_ruri_alias() takes care that the original contact is set
>correctly.
>
>As said, if it works in your environment, everything is fine. Just be
>careful if you don't know what devices will be talking to your
>service.
>
>BR
>Sebastian
>
>_______________________________________________
>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/20170808/895d23bc/attachment.html>


More information about the sr-users mailing list