Hello,
I received INVITE with 3 Diversion headers. I try to make substitutions in the body of a first Diversion header field by using flag "f",
command *subst_hf("Diversion", /sip:(.*)@/sip:$var(dU)@/", "f") ;* substitutes *all headers *Diversion instead of only first header,
command *subst_hf("Diversion", /sip:(.*)@/sip:$var(dU)@/", "*l*") ;* substitutes only *last* Diversion header.
Thanks for help, Julia.
Hello,
can you try with latest version from branch 4.2, I pushed a patch that should fix the case for f flag.
Cheers, Daniel
On 08/03/15 17:49, Julia Boudniatsky wrote:
Hello Daniel,
Thank you so much, it's working now!
BR, Julia
On Mon, Mar 9, 2015 at 1:43 PM, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
thanks for reporting back the results to know all works fine with the patch.
Cheers, Daniel
On 09/03/15 13:10, Julia Boudniatsky wrote: