New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
topos_redis: update record-route set on re-invite #2554
Comments
The behaviour is according SIP specs, see Relevant snippet:
I am not aware of any newer RFC amending that, if you know such, point it here. Now, if one needs such behaviour out of SIP specs, I am fine to accept a contribution that makes it configurable with a modparam. For the moment, I am going to label this as a request for enhancement. If nobody commits to implement it, it will be closed in the near future. |
@miconda Thanks for the suggestion. I will soon create PR for this with a modparam. |
As the pull request has been merged, close this one. If there is something left, just re-open the issue. |
Description
Kamailio not updating record-route value stored in redis (topos module) during re-invite
config:
modparam("ndb_redis", "server", "name=srv1;addr=localhost;port=6379;db=1")
modparam("topos", "storage", "redis")
modparam("topos_redis", "serverid", "srv1")
modparam("topos", "branch_expire", 300)
modparam("topos", "dialog_expire", 10800)
modparam("topos", "sanity_checks", 1)
modparam("topos", "clean_interval", 20)
Troubleshooting
Reproduction
Debugging Data
b_rr value remains same even after 200 OK for re-invite has a different record-route
same issue seen for a_rr value in redis.
Log Messages
SIP Traffic
Possible Solutions
I checked code for topos_redis module, looks like only duiring initial transaction b_rr and a_rr values are stored
https://github.com/kamailio/kamailio/blob/master/src/modules/topos_redis/topos_redis_storage.c#L1270
Additional Information
kamailio -v
The text was updated successfully, but these errors were encountered: