Журнал лабораторных работ

Содержание

Журнал

Четверг (06/23/11)

/dev/pts/5
16:40:31
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux1 (pid = 9430)
...
linux1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
1101/1101                  192.168.101.10   D          5060     Unmonitored
1102                       (Unspecified)    D          5060     Unmonitored
kiev/msk                   192.168.107.1    D          5060     Unmonitored
ny/msk                     (Unspecified)    D          5060     Unmonitored
spb/msk                    192.168.102.1    D          5060     Unmonitored
5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 5 online, 0 offline]
linux1*CLI> quit
Executing last minute cleanups
16:40:50
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-9531.23966.27723	2011-06-23 17:40:51.000000000 +0300
+++ /etc/asterisk/sip.conf	2011-06-23 17:40:59.000000000 +0300
@@ -12,7 +12,7 @@
 register => nt1:1234@212.26.146.51/world
 
 [world]
-type=user
+type=friend
 nat=yes
 secret=1234
 username=nt1
16:41:15