<p dir="ltr"><br>
Daniel, thank you in advance, by his answer quick.</p>
<p dir="ltr">But pay attention to the second assignment, the new value is append to the end of the previous content of $fU variable and isn't overwriting the $fU variable with the new value. This behaviour is what one I expected.</p>
<p dir="ltr">That behaviour is Design definition?</p>
<p dir="ltr">Beforehand, let me I join the Kamailio development community.<br></p>
<p dir="ltr">Best Regards<br>
CMA<br><br></p>
<p dir="ltr">> Date: Tue, 4 Oct 2016 08:07:03 +0200<br>
> From: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>><br>
> To: "Kamailio (SER) - Development Mailing List"<br>
>         <<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>><br>
> Subject: Re: [sr-dev] $fU pv Assign New Value Isnt Rewrite old value<br>
> Message-ID: <<a href="mailto:6366e966-fb9d-28d9-b002-cbb5f143c24b@gmail.com">6366e966-fb9d-28d9-b002-cbb5f143c24b@gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Hello,<br>
><br>
> it is by design -- $fU is an operation over a sip header, which is done<br>
> in a special way for performance considerations -- for more details and<br>
> how to deal with multiple changes see:<br>
><br>
>  -<br>
><a href="https://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or"> https://www.kamailio.org/wiki/tutorials/faq/main#why_changes_made_to_headers_or</a><br>
><br>
> Cheers,<br>
> Daniel<br>
><br>
> On 04/10/16 01:13, Cléviton Mendes de Araújo wrote:<br>
> > Hi,Kamailio Community<br>
> ><br>
> ><br>
> ><br>
> > Is there a bug when we assign new value to $fU pseudo-variable multi time?<br>
> ><br>
> > My scenery is according below:<br>
> ><br>
> ><br>
> ><br>
> > In a point on config file, let us that $fU value is: 7777. When I do<br>
> > assign:<br>
> ><br>
> > .....<br>
> > $fU = "5555" + $fU;        ### Here $fU = 55557777<br>
> > .....<br>
> ><br>
> > In another point, let us that value $sht(htble=>$var(nnnn)) hold is:<br>
> > 44444444. And I do:<br>
> ><br>
> > .....<br>
> > $fU = $sht(htble=>$var(nnnn));     #### Here, it seems that this is<br>
> > happening $fU = 5555777744444444<br>
> > .....<br>
> ><br>
> > When I turn on ngrep analysis, I catch From header:<br>
> ><br>
> > .................<br>
> > .................<br>
> > From: "User Name" <sip:5555777744444444@IP-Address><br>
> > .................<br>
> > .................<br>
> ><br>
> ><br>
> > This two assignments are realizing on same route block.<br>
> ><br>
> > So, it seems to be a bug.<br>
> ><br>
> ><br>
> ><br>
> > Best Regards,<br>
> > CMA<br>
> ><br>
> ></p>