<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>John, do you use partitions in DR ?<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 04/04/2017 11:00 PM, John Nash
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4rGPypDAMHXT+0tTZWTGsRMN-Dp1LGWEyaagERVOsktYCZAg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Yes I tried that but still same issue. I call
        goes_to_gw and after that attributes are filled.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Mar 28, 2017 at 3:25 PM,
          Bogdan-Andrei Iancu <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hello John,<br>
                <br>
                Do you use partitions ? Is the use_partition enabled ?
                If not, the use_next_gw() should be used like:<br>
                    use_next_gw( "$avp(rules_attributes)","$<wbr>avp(gw_attributes)")<br>
                <br>
                (the first param, the partition, is not to be provided)<br>
                <br>
                Could you check if this solves the problem ?<br>
                    <br>
                Best regards,<br>
              </tt>
              <pre class="m_7277364954382431405moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a moz-do-not-send="true" class="m_7277364954382431405moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>

OpenSIPS Summit May 2017 Amsterdam
  <a moz-do-not-send="true" class="m_7277364954382431405moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html" target="_blank">http://www.opensips.org/<wbr>events/Summit-2017Amsterdam.<wbr>html</a>
</pre><div><div class="h5">
    <div class="m_7277364954382431405moz-cite-prefix">On 03/23/2017 09:19 AM, John Nash
      wrote:

    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I am using drouting and recently tried to use
        gateway attribute. I call ...
        <div>

        </div>
        <div>do_routing("$avp(int_grp_id)",<wbr>"WF","$avp(gw_whitelist)" ,
          "$avp(rules_attributes)","$<wbr>avp(gw_attributes)"))</div>
        <div>

        </div>
        <div>After this call I can see $avp(gw_attributes) is populated
          frp, attr column of dr_gateways table.</div>
        <div>

        </div>
        <div>but when i call following ...</div>
        <div>use_next_gw(,"$avp(rules_<wbr>attributes)","$avp(gw_<wbr>attributes)")

        </div>
        <div>

        </div>
        <div>$avp(gw_attributes) becomes empty

        </div>
        <div>

        </div>
        <div>

        </div>
        <div>If i call next_routing() instead of use_next_gw then
          $avp(gw_attributes) retains old value but does not populate
          new value</div>
        <div>

        </div>
        <div>

        </div>
        <div>

        </div>
        <div>

        </div>
      </div>
      

      <fieldset class="m_7277364954382431405mimeAttachmentHeader"></fieldset>
      

      </div></div><pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_7277364954382431405moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="m_7277364954382431405moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    

  </div>

</blockquote></div>
</div>



</blockquote>
</body></html>