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

Содержание

Журнал

Вторник (03/29/16)

/dev/pts/4
11:49:23
$mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.saved
mv: cannot move ‘/etc/asterisk/sip.conf’ to ‘/etc/asterisk/sip.conf.saved’: Permission denied
прошло 83 минуты
/dev/pts/1
13:13:11
$vim /etc/asterisk/sip.conf
/dev/pts/6
13:13:11
$vim /etc/asterisk/sip.conf
/dev/pts/4
13:13:11
$vim /etc/asterisk/sip.conf
прошло 15 минут
/dev/pts/9
13:28:27
#asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
13:29:39
$[general]
[sudo] password for user:
/dev/pts/6
13:29:39
$[general]
[sudo] password for user:
/dev/pts/4
13:29:39
$[general]
[sudo] password for user:
/dev/pts/1
13:30:16
$asterisk -r
bash: asterisk: command not found
/dev/pts/6
13:30:16
$asterisk -r
bash: asterisk: command not found
/dev/pts/4
13:30:16
$asterisk -r
bash: asterisk: command not found
/dev/pts/1
13:30:29
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI>
asterisk3*CLI>
...
asterisk3*CLI> sip show press
No such command 'sip show press' (type 'core show help sip show press' for other possible commands)
asterisk3*CLI> sip show pres
No such command 'sip show pres' (type 'core show help sip show pres' for other possible commands)
asterisk3*CLI> pirs
No such command 'pirs' (type 'core show help pirs' for other possible commands)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
13:30:29
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI>
asterisk3*CLI>
...
asterisk3*CLI> sip show press
No such command 'sip show press' (type 'core show help sip show press' for other possible commands)
asterisk3*CLI> sip show pres
No such command 'sip show pres' (type 'core show help sip show pres' for other possible commands)
asterisk3*CLI> pirs
No such command 'pirs' (type 'core show help pirs' for other possible commands)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
13:30:29
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI>
asterisk3*CLI>
...
asterisk3*CLI> sip show press
No such command 'sip show press' (type 'core show help sip show press' for other possible commands)
asterisk3*CLI> sip show pres
No such command 'sip show pres' (type 'core show help sip show pres' for other possible commands)
asterisk3*CLI> pirs
No such command 'pirs' (type 'core show help pirs' for other possible commands)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
13:32:59
$asterisk -r
bash: asterisk: command not found
/dev/pts/6
13:32:59
$asterisk -r
bash: asterisk: command not found
/dev/pts/4
13:32:59
$asterisk -r
bash: asterisk: command not found
/dev/pts/1
13:33:05
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
...
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
[Mar 29 14:52:12] NOTICE[5698][C-00000003]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1301' rejected because extension not found in context 'default'.
[Mar 29 14:54:14] NOTICE[5698][C-00000004]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1302' rejected because extension not found in context 'default'.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
13:33:05
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
...
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
[Mar 29 14:52:12] NOTICE[5698][C-00000003]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1301' rejected because extension not found in context 'default'.
[Mar 29 14:54:14] NOTICE[5698][C-00000004]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1302' rejected because extension not found in context 'default'.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
13:33:05
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
...
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
[Mar 29 14:52:12] NOTICE[5698][C-00000003]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1301' rejected because extension not found in context 'default'.
[Mar 29 14:54:14] NOTICE[5698][C-00000004]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '1302' rejected because extension not found in context 'default'.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
прошло 28 минут
/dev/pts/1
14:02:00
$asterisk -r
bash: asterisk: command not found
/dev/pts/6
14:02:00
$asterisk -r
bash: asterisk: command not found
/dev/pts/4
14:02:00
$asterisk -r
bash: asterisk: command not found
/dev/pts/1
14:02:17
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:02:38] NOTICE[5698][C-00000005]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '4000' rejected because extension not found in context 'default'.
[Mar 29 15:02:58] NOTICE[5698][C-00000006]: chan_sip.c:25628 handle_request_invite: Call from '1301' (192.168.30.101:5060) to extension '4000' rejected because extension not found in context 'default'.
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
14:02:17
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:02:38] NOTICE[5698][C-00000005]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '4000' rejected because extension not found in context 'default'.
[Mar 29 15:02:58] NOTICE[5698][C-00000006]: chan_sip.c:25628 handle_request_invite: Call from '1301' (192.168.30.101:5060) to extension '4000' rejected because extension not found in context 'default'.
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
14:02:17
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:02:38] NOTICE[5698][C-00000005]: chan_sip.c:25628 handle_request_invite: Call from '1302' (192.168.30.100:47623) to extension '4000' rejected because extension not found in context 'default'.
[Mar 29 15:02:58] NOTICE[5698][C-00000006]: chan_sip.c:25628 handle_request_invite: Call from '1301' (192.168.30.101:5060) to extension '4000' rejected because extension not found in context 'default'.
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
14:03:20
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/6
14:03:20
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/4
14:03:20
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/1
14:03:42
$~
[default]
exten => 4000,1,playback(demo-thanks)
/dev/pts/6
14:03:42
$~
[default]
exten => 4000,1,playback(demo-thanks)
/dev/pts/4
14:03:42
$~
[default]
exten => 4000,1,playback(demo-thanks)
/dev/pts/1
14:03:44
$sudo mv mv /etc/asterisk/extensions.conf

/dev/pts/6
14:03:44
$sudo mv mv /etc/asterisk/extensions.conf

/dev/pts/4
14:03:44
$sudo mv mv /etc/asterisk/extensions.conf

/dev/pts/1
14:04:01
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:04:38] NOTICE[7087][C-00000008]: channel.c:4301 __ast_read: Dropping incompatible voice frame on SIP/1302-00000001 of format ulaw since our native format has changed to (gsm)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
14:04:01
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:04:38] NOTICE[7087][C-00000008]: channel.c:4301 __ast_read: Dropping incompatible voice frame on SIP/1302-00000001 of format ulaw since our native format has changed to (gsm)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
14:04:01
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:04:38] NOTICE[7087][C-00000008]: channel.c:4301 __ast_read: Dropping incompatible voice frame on SIP/1302-00000001 of format ulaw since our native format has changed to (gsm)
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
14:11:06
$mkdir -p /var/tmp/asterisk

/dev/pts/6
14:11:06
$mkdir -p /var/tmp/asterisk

/dev/pts/4
14:11:06
$mkdir -p /var/tmp/asterisk

/dev/pts/1
14:12:46
$chown asterisk:asterisk /var/tmp/asterisk
chown: changing ownership of ‘/var/tmp/asterisk’: Operation not permitted
/dev/pts/6
14:12:46
$chown asterisk:asterisk /var/tmp/asterisk
chown: changing ownership of ‘/var/tmp/asterisk’: Operation not permitted
/dev/pts/4
14:12:46
$chown asterisk:asterisk /var/tmp/asterisk
chown: changing ownership of ‘/var/tmp/asterisk’: Operation not permitted
/dev/pts/1
14:13:19
$sudo chown asterisk:asterisk /var/tmp/asterisk

/dev/pts/6
14:13:19
$sudo chown asterisk:asterisk /var/tmp/asterisk

/dev/pts/4
14:13:19
$sudo chown asterisk:asterisk /var/tmp/asterisk

/dev/pts/1
14:13:29
$asterisk -r
bash: asterisk: command not found
/dev/pts/6
14:13:29
$asterisk -r
bash: asterisk: command not found
/dev/pts/4
14:13:29
$asterisk -r
bash: asterisk: command not found
/dev/pts/1
14:15:28
$asterisk -r
                    dialplan reload
bash: dialplan: command not found
/dev/pts/6
14:15:28
$asterisk -r
                    dialplan reload
bash: dialplan: command not found
/dev/pts/4
14:15:28
$asterisk -r
                    dialplan reload
bash: dialplan: command not found
/dev/pts/1
14:15:48
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
14:15:48
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
14:15:48
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan re
reload  remove
asterisk3*CLI> dialplan reload
Dialplan reloaded.
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/1
14:19:05
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/6
14:19:05
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/4
14:19:05
$sudo vim /etc/asterisk/extensions.conf
прошло 16 минут
/dev/pts/1
14:35:11
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/6
14:35:11
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/4
14:35:11
$sudo vim /etc/asterisk/extensions.conf
прошло 10 минут
/dev/pts/1
14:45:45
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/6
14:45:45
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/4
14:45:45
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/1
14:49:48
$~
register => minsk:1234@192.168.40.2/vitebsk
[1301]t=default
[1301]
[1301]
[1302]
[1302]riend
secret=1234
[vitebsk]
type=friend
secret=1234
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/sip.conf" 23L, 257C written
/dev/pts/6
14:49:48
$~
register => minsk:1234@192.168.40.2/vitebsk
[1301]t=default
[1301]
[1301]
[1302]
[1302]riend
secret=1234
[vitebsk]
type=friend
secret=1234
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/sip.conf" 23L, 257C written
/dev/pts/4
14:49:48
$~
register => minsk:1234@192.168.40.2/vitebsk
[1301]t=default
[1301]
[1301]
[1302]
[1302]riend
secret=1234
[vitebsk]
type=friend
secret=1234
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/sip.conf" 23L, 257C written
прошло 13 минут
/dev/pts/1
15:02:51
$sudo vim /etc/asterisk/sip.conf
/dev/pts/6
15:02:51
$sudo vim /etc/asterisk/sip.conf
/dev/pts/4
15:02:51
$sudo vim /etc/asterisk/sip.conf
/dev/pts/1
15:03:37
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip reload
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
vitebsk/minsk             192.168.30.1                             D  Auto (No)  No             5060     Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/6
15:03:37
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip reload
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
vitebsk/minsk             192.168.30.1                             D  Auto (No)  No             5060     Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
15:03:37
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip reload
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
vitebsk/minsk             192.168.30.1                             D  Auto (No)  No             5060     Unmonitored
3 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 0 offline]
asterisk3*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
прошло 27 минут
/dev/pts/6
15:31:30
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/4
15:31:30
$sudo vim /etc/asterisk/extensions.conf
/dev/pts/1
15:31:30
$sudo vim /etc/asterisk/extensions.conf
15:39:59
$sudo vim /etc/asterisk/sip.conf
/dev/pts/6
15:39:59
$sudo vim /etc/asterisk/sip.conf
/dev/pts/4
15:39:59
$sudo vim /etc/asterisk/sip.conf
/dev/pts/9
15:49:53
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
...
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
kiev/minsk                192.168.30.1                             D  Auto (Yes) No             1034     Unmonitored
vitebsk/minsk             192.168.30.1                             D  Auto (Yes) No             5060     Unmonitored
warsaw/minsk              (Unspecified)                            D  Auto (No)  No             0        Unmonitored
5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 1 offline]
asterisk3*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/9
15:50:36
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk3 (pid = 5681)
asterisk3*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1301/1301                 192.168.30.101                           D  Auto (No)  No             5060     Unmonitored
1302/1302                 192.168.30.100                           D  Auto (No)  No             47623    Unmonitored
kiev/minsk                192.168.30.1                             D  Auto (Yes) No             1034     Unmonitored
vitebsk/minsk             192.168.30.1                             D  Auto (Yes) No             5060     Unmonitored
warsaw/minsk              (Unspecified)                            D  Auto (No)  No             0        Unmonitored
5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 1 offline]
asterisk3*CLI>
asterisk3*CLI>
asterisk3*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups

Среда (03/30/16)

/dev/pts/4
13:07:35
#vim /etc/asterisk/extensions.conf
13:07:45
#~
; the externpassnotify option below instead.
;externpass=/usr/bin/myapp
;externpassnotify=/usr/bin/myapp
; If you would like to have an external program called when a user changes the
le,
; voicemail password for the purpose of doing validation on the new password,
; requirements, and they will be asked to enter another password.inimum password
; then use this option.  The script can decide whether or not the new password
;
; meets minimum password strength requirements before the Voicemail application
...
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
[default]Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
02 => 1234,user,user@localhost
no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
;4300 => 3456,Ben Rigas,ben@american-computer.net
;4310 => -5432,Sales,sales@marko.net
;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach==
13:08:06
#;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|diall

/dev/pts/4
13:10:24