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