Понедельник (03/15/10)

/dev/tty2
16:31:26
#;secret=101
Asterisk 1.4.21.2~dfsg-3+lenny1, 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
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux1 (pid = 7237)
Verbosity is at least 2
[Mar 15 11:31:47] NOTICE[7269]: chan_sip.c:15642 handle_request_register: Registration from '"101" <sip:101@192.168.14.1>' failed for '192.168.14.101' - No matching peer found
linux1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
NOKIA                      (Unspecified)    D          0        Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 1 offline]
[Mar 15 11:32:27] NOTICE[7269]: chan_sip.c:15642 handle_request_register: Registration from '"101" <sip:101@192.168.14.1>' failed for '192.168.14.101' - No matching peer found
[Mar 15 11:32:59] NOTICE[7269]: chan_sip.c:15642 handle_request_register: Registration from '"101" <sip:101@192.168.14.1>' failed for '192.168.14.101' - No matching peer found
linux1*CLI> sip show registry
Host                            Username       Refresh State                Reg.Time
linux1*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
linux1*CLI> sip show peer
peers  peer
linux1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
101/101                    192.168.14.101   D          5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux1*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.
linux1*CLI> sip show peer 101
linux1*CLI>
  * Name       : 101
  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     : "Vlad Myravka" <101>
  MaxCallBR    : 384 kbps
  Expire       : 3591
  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 : No
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       :
  Addr->IP     : 192.168.14.101 Port 5060
  Defaddr->IP  : 0.0.0.0 Port 5060
  Def. Username: 101
  SIP Options  : (none)
  Codecs       : 0xe (gsm|ulaw|alaw)
  Codec Order  : (gsm:20,ulaw:20,alaw:20)
  Auto-Framing:  No
  Status       : Unmonitored
  Useragent    : Sipura/SPA921-4.1.10(b)
  Reg. Contact : sip:101@192.168.14.101:5060
linux1*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.
linux1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
101/101                    192.168.14.101   D          5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux1*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
linux1*CLI> sip show pe
peers  peer
[Mar 15 11:36:03] WARNING[7269]: chan_sip.c:8505 check_auth: username mismatch, have <NOKIA>, digest has <101>
[Mar 15 11:36:03] NOTICE[7269]: chan_sip.c:15642 handle_request_register: Registration from '"101" <sip:NOKIA@192.168.14.1>' failed for '192.168.14.101' - Username/auth name mismatch
[Mar 15 11:36:25] NOTICE[7269]: chan_sip.c:15642 handle_request_register: Registration from '"101" <sip:101@192.168.14.1>' failed for '192.168.14.101' - No matching peer found
linux1*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
linux1*CLI> sip show registry
Host                            Username       Refresh State                Reg.Time
linux1*CLI> sip show pee
peers  peer
linux1*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.
linux1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
101/101                    192.168.14.101   D          5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux1*CLI>
linux1*CLI>
linux1*CLI>
linux1*CLI>
linux1*CLI> quit
Executing last minute cleanups