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.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users