<div dir="ltr">Hello,<div><br></div><div>My SIP vendor request me to replace the from in order to authenticate calls.</div><div><br></div><div>I use:</div><div><br></div><div>uac_replace_from("111111111", "<a href="mailto:sip%3A111111111@vendor-domain.com">sip:111111111@vendor-domain.com</a>");</div><div><br></div><div>And when finishing calls I have this error:<br><div><br></div><div><div>ERROR: uac [replace.c:607]: restore_uri(): new URI [] shorter than old URI [sip:34912345678@vendor-public-ip]</div></div><div><br></div><div>Information</div><div>------------------------------------------------------------------</div><div>34912345678 -> original CLI<br></div><div>111111111 -> my vendor contract<br></div><div><a href="http://vendor-domain.com">vendor-domain.com</a> -> domain of the vendor<br></div><div>------------------------------------------------------------------<br></div><div><br></div><div>I use the function uac_replace_from in the request_route </div><div><br></div><div>My Kamailio version is: 4.2.8-1.1</div><div><br>Thank you</div><div><br></div><div>Nelson.-</div><div><br></div><div><br></div><div><br></div></div></div>