Section E.13. sip

E.13. sip

The subsets of the sip command allow you to manage your SIP connections.

sip debug

Turns on SIP debugging. This will be very verbose.

sip debug ip

 sip [no] debug ip   dotted_ip_notation   

Debugs (or disables debugging of) SIP messages from a specific IP address. This is useful when trying to debug messages coming from a peer who is not yet registered with you or is not configured in sip.conf .

 sip debug ip 192.168.1.100 

sip debug peer

 sip [no] debug peer   peer_name   

Debugs (or disables debugging of) SIP messages from an individual peer, referenced by the peer name configured in sip.conf . Debugging information can be displayed for a dynamic host only if that host is registered with you. If you are trying to debug a registration issue, see sip debug ip .

 sip debug peer john 

sip history

Enables or disables SIP history recording. See also sip show history .

sip no debug

Turns off SIP debugging.

sip reload

Reloads the SIP channel module. This is the equivalent of performing a reload chan_sip.so . Reloading the SIP channel is required to load changes to sip.conf and sip_notify.conf into memory. Active SIP channels are not dropped during a sip reload .

sip show channel

 sip show channel   channel   

Displays extended information about an active SIP channel. See also sip show channels .

 sip show channel 00036bdd-39 

sip show channels

Displays a list of all active SIP channels. The value in the Call ID column is used by the sip show channel command to display extended information about an individual channel. See also sip show channel .

sip show history

 sip show history   channel   

Provides a detailed log history for a given SIP channel.

 sip show history 00036bdd-39 

sip show peer

 sip show peer   peer_name   

Displays detailed information about a peer configured in sip.conf .

 sip show peer john 

sip show peers

Lists and displays the status of all SIP peers.

sip show registry

Lists and displays the status of all peers with whom you are registered.

sip show user

 sip show user   user_name   

Displays detailed information about a user in sip.conf .

 sip show user 1000 

sip show users

Displays a listing of all users configured in sip.conf .

soft hangup

 soft hangup   channel   

Requests a hangup on a given channel.

 soft hangup SIP/1000-4248 



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net