<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hello Johan,</div><div>Thank you for reply and help.</div><div>Based on MS Teams   Allow header will disable REFER and MS Teams will send invite in dialog. </div><div>The following code  snippet on 200 OK reply  is resolve the issue.</div><div><br data-mce-bogus="1"></div><div><div>                        $var(refer-allow) = "INVITE, ACK, CANCEL, BYE, INFO, NOTIFY, PRACK, UPDATE, OPTIONS";</div><div>                        remove_hf("Allow");</div><div>                        insert_hf("Allow: $var(refer-allow)\r\n");</div></div><div><br></div><div><br data-mce-bogus="1"></div><div> </div><div>volga629</div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"johan" <johan@democon.be><br><b>To: </b>"OpenSIPS users mailling list" <users@lists.opensips.org><br><b>Sent: </b>Friday, May 8, 2020 9:58:56 AM<br><b>Subject: </b>Re: [OpenSIPS-Users] MS Teams REFER transfer on hold.<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><p>try with replying that you don't support refer. <br>
    </p>
    <div>On 8/05/2020 11:19, Slava Bendersky via
      Users wrote:<br>
    </div>
    <blockquote>
      </blockquote>
      <div style="font-family:'lucida console' , sans-serif;font-size:12pt;color:#000000">
        <div>
          <div style="font-family:'lucida console' , sans-serif;font-size:12pt;color:#000000">
            <div>Hello Everyone,</div>
            <div>I am trying put tougher transfer feature with in MS
              Teams.</div>
            <div>And based on my research and testing right now is not
              possible with opensips.</div>
            <div>MS Teams are sending on hold  in case of transfer and
              onhold as a=inactive.</div>
            <div>Major problem they require encode/decode params in
              REFER-TO REFER-BY.</div>
            <div><br>
            </div>
            <div>MS Teams expect observe REFER with 202 and decode
              params  with future action.</div>
            <br>
            <div>Here official requirements doc.</div>
            <div> </div>
          </div>
          <div><a href="https://docs.microsoft.com/en-us/microsoftteams/direct-routing-protocols-sip#call-transfer" target="_blank" rel="nofollow noopener noreferrer">https://docs.microsoft.com/en-us/microsoftteams/direct-routing-protocols-sip#call-transfer</a></div>
          <div><br>
          </div>
          <div>Any suggestion welcome.</div>
          <div><br>
          </div>
          <div>volga629.</div>
          <div><br>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre">_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" rel="nofollow noopener noreferrer">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="nofollow noopener noreferrer">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    
  

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