Finally I've found dirty hack for that:
remove_hf("From"); insert_hf("From: sip:$fU@my_ip;tag=$fti\r\n");
instead of uac_replace_from()? and similiar for To.
So weird that such a simple option requires such hacks and can't be done using standard tools (or I've just overlooked them).
01.09.2017 8:59, ycaner пишет:
hello, i route it another request route, for example. In addition, i remember that there is only once can change from header or uac module breaks from header. check headers please.
failroute{ route(changecli) route(outcarrierroute) route(relay) }
route[changecli] { .... return }
route[outcarrierroute]{ .... return }
route[RELAY]{
}
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users