i think in this case the kamailio does not need to change the From Header at all. But for any reasons i compares old with new URI (according the code) During this the kamailio changes the From header to this: ``` <sip:127A946"0DDloqbpiumQD ```
There are lots of failure messages in the log describing exactly this. On kamailio except for the error message nothing breaks. On the A side of the call (in our case an asterisk) the Bye gets pardes and here the parser stops at the quotes. This is not an allowed character in a SIP URI and the Parser ends with an error and reply back with "Bad Request"
As far as i understand SIP the change by kamailio of the from URI is not needed in this case and causes a hanging call.