If I set OpenSIPS to listen on multiple ports on the same IP, do I need to set fork=yes or is that an old option no longer needed? Thanks
The parameter 'listen' can be set multiple times in the same configuration file. Doing so will instruct opensips to listen on all protocol:addresses:ports specified.
Example: listen to UDP ports 5060 and 5070 on the (fake) address 10.10.10.10
listen = udp:10.10.10.10:5060 listen = udp:10.10.10.10:5070
You can even mix different protocols and interface like:
listen = udp:eth0:5080 listen = tcp:eth1:5090
Cheers.
The fork= option was removed in OpenSIPS 2.2
Copyright © 2021 Jogjafile Inc.
The parameter 'listen' can be set multiple times in the same configuration file. Doing so will instruct opensips to listen on all protocol:addresses:ports specified.
Example: listen to UDP ports 5060 and 5070 on the (fake) address 10.10.10.10
You can even mix different protocols and interface like:
Cheers.