Hello,
we have this setup:
PHONES → Switch for phones only → Asterisk → Gateway → Internet → Sip provider
PHONES in their own LAN 10.10.10.0
Gateway is 192.168.0.1
Asterisk has IP adresses 10.10.10.1 and 192.168.0.3
The problem is we changed providers and are now required to use TLS/SRTP to connect to the trunk.
So the NIC on the PHONES side should continue to provide an UDP socket for the phones and the NIC facing the gateway should do TLS.
After a lot of trying I did not manage to do this.
I tried many combinations of bindaddr, udpbindaddr and tlsbindaddr.
It seems chan_sip can provide UDP or TLS on both interfaces but not a mixture of it.
Is there a solution to this problem? Switching to chan_pjsip would be a huge problem for us at the moment.
Thank you very much.