No such command 'sip show peers' when using asterisk

37,473

Solution 1

module show like sip

is returning something?

if not do this

module load chan_sip.so

and try again

Solution 2

I tried the above answer and it still failed. Reason was: chan_sip.so was not there in modules folder.

So, I uninstalled the asterisk

make uninstall

Then I started installing the asterisk-13 again

./configure
make menuconfig

In menu select, go to channel drivers option and check the checkbox chan_sip [Probably unchecked]. Then, do the below command

make & make install & make config
Share:
37,473

Related videos on Youtube

fedo
Author by

fedo

Updated on September 18, 2022

Comments

  • fedo
    fedo over 1 year

    i want to connect two soft phone using asterisk after configuration the sip.conf and iax.conf and extension.conf can't enter any order from cli example of the error:

    Connected to Asterisk 11.6-cert1 currently running on fedo-VirtualBox 
    (pid = 1066)
    fedo-VirtualBox*CLI> sip show peers
    No such command 'sip show peers' (type 'core show help sip show' for
    other possible commands)
    
    • Alexey Ce
      Alexey Ce about 9 years
      when you run asterisk or maybe asterisk -rm for the CLI, what are the results for sip show peers? Paste actual output please.
    • NoOne
      NoOne over 4 years
      It seems that in later versions, sip is being replaced by pjsip, but I don't see any similar command for it (core show help pjsip). :(
    • NoOne
      NoOne over 4 years
      I think the new command is pjsip show endpoints! Newer version, new commands. Dear God!
    • NoOne
      NoOne over 4 years
      You use a different config file too (pjsip.conf)!