<div dir="auto">Maybe we should deprecate and remove the advertise_address.</div><div dir="auto"><br></div><div dir="auto">-ovidiu</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 14, 2022 at 10:34 Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>advertise_address is an old global parameter that is only for
      Via. Try to use the advertise attribute for listen parameter --
      see core cookbook for more details.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p></div><div>
    <div>On 14.01.22 08:27, Muhammad Danish
      Moosa wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi,<br>
        <br>
        I have a pair of kamailio stateful proxies and am trying to
        achieve Active-Passive failover model with DMQ dialog
        replication. Primary Proxy is working in the middle of  2 SBCs
        and all nodes are within the same network so NATing is NOT
        involved ;secondary proxy is accessible through VPN. It's pretty
        simple configuration, proxy is just adding and removing headers
        in the middle.
        <div><br>
        </div>
        <div>So if I stop the kamailio service on primary IP , SBCs
          blacklist that and start sending new invites to secondary IP.
          That's all good.</div>
        <div><br>
        </div>
        <div>But if I reproduce this failover during a connected session
          , SBCs do not send mid-dialog requests/responses to failover
          IP. I can see they still try to send messages to primary SBC
          which obviously end up with timeout. I understand the most
          natural solution is HA with Virual IP but it's not possible
          because secondary IP is accessible through VPN.</div>
        <div><br>
        </div>
        <div>I tried to use DNS SRV record with priorities but that also
          does not work with mid-dialog messages, I also have tried to
          change record-route/via header to fqdn through
          advertise_address. Its not changing record-route but via only
          but I am still not getting expected results.</div>
        <div><br>
          Any guidance of possible solution(s) here will be appreciated.</div>
        <div><br>
        </div>
        <div><br>
          <div><br>
          </div>
          <div><br>
          </div>
          <div> <br clear="all">
            <div><br>
            </div>
            -- <br>
            <div dir="ltr" data-smartmail="gmail_signature">Muhammad Danish Moosa<br>
              <br>
              " The core of mans' spirit comes from new experiences.
              "___ Christopher McCandless</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
  Feb 21-24, 2022 (America Timezone)
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </div>

__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>