Понедельник (12/07/09)

/dev/pts/5
15:22:20
#asterisk -rv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
Connected to Asterisk 1.4.21.2~dfsg-3 currently running on debian4 (pid = 18693)
Verbosity is at least 1
debian4*CLI> show sip
No such command 'show sip' (type 'help show sip' for other possible commands)
debian4*CLI> show sip user
No such command 'show sip user' (type 'help show sip user' for other possible commands)
debian4*CLI> show sip user 201
No such command 'show sip user 201' (type 'help show sip user' for other possible commands)
debian4*CLI> show
agents        agi           application   applications  audio         autoanswer    channel       channels      channeltype
channeltypes  codec         codecs        config        dialplan      features      file          function      functions
globals       hints         image         indications   keys          manager       modules       parkedcalls   profile
queue         queues        switches      transcoder    translation   uptime        version       video         voicemail
debian4*CLI> show sip pears
No such command 'show sip pears' (type 'help show sip pears' for other possible commands)
debian4*CLI> show sip pears
No such command 'show sip pears' (type 'help show sip pears' for other possible commands)
debian4*CLI> show sip peers
No such command 'show sip peers' (type 'help show sip peers' for other possible commands)
debian4*CLI> sip s
set   show
debian4*CLI> sip show
channel        channels       domains        history        inuse          objects        peer           peers
registry       settings       subscriptions  users          user
debian4*CLI> sip show
channel        channels       domains        history        inuse          objects        peer           peers
registry       settings       subscriptions  users          user
debian4*CLI> sip show user
Usage: sip show user <name> [load]
       Shows all details on one SIP user and the current status.
       Option "load" forces lookup of peer in realtime storage.
debian4*CLI> sip show user 201
debian4*CLI>
  * Name       : 201
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : default
  Language     :
  AMA flags    : Unknown
  Transfer mode: open
  MaxCallBR    : 384 kbps
  CallingPres  : Presentation Allowed, Not Screened
  Call limit   : 0
  Callgroup    :
  Pickupgroup  :
  Callerid     : "Roman Sidorenko" <>
  ACL          : No
  Codec Order  : (none)
  Auto-Framing:  No
debian4*CLI> sip show
channel        channels       domains        history        inuse          objects        peer           peers
registry       settings       subscriptions  users          user
debian4*CLI> sip show pee
peers  peer
debian4*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
201                        (Unspecified)    D          0        Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 1 offline]
debian4*CLI> sip show peer 201
debian4*CLI>
  * Name       : 201
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : default
  Subscr.Cont. : <Not set>
  Language     :
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    :
  Pickupgroup  :
  Mailbox      :
  VM Extension : asterisk
  LastMsgsSent : 32767/65535
  Call limit   : 0
  Dynamic      : Yes
  Callerid     : "Roman Sidorenko" <>
  MaxCallBR    : 384 kbps
  Expire       : -1
  Insecure     : no
  Nat          : RFC3581
  ACL          : No
  T38 pt UDPTL : No
  CanReinvite  : Yes
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Trust RPID   : No
  Send RPID    : No
  Subscriptions: Yes
  Overlap dial : Yes
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       :
  Addr->IP     : (Unspecified) Port 0
  Defaddr->IP  : 0.0.0.0 Port 5060
  Def. Username:
  SIP Options  : (none)
  Codecs       : 0x8000e (gsm|ulaw|alaw|h263)
  Codec Order  : (none)
  Auto-Framing:  No
  Status       : Unmonitored
  Useragent    :
  Reg. Contact :
debian4*CLI> sip show peer
Usage: sip show peer <name> [load]
       Shows all details on one SIP peer and the current status.
       Option "load" forces lookup of peer in realtime storage.
debian4*CLI> sip show peer all
Peer all not found.
debian4*CLI> sip show peer
peers  peer
debian4*CLI> sip show peer