[SR-Users] Carrierroute, uac_*, failure_route.

Yu Boot yu at yu-boot.ru
Mon Sep 4 09:37:26 CEST 2017


Finally I've found dirty hack for that:

                 remove_hf("From");
                 insert_hf("From: sip:$fU at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list