SIP Router Project
FS#194 - Record-Route and msg_apply_changes()
Opened by Jasmin Schnatterbeck (jasmin) - Wednesday, 28 December 2011, 19:40 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Monday, 01 September 2014, 21:34 GMT
in kamailio 3.2.1 Record-Route Header is inserted twice, if
- msg_apply_changes() is called after record_route()
- rr params are added after msg_apply_changes()
I’ve just investigated record.c and I think the reason is, that add_rr_param() tries to recognize if rr has already been called/inserted depending on whether there is a corresponding lump for that - what is not the case, if msg_apply_changes() has been called before (I think it does not keep (but applies) lumps).
If that’s correct, it’s may possible to solve that (proposal):
Monday, 01 September 2014, 21:34 GMT
Reason for closing: Fixed
Additional comments about closing: mag_apply_changes() was updated a while ago to check if record_route() was used before and fail in that case.