topoh breaks SIPS with PJSIP if PJMEDIA_SRTP_MANDATORY is set

Mathias Schneuwly via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CA+Vw8tkwA3Di_59XNZEzztzbdgrSynGS4ff6s4t-qcKstzm-qQ@mail.gmail.com>
Hi

I have a question related to topoh. We are running Kamailio in version
6.0.2 with topoh enabled. The PJSIP based softphone is unable to establish
a call with SIPS and SRTP if we use "PJMEDIA_SRTP_MANDATORY" in PJSIP.

PJSIP complains about "Secure dialog requires SIPS scheme in Contact and
Record-Route headers, ending the session". The other side is sending
"Contact: <sips:[email protected]:59686;transport=tls>", but topoh
modifies the contact header to "Contact:
<sip:127.0.0.8;line=sr-avdFaQDvhUxGrqtxhqxThq-ZnUy6nUzGrQDZmqa1rUf6a0JTaLt4aoyV2EGQ>"
without sips scheme and without transport=tls. PJSIP then refuses to
establish the call and sends immediately a BYE.

If topoh is disabled, the call is successfully established.

Is it somehow possible to tell topoh to keep the scheme or transport=tls if
the other side provided it?

Thanks for your help
Best regards
Mathias

__________________________________________________________
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.