[OpenSIPS-Users] Incorrect tls port

Sergey Pisanko serp87 at yandex.ru
Thu Dec 30 12:50:57 UTC 2021


Hello!

I try to realize the next scenario with UAs, Opensips-2.4 and Asterisk.
UAs are registered onto Asterisk through Opensips and also - on Opensips if
the 200 OK is came back from Asterisk.
Calls between UAs are relayed to Asterisk by Opensips.
This scenario works fine with udp. But it needs to do with tls. And here I
have the problem. What happens.
Unlike udp, tcp cannot listen its port and create clients connection at the
same time. Opensips listens tls port for clients connection
whereas it creates dynamic tcp port to connect to Asterisk. As a result, I
see that port in Record-Route header in 200 OK addressed to caller.
Thus, callers ACK comes to that dynamic port instead of Opensips listened
port and Opensips dropped it.
And question is how to force Opensips to put right port for caller?

Regards,
Serhii Pysanko.



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
12/30/21,
02:49:47 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211230/0b756993/attachment.html>


More information about the Users mailing list