<div dir="ltr">Try uac_replace_from<br>take a look at <a href="http://www.openser.org/docs/modules/1.3.x/uac.html#AEN160">http://www.openser.org/docs/modules/1.3.x/uac.html#AEN160</a><br><br>I hope it helps.<br><br>Pablo<br>
<br><div class="gmail_quote">On Fri, Jul 25, 2008 at 12:49 PM, Mouncif Benniane &lt;<a href="mailto:mouncifbb@gmail.com">mouncifbb@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">I am trying to change/re-write <a name="11b5ae911b68b96b_from_uri_username">From URI username and From display name (<b style="font-weight: normal;">$fU and </b><b style="font-weight: normal;">$fn respectively) to avposp values</b></a><h3 style="font-weight: normal;">

I tried: </h3><h3 style="font-weight: normal;">$fU = $avp(s:somevariable);<br>avp_write(&quot;$fU&quot;,&quot;$avp(s:somevariable)&quot;);<br>append_hf(&quot;From-username: $avp(s:somevariable)\r\n&quot;);</h3><h3 style="font-weight: normal;">

<br></h3><h3><span style="font-weight: normal;">but none of them works, any ideas on how to re-write those variables in SIP messages? Thank you</span><a name="11b5ae911b68b96b_from_uri_username"><b><br></b></a></h3>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>