Transport interface: force socket binding to network interface#217
Transport interface: force socket binding to network interface#217pdepaulis wants to merge 3 commits intofreeswitch:masterfrom
Conversation
|
seems Also, maybe make it optional and only enable it if some option is set? |
489f30c to
a70e236
Compare
|
@seven1240 et. al. I'm trying to figure out where Sofia transport options go so I can add one as you suggested in your previous comment. |
a70e236 to
983fc4a
Compare
983fc4a to
ca9c27e
Compare
|
I now added a tp_params tag |
Address an issue seen in openWRT 22 (kernel 5.10) whereas the transport socket would not properly bind to an interface, almost at random, in a multi-homed system with a failover SIP profile.
This caused the Sofia failover profile to bind to the primary interface, and thus the failover to still attempting to use the primary interface on a failover.
By forcing the socket to bind to the interface explicitly (SO_BINDTODEVICE), the proper interface binding is achieved.
Resolves #218