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(): ---]]