Try textops subst() in branch_route.
Regards, Ovidiu Sas
On Tue, Aug 12, 2008 at 9:39 AM, Alex Hermann alex@speakup.nl wrote:
On Tuesday 12 August 2008, Iñaki Baz Castillo wrote:
El Tuesday 12 August 2008 14:17:39 Alex Hermann escribió:
REQUEST_ROUTE: uac_replace_from(a) t_relay();
FAILURE_ROUTE: append_branch() uac_replace_from(b) t_relay()
the second uac_replace_from always produces garbage in the From
Yes, it occurred the same to me. uac_replace_from has a very buggy behaviour.
Is not valid for you using P-Asserted-Identity or RPID?
No. I really need to modify the From.
I tried Carstens patch to use uac_replace_from in branch route. This hack does the 'right thing' for requests, but still puts multiple From headers in replies.
-- Greetings,
Alex Hermann
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users