xkaraman left a comment (kamailio/kamailio#4250)
@miconda @tsearle
After some brief tests and evaluation here are some remarks:
1. Indeed previous commits (https://github.com/kamailio/kamailio/commit/faca8e7a20255d90a4786fd4043005ea... and https://github.com/kamailio/kamailio/commit/ccc106922802213253f03f181d10fe83...) for CANCEL produce the event for hop-by-hop which is not required. I will see what can be done about this. 2. Using this patch, the result for RPC command seems to be not what is described: Issuing the below command for a real invite to a registered number `sudo sbin/kamctl rpc tm.t_uac_start INVITE sip:alice2@ip_proxy:50739 . . From:sip:alice2@app01.com\r\nTo:sip:alice@app01.net\r\n` does produce event for the INVITE as expected but NOT for the ACK as this patch suggest. 3. I couldn't verify it but this patch seems to suggest that the change is related to the `t_uac_send` kamialio config function and it's not used accross, like for example in RPC methods.