Total Beginner - lost CLI Commands


#1

I’ve just done an install on Unbuntu of Asterisk 1.8, I’ve just loaded the CLI, forgive my ignorance but all the commands seem to be prefaced with ‘core’, does that signify a different level of connection? (I’ve only been using the defunct Asteriskwin32 before, and no ‘core’ in the commands)
I can’t seem to find listed in the ‘core show help’ any of the ‘sip’ commands, like ‘sip show peers’, ‘sip reload’, am I look in the right place?


#2

Oh, I get it, I have to force a load of the sip chn_sip.so module to get listed in help as well as execute command.


#3

Recommend download a copy of http://astbook.asteriskdocs.org/. 2nd ed pdf is free. Not sure about 3rd ed. Google is your BFF. After using the book, consider supporting Asterisk buy purchasing the book if you are using * and the book was helpful.

or

                sip notify Send a notify packet to a SIP peer

sip prune realtime [peer|all] Prune cached Realtime users/peers
sip qualify peer Send an OPTIONS packet to a peer
sip reload Reload SIP configuration
sip set debug {on|off|ip|peer} Enable/Disable SIP debugging
sip set history {on|off} Enable/Disable SIP history
sip show {channels|subscriptio List active SIP channels or subscriptions
sip show channelstats List statistics for active SIP channels
sip show channel Show detailed SIP channel info
sip show domains List our local SIP domains
sip show history Show SIP dialog history
sip show inuse List all inuse/limits
sip show mwi Show MWI subscriptions
sip show objects List all SIP object allocations
sip show peers List defined SIP peers
sip show peer Show details on specific SIP peer
sip show registry List SIP registration status
sip show sched Present a report on the status of the scheduler queue
sip show settings Show SIP global settings
sip show tcp List TCP Connections
sip show users List defined SIP users
sip show user Show details on specific SIP user
sip unregister Unregister (force expiration) a SIP peer from the registry


#4

x