Also, try removing the port from dispatcher's destinations, URI like sip:sip.pstnhub.microsoft.com;transport=tls

Regards,
Sergiu
--
Teams PBX connector plus full MS Direct Routing automation
Webhttps://teamsphone.net

On Mon, Dec 18, 2023 at 2:17 PM Sergiu Pojoga <pojogas@gmail.com> wrote:
You didn't confirm if Contact was added to OPTIONS for local requests.

In Teams Admin Center, do you have an enrolled SBC? What's the status of TLS, SIP OPTIONS and Enabled status?

What's the result of: kamcmd dns.lookup SRV _sips._tcp.sip.pstnhub.microsoft.com

Can you ping sip.pstnhub.microsoft.com?

On Mon, Dec 18, 2023 at 1:05 PM faisal.jamil.khan--- via sr-users <sr-users@lists.kamailio.org> wrote:
kamctl dispatcher dump
{
  "jsonrpc":  "2.0",
  "result": {
    "NRSETS": 1,
    "RECORDS":  [{
        "SET":  {
          "ID": 1,
          "TARGETS":  [{
              "DEST": {
                "URI":  "sip:sip.pstnhub.microsoft.com:5061;transport=tls",
                "FLAGS":  "IP",
                "PRIORITY": 3,
                "ATTRS":  {
                  "BODY": "socket=tls:172.31.19.8:5061;ping_from=sip:abcsbc.com",
                  "DUID": null,
                  "MAXLOAD":  0,
                  "WEIGHT": 0,
                  "RWEIGHT":  0,
                  "SOCKET": "tls:172.31.19.8:5061",
                  "SOCKNAME": null,
                  "OBPROXY":  null
                }
              }
            }, {
              "DEST": {
                "URI":  "sip:sip2.pstnhub.microsoft.com:5061;transport=tls",
                "FLAGS":  "IP",
                "PRIORITY": 2,
                "ATTRS":  {
                  "BODY": "socket=tls:172.31.19.8:5061;ping_from=sip:abcsbc.com",
                  "DUID": null,
                  "MAXLOAD":  0,
                  "WEIGHT": 0,
                  "RWEIGHT":  0,
                  "SOCKET": "tls:172.31.19.8:5061",
                  "SOCKNAME": null,
                  "OBPROXY":  null
                }
              }
            }, {
              "DEST": {
                "URI":  "sip:sip3.pstnhub.microsoft.com:5061;transport=tls",
                "FLAGS":  "IP",
                "PRIORITY": 1,
                "ATTRS":  {
                  "BODY": "socket=tls:172.31.19.8:5061;ping_from=sip:abcsbc.com",
                  "DUID": null,
                  "MAXLOAD":  0,
                  "WEIGHT": 0,
                  "RWEIGHT":  0,
                  "SOCKET": "tls:172.31.19.8:5061",
                  "SOCKNAME": null,
                  "OBPROXY":  null
                }
              }
            }]
        }
      }]
  },
  "id": 19731
}


My dispatcher settings.

i am unable to get the trunk up with Microsoft . Can someone guide me how to fix this issue?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: