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
Related videos on Youtube
Author by
fedo
Updated on September 18, 2022Comments
-
fedo over 1 year
i want to connect two soft phone using asterisk after configuration the
sip.conf
andiax.conf
andextension.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 about 9 yearswhen you run
asterisk
or maybeasterisk -rm
for the CLI, what are the results forsip show peers
? Paste actual output please. -
NoOne over 4 yearsIt seems that in later versions,
sip
is being replaced bypjsip
, but I don't see any similar command for it (core show help pjsip
). :( -
NoOne over 4 yearsI think the new command is
pjsip show endpoints
! Newer version, new commands. Dear God! -
NoOne over 4 yearsYou use a different config file too (
pjsip.conf
)!
-