<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>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.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 22/11/2016 12:43, Nelson Migliaro
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALcOv0Radh_J7YsP1xi1tw1AaPmUSMGHGB=YSzGK=_XZJV6Rdg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>My sip vendor sends me a 403 error when the caller id (CLI)
          sent is not valid.</div>
        <div><br>
        </div>
        <div>I would like to set up a failure route to capture that 403
          and set up a default CLI.</div>
        <div><br>
        </div>
        <div>I tried to use a uac_replace_from() in a failure route but
          I get:</div>
        <div><br>
        </div>
        <div>"Command cannot be used in the block"</div>
        <div><br>
        </div>
        <div>Does anyone know how can I change the CLI in a failure
          route how how can achieve the default CLI?</div>
        <div><br>
        </div>
        <div>Thank you</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>