[sr-dev] [kamailio/kamailio] add rport to uac register msg (#2639)

Daniel-Constantin Mierla notifications at github.com
Wed Feb 17 10:46:14 CET 2021


Regarding `local_rport=yes`, it is somehow strange, because the code has the condition:

```
if((ksr_local_rport) || (msg && (msg->msg_flags&FL_ADD_LOCAL_RPORT))) {
```

`ksr_local_rport` corresponds to `local_rport` parameter and `FL_ADD_LOCAL_RPORT` is set by `add_local_rport()`. The cfg value `yes` it is an alias to integer `1`.

Can you double check using `local_rport=yes` and no `event_route[tm:local-request]`? It would be good to sort it out now, when we are on it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2639#issuecomment-780434075
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210217/25d70b15/attachment.htm>


More information about the sr-dev mailing list