<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1251"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, Liviu.<div><br></div><div>Thank you very much for the advice. Now, all works fine!</div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best regards,</div><div>Alexander Mustafin</div><div><a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br><div><div>22 îêò. 2014 ã., â 17:20, Liviu Chircu &lt;<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>&gt; íàïèñàë(à):</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hello Alexander,<br>
        <br>
        You need to specify the context of a pseudo-var. [1]<br>
        <br>
        For your script, you should use $(&lt;reply&gt;fU) and
        $(&lt;reply&gt;fd).<br>
        <br>
        [1]: <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreVar-2-1">http://www.opensips.org/Documentation/Script-CoreVar-2-1</a><br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre>
      On 10/22/2014 01:13 PM, Alexander Mustafin wrote:<br>
    </div>
    <blockquote cite="mid:1BB0DB97-920C-4F47-89EB-F693F827D3EF@gmail.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Hello.&nbsp;
      <div><br>
      </div>
      <div>I need to receive variables from 407 message in failure
        route, but when I tried it - I received a value from initial
        message.</div>
      <div><br>
      </div>
      <div>
        <div>INVITE <a moz-do-not-send="true" href="sip:055555534534@sbc.sbc.sbc">sip:055555534534@sbc.sbc.sbc</a>
          SIP/2.0.</div>
        <div>Via: SIP/2.0/UDP
          54.55.56.57:12000;rport;branch=z9hG4bK37Ny7QvNF7Hrc.</div>
        <div>Max-Forwards: 70.</div>
        <div>From: «User" &lt;<a moz-do-not-send="true" href="sip:77777777777@office.sbc.sbc">sip:77777777777@office.sbc.sbc</a>&gt;;tag=ct7BK7ccyaK7H.</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>SIP/2.0 407 Proxy Authentication Required.</div>
        <div>From: &lt;<a moz-do-not-send="true" href="sip:neo590@test.test.test">sip:neo590@test.test.test</a>&gt;;tag=ct7BK7ccyaK7H.</div>
        <div>To: &lt;<a moz-do-not-send="true" href="sip:88888888888@test.test.test">sip:88888888888@test.test.test</a>&gt;;tag=9560995.</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>failure_route[EXTERNAL_FAULT] {</div>
        <div>&nbsp; &nbsp; if (t_was_cancelled()) {</div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; xlog("L_INFO", "$ci|log|transaction was
          cancelled");</div>
        <div><br>
        </div>
        <div>&nbsp; &nbsp; &nbsp; &nbsp; exit;</div>
        <div>&nbsp; &nbsp; }</div>
        <div>&nbsp; &nbsp;&nbsp;</div>
        <div>&nbsp; &nbsp; $var(auth_user) = $fU + "@" + $fd;</div>
      </div>
      <div>}</div>
      <div><br>
      </div>
      <div>In variable $var(auth_user) I’ve seen <a moz-do-not-send="true" href="mailto:77777777777@office.sbc.sbc">77777777777@office.sbc.sbc</a>.</div>
      <div><br>
      </div>
      <div>Can I receive values from 407 message?</div>
      <div><br>
      </div>
      <div>
        <div apple-content-edited="true">
          <div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
            <div>Best regards,</div>
            <div>Alexander Mustafin</div>
            <div><a moz-do-not-send="true" href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div>
            <div><br>
            </div>
          </div>
          <br class="Apple-interchange-newline">
          <br class="Apple-interchange-newline">
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></blockquote></div><br></div></body></html>