Every time I restart asterisk my all soft phones are not connecting.
When I am checking my peers with sip show peers
or sip reload
command then I am getting errors:-
No such command 'sip show peers'
or.
No such command 'sip reload'
I found the temporary solution but when I restart my asterisk I again encounter the same issue
Temporary solution is to run these commands:
root@xxxxxxx:~# cd /usr/lib/asterisk/modules
root@xxxxxxx:/usr/lib/asterisk/modules# asterisk -rx "module load chan_sip.so"
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
root@xxxxxxx:/usr/lib/asterisk/modules#
or
While inside asterisk CLI:
module load chan_sip.so
In both cases it is working only on a temporary basis because every time I restart asterisk then I have to do it all over again. Has anyone got a permanent solution please? I am stuck.