[SR-Users] Nat_UAC

Daniel-Constantin Mierla miconda at gmail.com
Wed May 2 10:44:36 CEST 2018


Hello,


On 01.05.18 20:48, Nicolas Breuer wrote:
>
> Hello The list,
>
>  
>
> What do you think of the purpose of this function
>
>  
>
> *Nat_Uac_test(‘16’)*
>
> /16/- Test if the source port is different from the port in the “Via”
> header
>
>  
>
> Correct me if I’m wrong but compare the source port of the message
> with the source port of the via
> is only valid on the initial invite ?
>
It is valid for all requests, not only for initial INVITE.

>  
>
> All subsequent messages or replies don’t list the UAC anywhere in the via.
>
>  
>
The test should not be done for replies, iirc, in the default config is
done only for requests.

Requests have always the Via of the initial sender, including the
subsequent requests within a dialog.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180502/dd32d311/attachment.html>


More information about the sr-users mailing list