Asterisk PJSIP Enforce Transport
Hello,
I have an Asterisk 15.6.0 installation with PJSIP SIP Driver and Sorcery for Realtime. My Goal is to enforce endpoints to UDP, TCP or TLS. For that I set the ‘transport’ column in the endpoint to the corresponding transport in pjsip.conf. But if I e.g. set the transport to my ‘transport-tls-nat’
transport I can still register and place calls via UDP and TCP. Is there any solution for that?
Thanks
Benjamin
One thought on - Asterisk PJSIP Enforce Transport
There is no ability to really enforce a remote endpoint to use a specific transport type like was done in chan_sip. You can set an explicit one to use, but in some cases this may not get used (SIP responses won’t use it).
—
Joshua C. Colp Digium – A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW – Huntsville, AL 35806 – US
Check us out at: http://www.digium.com & http://www.asterisk.org
—