There you go, sipexer test passed, which means all good on the MS side. Alice/Bob uri username doesn't change anything here, ignore it.

Another idea: do you have force_rport anywhere in the Kamailio script? Would be helpful to see the full script as well.

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



On Mon, Dec 18, 2023 at 5:33 PM faisal.jamil.khan--- via sr-users <sr-users@lists.kamailio.org> wrote:
the Global administrator is faisal@7v840c.onmicrosoft.com and this faisal.ahmad@abcsbc.com is the user created for the domain abcsbc.com.

The global account is the development test account with the Teams license without calling. But with this license you will be able to test the Teams trunking.

here you go for the sipexer test below and it's successful but in the sngrep I see the options packet for alice without this command on udp when executing the default command for sipexer.



 ./sipexer -options -contact-uri "sip:abcsbc.com:5061;transport=tls" -fd "abcsbc.com" -td "sip.pstnhub.microsoft.com;transport=tls" -tls-insecure -tls-certificate "/etc/letsencrypt/live/abcsbc.com/fullchain.pem" -tls-key "/etc/letsencrypt/live/abcsbc.com/privkey.pem" -xh "Max-Forwards: 70" -ua "Kamailio" "sip:sip.pstnhub.microsoft.com:5061;transport=tls"

[info] [sipexer.go:1581] main.SIPExerDialogLoop(): local socket address: 172.31.19.8:51882 (tls)
[info] [sipexer.go:1582] main.SIPExerDialogLoop(): local via address: 172.31.19.8:51882
[info] [sipexer.go:1583] main.SIPExerDialogLoop(): sending to tls 52.114.148.0:5061: [[---
OPTIONS sip:sip.pstnhub.microsoft.com:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS 172.31.19.8:51882;rport;branch=z9hG4bKSG.c031ebff-3cd4-4eb3-8c71-f82b3bc41b30
From: <sip:alice@abcsbc.com>;tag=5134186d-6804-419e-8abc-99cfe607e3b1
To: <sip:bob@sip.pstnhub.microsoft.com;transport=tls>
Call-ID: 73f563c9-6647-4402-be59-361e4a1d40c0
CSeq: 44075 OPTIONS
Date: Mon, 18 Dec 2023 22:07:12 UTC
Contact: <sip:abcsbc.com:5061;transport=tls>
User-Agent: Kamailio
Max-Forwards: 10
Content-Length: 0
Max-Forwards:  70


[info] [sipexer.go:1585] main.SIPExerDialogLoop(): ---]]

[info] [sipexer.go:1636] main.SIPExerDialogLoop(): response-received: from=52.114.148.0:5061 bytes=441 data=[[---
SIP/2.0 200 OK
FROM: <sip:alice@abcsbc.com>;tag=5134186d-6804-419e-8abc-99cfe607e3b1
TO: <sip:bob@sip.pstnhub.microsoft.com;transport=tls>
CSEQ: 44075 OPTIONS
CALL-ID: 73f563c9-6647-4402-be59-361e4a1d40c0
VIA: SIP/2.0/TLS 172.31.19.8:51882;branch=z9hG4bKSG.c031ebff-3cd4-4eb3-8c71-f82b3bc41b30;rport
CONTENT-LENGTH: 0
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
SERVER: Microsoft.PSTNHub.SIPProxy v.2023.12.11.2 i.USWE2.3


[info] [sipexer.go:1638] main.SIPExerDialogLoop(): ---]]
__________________________________________________________
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: