Hello everyone!

I was testing a few infrastructure scenarios and found interesting behavior
that may be not correct. So I decided to ask.

I'm running a few day old Kamailio build from master branch. Listeners are:

listen=udp:10.0.40.13:5060 advertise X.X.X.X:5080 name "sock1"
listen=udp:10.42.3.1:5060 name "sock2"

Replies to the incoming requests to sock1 are updated with X.X.X.X address
but the custom port is not added. I tried changing the local port too but
Record-Route and Contact headers did not have a custom port added.

The only way I was able to force Kamailio to use a custom port was to make
it a part of an address by including both in quotes:

listen=udp:10.0.40.13:5060 advertise "X.X.X.X:5080" name "sock1"


Is there a correct way to achieve this?

Thanks a lot!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
  • [SR-Users] listen with adve... Володимир Іванець via sr-users

Reply via email to