<div dir="ltr"><div>Hello,</div><div><br></div><div>The issue with the number appended after the domain was because I was changing $fU variable before calling uac_replace_from function. Now it's OK, just wonder about the caller id name, is it OK to have there double space when using this function?</div><div>The issue here is that one of our Upstream operators is checking that field and in case of absence it's setting the caller id number automatically to unknown number, which shouldn't happen, but unfortunately there is not too much to do on our side except fixing that double space character. <br></div><div>Thank you.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 29 Sep 2020 at 14:00, Ilie Soltanici <<a href="mailto:iliusha.md@gmail.com">iliusha.md@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>The uac_replace_from seems not to be working properly in the ver 5.4.</div><div><br></div><div>This is the header I'm trying to change: <br></div><div><b>From: "Admin" <sip:+123456789@local.ip>;tag=as11428589</b></div><div><br></div><div>by using this function:</div><div>uac_replace_from("","<a href="mailto:sip%3A%2B123456789@domain.com" target="_blank">sip:+123456789@domain.com</a>");</div><div><br></div><div>I'm getting the following header:</div><div><b>From: <sip:+123456789@domain.com35316853757>;tag=as11428589</b></div><div>(Double space in the callerid name, and number appended after the domain)</div><div><br></div><div>Thank you.<br></div></div>
</blockquote></div>