[SR-Users] Change from in a failure route

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 23 14:43:51 CET 2016


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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161123/f778c228/attachment.html>


More information about the sr-users mailing list