2015-07-15 21:59 GMT+03:00 Alex Balashov abalashov@evaristesys.com:
As far as I know, t_on_branch() should execute for every branch, including the first one. Do you have any other evidence that it doesn't, i.e. a simple xlog statement?
I am unable to test this now in my local environment, but I believe we have tested this few days ago, and that was the reason why I added record_route_advertised_address() also after lookup(). I haven't looked into kamailio sources about this yet. If you are sure that t_on_branch route is supposed to be executed on each branch, then I should retest it and let you know the results.
There's new RR-related issue: now tested it in different setup, and record_route_advertised_address() doesn't write "transport=" attribute when the call goes from websocket to TLS. So Linphone sends BYE via UDP again.