Bind chan_sip to two different NIC with different protocols?

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.

Use the currently supported SIP driver, chan_pjsip, which allows you to define multiple transports are allocate different ones to different endpoints.

Note that you will not be able to go beyond version 20 without either moving to chan_pjsip or merging code from sources other than the official distribution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.