Topos and TLS

Martin Nyström via sr-users <[email protected]> Wed, 22 Apr 2026 15:37:01 +0000
Newsgroups gmane.comp.voip.ser
Message-ID <GVXPR02MB116943B14C5AC983F2C447F5DF62D2@GVXPR02MB11694.eurprd02.prod.outlook.com>
Hi,

How am I expected to handle TLS when using TOPOS?

listen=tls:192.168.5.122:5061 advertise foobar.pbx.com:5061


modparam("topos", "storage", "db")
modparam("topos", "contact_host", “foobar.pbx.com")
modparam("topos", "dialog_expire", 10800)


When using TLS, TOPOS sets the contact header as something like this for a 200 OK returned.
Contact: <sip:[email protected]>

Is this valid? Or should it not be foobar.pbx.com:5061;transport=TLS

It appears some vendors blindly use the contact header and returns the ACK for an example to a non TLS endpoint, despite the dialog (INVITE) starting out as TLS.


/M

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!