<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>should I open a ticket in Jira (issue type: improvement?) if I'd
      like to have this implemented in future versions?</p>
    <p>BR,</p>
    <p>Sebastian<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12.9.2018. 18:34, Michael Jerris
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:FA05F2A0-EF2C-43FE-81B7-4932125E1048@jerris.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      It may be possible with code to just always add a contact, not
      sure there is any reason not to, just isn’t typically necessary so
      it wasn’t there.<br class="">
      <div><br class="">
        <blockquote type="cite" class="">
          <div class="">On Sep 12, 2018, at 8:17 AM, Sebastian
            Zenzerović <<a href="mailto:sebastian.zenzerovic@inet.hr"
              class="" moz-do-not-send="true">sebastian.zenzerovic@inet.hr</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <meta http-equiv="Content-Type" content="text/html;
              charset=UTF-8" class="">
            <div text="#000000" bgcolor="#FFFFFF" class="">
              <div class=""> <br class="webkit-block-placeholder">
              </div>
              <div class="moz-text-flowed" style="font-family:
                -moz-fixed; font-size: 14px;" lang="x-unicode">Hello, <br
                  class="">
                <br class="">
                is it possible to add (configuration option/variable?)
                Contact header to outgoing gateway ping messages sent by
                Freeswitch? <br class="">
                <br class="">
                Remote SIP peer is answering "403 forbidden" as there is
                no Contact header present in SIP OPTIONS. <br class="">
                Not a big deal since FS sees the peer as available/UP
                anyway but could be a interoperability enhancement
                between FS and Microsoft Direct routing service (<a
                  class="moz-txt-link-freetext"
                  href="https://aka.ms/dr/" moz-do-not-send="true">https://aka.ms/dr/</a>).
                <br class="">
                <br class="">
                Here are the requirements: <br class="">
                • Must: When placing calls to the Direct Routing
                interface, the 'CONTACT' header must have the SBC FQDN
                in the URI hostname <br class="">
                • Syntax: Contact: <phone number>@<FQDN of the
                SBC>:<SBC Port>;<transport type> <br
                  class="">
                • If the parameter is not configured correctly, OPTIONS
                are rejected with a '403 Forbidden' message <br
                  class="">
                <br class="">
                Freeswitch log: <br class="">
                <br class="">
                   OPTIONS <a class="moz-txt-link-freetext"
                  href="sip:sip-du-a-euno.pstnhub.microsoft.com;transport=tls"
                  moz-do-not-send="true">sip:sip-du-a-euno.pstnhub.microsoft.com;transport=tls</a>
                SIP/2.0 <br class="">
                   Via: SIP/2.0/TLS x.x.x.x;branch=z9hG4bKvjX0rU7K5QtKS
                <br class="">
                   Max-Forwards: 70 <br class="">
                   From: <a class="moz-txt-link-rfc2396E"
                  href="sip:sbc.xxx.xx" moz-do-not-send="true"><sip:sbc.xxx.xx></a>;tag=0aB5jm3SF07ve
                <br class="">
                   To: <a class="moz-txt-link-rfc2396E"
                  href="sip:sbc.xxx.xx" moz-do-not-send="true"><sip:sbc.xxx.xx></a>
                <br class="">
                   Call-ID: 101b723c-3113-1237-6092-00155d000d46 <br
                  class="">
                   CSeq: 128016309 OPTIONS <br class="">
                   User-Agent:
                FreeSWITCH-mod_sofia/1.8.1-2-4f54cff36a~64bit <br
                  class="">
                   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE,
                INFO, UPDATE, REGISTER, REFER, NOTIFY <br class="">
                   Supported: timer, path, replaces <br class="">
                   Allow-Events: talk, hold, conference, refer <br
                  class="">
                   Content-Length: 0 <br class="">
                <br class="">
                   SIP/2.0 403 Forbidden <br class="">
                   FROM: <a class="moz-txt-link-rfc2396E"
                  href="sip:sbc.xxx.xx" moz-do-not-send="true"><sip:sbc.xxx.xx></a>;tag=0aB5jm3SF07ve
                <br class="">
                   TO: <a class="moz-txt-link-rfc2396E"
                  href="sip:sbc.xxx.xx" moz-do-not-send="true"><sip:sbc.xxx.xx></a>
                <br class="">
                   CSEQ: 128016309 OPTIONS <br class="">
                   CALL-ID: 101b723c-3113-1237-6092-00155d000d46 <br
                  class="">
                   VIA: SIP/2.0/TLS x.x.x.x;branch=z9hG4bKvjX0rU7K5QtKS
                <br class="">
                   REASON:
                Q.850;cause=21;text="4da4bb47-5ace-41b2-ba4b-6516fb4771c2;Record-Route
                and Contact headers are missing" <br class="">
                   CONTENT-LENGTH: 0 <br class="">
                   ALLOW: INVITE <br class="">
                   ALLOW: ACK <br class="">
                   ALLOW: OPTIONS <br class="">
                   ALLOW: CANCEL <br class="">
                   ALLOW: BYE <br class="">
                   ALLOW: NOTIFY <br class="">
                   SERVER: Microsoft.PSTNHub.SIPProxy v.2018.9.10.4
                i.EUNO.4 <br class="">
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Services
<a class="moz-txt-link-abbreviated" href="mailto:sales@freeswitch.com">sales@freeswitch.com</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="https://freeswitch.com/oss">https://freeswitch.com/oss</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a class="moz-txt-link-freetext" href="https://cluecon.com">https://cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="https://freeswitch.com">https://freeswitch.com</a></pre>
    </blockquote>
    <br>
  </body>
</html>