Domain of URI works ok with
sip.pstnhub.microsoft.com.
Domain of From works ok with localhost.
Domain of To works ok with
sip.pstnhub.microsoft.com.
Those are not important.
It is important that you have the right Contact:
Contact: <sip:[YOUR_DOMAIN]:[YOUR_PORT];transport=tls>
If your Contact is right, then something is misconfigured on MS side.
Check that you have the right licences, the right port, that there are
no typos ...
Enable debug logs and check that connection is successful and ensure
that all the certs are valid and set to be verified.
-ovidiu
On Mon, Apr 15, 2024 at 1:38 PM Tyler Preder via sr-users
<sr-users(a)lists.kamailio.org> wrote:
We set the URI domain in the OPTIONS to match our system’s fqdn. From your OTPIONS that
would be
sip:msteams.domain.com. We do not use
sip.pstnhub.microsoft.com as the domain.
From: Barry Flanagan via sr-users <sr-users(a)lists.kamailio.org>
Sent: Monday, April 15, 2024 9:08 AM
To: sr-users(a)lists.kamailio.org
Cc: Barry Flanagan <barry(a)flantel.com>
Subject: [SR-Users] Issue with MS Teams OPTIONS ping - no response
Hi
Using Kamailio 5.6 and trying to get Teams integration working. Failing at the first
step! I receive no reply from MS to my OPTIONS ping. AFAIK it is correect, here is the
OPTIONs sent:
OPTIONS sip:sip.pstnhub.microsoft.com;transport=tls SIP/2.0
Via: SIP/2.0/TLS
msteams.domain.com:5061;branch=z9hG4bK0c2b.da69f3c3000000000000000000000000.0
To: <sip:sip.pstnhub.microsoft.com;transport=tls>
From: <sip:msteams.domain.com>;tag=6d9effc2a8ec7e0b16377e93bd9e71e2-470e3c71
CSeq: 10 OPTIONS
Call-ID: 6ea8091201db565b-605531(a)159.65.196.10
Max-Forwards: 70
Content-Length: 0
User-Agent: ABC SBC
Contact: <sip:msteams.domain.com:5061;transport=tls>
From the logs (below) I can see that w are accepting the MS cert OK but get no response
and ends with a 408. The domain is configured in Teams, and a user with a license was
added. MY Cert is issued by GeoTrust TLS RSA CA G1.
Any idea if the issue might be on my side?
024-04-15T14:53:19.302610+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_domain.c:798]: sr_ssl_ctx_info_callback(): SSL handshake done
2024-04-15T14:53:19.302692+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_server.c:542]: tls_connect(): TLS connect successful
2024-04-15T14:53:19.302762+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_server.c:545]: tls_connect(): tls_connect: new connection to 52.114.14.70:5061 using
TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256
2024-04-15T14:53:19.302824+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_server.c:550]: tls_connect(): tls_connect: sending socket: 159.65.196.10:0
2024-04-15T14:53:19.302868+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_server.c:418]: tls_dump_cert_info(): tls_connect: server certificate
subject:/C=US/ST=WA/L=Redmond/O=Microsoft
Corporation/CN=sip.pstnhub.microsoft.com
2024-04-15T14:53:19.302917+00:00 msteams /usr/sbin/kamailio[605600]: DEBUG: tls
[tls_server.c:422]: tls_dump_cert_info(): tls_connect: server certificate
issuer:/C=US/O=Microsoft Corporation/CN=Microsoft Azure RSA TLS Issuing CA 03
2024-04-15T14:53:19.470476+00:00 msteams /usr/sbin/kamailio[605606]: DEBUG: tls
[tls_server.c:729]: tls_h_tcpconn_close_f(): Closing SSL connection 0x7fd3c77639c8
2024-04-15T14:53:28.770710+00:00 msteams /usr/sbin/kamailio[605591]: DEBUG: dispatcher
[dispatch.c:3617]: ds_options_callback(): OPTIONS-Request was finished with code 408 (to
sip:sip.pstnhub.microsoft.com;transport=tls, group 1)
-Barry
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
--
VoIP Embedded, Inc.
http://www.voipembedded.com