Asterisk 问题及解决办法

问题描述:

sip show peers
No such command 'sip show peers' (type 'core show help sip show' for other possible commands)

解决办法:

chenyy*CLI> module load chan_sip.so
Loaded chan_sip.so
SIP channel loading...
  == SIP Listening on 0.0.0.0:5000
  == Using SIP CoS mark 4
    -- Message technology 'sip' registered.
  == Registered channel type 'SIP' (Session Initiation Protocol (SIP))
  == Registered RTP glue 'SIP'
  == Registered application 'SIPDtmfMode'
  == Registered application 'SIPAddHeader'
  == Registered application 'SIPRemoveHeader'
  == Registered custom function 'SIP_HEADER'
  == Registered custom function 'SIPPEER'
  == Registered custom function 'CHECKSIPDOMAIN'
  == Manager registered action SIPpeers
  == Manager registered action SIPshowpeer
  == Manager registered action SIPqualifypeer
  == Manager registered action SIPshowregistry
  == Manager registered action SIPnotify
  == Manager registered action SIPpeerstatus
 Loaded chan_sip.so => (Session Initiation Protocol (SIP))
chenyy*CLI> module reload chan_sip.so
Module 'chan_sip.so' reloaded successfully.
    -- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
 Reloading SIP
  == Using SIP CoS mark 4
chenyy*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description                      
1001/1001                 (Unspecified)                            D  Auto (No)  No             0        UNKNOWN                                      
1002/1002                 (Unspecified)                            D  Auto (No)  No             0        UNKNOWN            

 

你可能感兴趣的:(软电话)