No Such Command 'Sip Reload' When Using Asterisk 18

No Such Command 'Sip Reload' When Using Asterisk 18

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.

1

1 Answer

In Asterisk 18 the module chan_sip.so is set to noload in the modules.conf file.

If you want to autoload the module just comment the line by adding ";" in front of noload = chan_sip.so

[/etc/asterisk/modules.conf]

;
; Do not load chan_sip by default, it may conflict with res_pjsip.
;noload = chan_sip.so
;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.