<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>see:</p>
    <p><a
href="https://www.kamailio.org/docs/modules/stable/modules/tls.html#tls.p.xavp_cfg">https://www.kamailio.org/docs/modules/stable/modules/tls.html#tls.p.xavp_cfg</a></p>
    <p>And the OPTIONS keepalive can be handled in
      event_route[tm:local-request].</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 18.06.20 02:48, Mack Hendricks
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:FFE96D6E-ECF6-48B9-B799-5CBF8A156A07@goflyball.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Yeah...I’m aware.  I was just checking if dispatcher could match
      on the ip:port just in case I wanted to support other use cases
      with my Kamailio instance.   I read thru the source and it looks
      like the uac module is being used to initiate the OPTIONS message.
       <br>
      <br>
      <div dir="ltr">Sent from my iPhone</div>
      <div dir="ltr"><br>
        <blockquote type="cite">On Jun 17, 2020, at 8:09 PM, Sergiu
          Pojoga <a class="moz-txt-link-rfc2396E" href="mailto:pojogas@gmail.com"><pojogas@gmail.com></a> wrote:<br>
          <br>
        </blockquote>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div dir="auto">
            <div>Hi Mack, </div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">You wouldn't have the burden of handling
              multiple domains whatsoever if you followed Microsoft's
              recommendations on how to configure SBC Teams for multiple
              tenants. Dispatcher would be used only for carrier's base
              domain.<br>
              <br>
              <div class="gmail_quote" dir="auto">
                <div dir="ltr" class="gmail_attr">On Wed, Jun 17, 2020,
                  7:11 PM Mack Hendricks, <<a
                    href="mailto:mack@dopensource.com"
                    moz-do-not-send="true">mack@dopensource.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div dir="ltr">
                    <div>Hey All,<br>
                    </div>
                    <div><br>
                    </div>
                    <div>I'm attempting to use dispatcher to send probe
                      messages using TLS for two different domains.  I'm
                      providing the socket attribute, which maps to a
                      certificate in /etc/kamailio/tls.cfg.  But, it
                      seems to always select the default client cert,
                      which is not the certificate I want to use.</div>
                    <div><br>
                    </div>
                    <div>My attrs column in dispatcher looks like this:</div>
                    <div><br>
                    </div>
                    <div>socket=tls:142.93.159.231:5061;ping_from=sip:<a
                        href="http://mack.dopensource.com"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">mack.dopensource.com</a><br>
                    </div>
                    <div>socket=tls:142.93.159.231:5062;ping_from=sip:<a
                        href="http://levin.dopensource.com"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">levin.dopensource.com</a><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Is there some way to force dispatcher to do TLS
                      cert matching based on the host:ip?</div>
                    <div><br>
                    </div>
                    <div>Thanks</div>
                    <div><br>
                    </div>
                    <div>-Mack</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  Kamailio (SER) - Users Mailing List<br>
                  <a href="mailto:sr-users@lists.kamailio.org"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                  <a
                    href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                    rel="noreferrer noreferrer" target="_blank"
                    moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                </blockquote>
              </div>
            </div>
          </div>
          <span>_______________________________________________</span><br>
          <span>Kamailio (SER) - Users Mailing List</span><br>
          <span><a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a></span><br>
          <span><a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>