Daniel,<br><br> This is 1.5 and there is nothing between the quotes "".<br><br>The
last time I tried to remove_hf, and then append_hf(From) or To header,
it seemed to break call flow completely? I will give it another go,
however if you have any further thoughts it is much appreciated, thanks!<br>
<br>Sincerely,<br>Brandon Armstead<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 6:44 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<div><div></div><div class="h5"><br>
<br>
On 03/16/2010 02:30 AM, Brandon Armstead wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
As always thank you ahead of time for your help and input!<br>
<br>
I am currently calling uac_replace_from("", "") in effort to "leave uri" and "toss away display name"<br>
<br>
Which does seem to work....... for the initial INVITE<br>
<br>
However upon receiving an ACK with an empty display, however "" <- quotations, it does not clear the display "" which is causing issues with one of my upstream vendors.<br>
<br>
Example / Scenario:<br>
<br>
From: "" <sip:uri@host><br>
<br>
Expected Result upon uac_replace_from("",""): From: <sip:uri@host><br>
<br>
Current Result: From: "" <sip:uri@host><br>
<br>
As you can see it is not stripping the "" empty display quotes.<br>
<br>
Any thoughts / ideas / suggestions to get my desired affect?<br>
<br>
</blockquote></div></div>
could be that display name is set to empty string (what is between double quotes) and in this case is nothing to replace -- I have to doublecheck the sources. Is it 1.5 or 3.0?<br>
<br>
Are you using From auto-replacing mode? If not, a solution for now is to do From update using header manipulation functions:<br>
<br>
remove_hf("From");<br>
append_hf("From: <$fu>;tag=$ft\r\n", "From");<br>
<br>
Cheers,<br>
Daniel<br><font color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla<br>
Kamailio SIP Router Masterclass, Berlin, March 22-26, 2010<br>
* <a href="http://www.asipto.com/index.php/sip-router-masterclass/" target="_blank">http://www.asipto.com/index.php/sip-router-masterclass/</a><br>
<br>
</font></blockquote></div><br>