Try this command with your PBX credentials and port:
osmo-cc-sip-endpoint -S 127.0.0.1:<ASTERISK_PORT> -u <USERNAME> -p <PASSWORD>
Make sure to replace <ASTERISK_PORT>, <USERNAME>, and <PASSWORD> with your Asterisk settings. The SIP stack error usually happens if any of these are missing or incorrect. https://web-games.io