Hello, the proper way to change it is inside a branch_route -- before relaying inside the failure_route, arm a branch route with t_on_branch() and there to the From update.
Cheers, Daniel On 22/11/2016 12:43, Nelson Migliaro wrote: > Hello, > > My sip vendor sends me a 403 error when the caller id (CLI) sent is > not valid. > > I would like to set up a failure route to capture that 403 and set up > a default CLI. > > I tried to use a uac_replace_from() in a failure route but I get: > > "Command cannot be used in the block" > > Does anyone know how can I change the CLI in a failure route how how > can achieve the default CLI? > > Thank you > > > _______________________________________________ > 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 -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
_______________________________________________ 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