<HTML>
<HEAD>
<TITLE>Re: [OpenSIPS-Users] uac_replace_from misses display name</TITLE>
</HEAD>
<BODY>
<FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hi Ricardo,<BR>
<BR>
I’d give you at least 2 or 3 cents for that one! But according to the documentation page, $fn is not writable. I accomplished it with a subst() on the From header. It doesn’t seem to have broken anything. Yet.<BR>
<BR>
<BR>
- Jeff<BR>
<BR>
<BR>
<BR>
On 7/21/09 3:56 PM, "Ricardo Martins" <<a href="rpoppi77@gmail.com">rpoppi77@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>Hi Jeff. Let me give you my 1 cent. <BR>
<BR>
Why don't you perform some script/avp operation changing the value of $fn variable? Doing that you can change the from header display name before sending it forward (If I understood correctly what you need).<BR>
<BR>
Regards! Ricardo.<BR>
<BR>
Jeff Pyle escreveu: <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
Hi Bogdan,<BR>
<BR>
I thought had this figured out but it appears not.<BR>
<BR>
What's the best way to remove the display name but not touch the rest of the<BR>
header? Is this another uac_replace_from, a subst operation?<BR>
<BR>
<BR>
- Jeff<BR>
<BR>
<BR>
<BR>
On 7/9/09 12:04 PM, "Bogdan-Andrei Iancu" <<a href="bogdan@voice-system.ro">bogdan@voice-system.ro</a>> <<a href="mailto:bogdan@voice-system.ro">mailto:bogdan@voice-system.ro</a>> wrote:<BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
Hi Jeff,<BR>
<BR>
The display part is not restored at all...anyhow it is used only for<BR>
initial INVITE, so you could simply remove it from all the sequential<BR>
requests.<BR>
<BR>
Regards,<BR>
Bogdan<BR>
<BR>
Jeff Pyle wrote:<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
Hello,<BR>
<BR>
I have uac_replace_from updating the display name and URI of outbound calls.<BR>
The call flow is a standard INVITE, 100, 183, 200, ACK kind of setup. The<BR>
module seems to be correctly replacing the names up to the ACK. When it<BR>
forwards the ACK from the UAS back to the UAC, it updates the URI but not<BR>
the display name. The BYE and 200 OK to tear down the call also have this<BR>
problem.<BR>
<BR>
This is on opensips 1.5.1-notls (sparc64/linux).<BR>
<BR>
Any thoughts?<BR>
<BR>
<BR>
Thanks,<BR>
Jeff<BR>
<BR>
<BR>
_______________________________________________<BR>
Users mailing list<BR>
<a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'> <BR>
<BR>
<BR>
_______________________________________________<BR>
Users mailing list<BR>
<a href="Users@lists.opensips.org">Users@lists.opensips.org</a><BR>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>