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

Содержание

Журнал

Вторник (06/28/11)

/dev/pts/4
14:53:10
#tar xvfz /tmp/asterisk-sounds-ru-gsm-2010-04-28.tar.gz
./
./dictate.txt
./followme.txt
./phonetic.txt
./ru/
./ru/vykljuchena.gsm
./ru/queue-holdtime.gsm
./ru/spy-sip.gsm
./ru/is-curntly-unavail.gsm
./ru/spy-agent.gsm
...
./ru/PM.gsm
./ru/vm-saveoper.gsm
./ru/dot.gsm
./ru/vm-incorrect-mailbox.gsm
./ru/spy-skinny.gsm
./ru.txt
./convert.py
./pbdirectory.txt
./digits.txt
./letters.txt
/dev/pts/1
14:53:10
#tar xvfz /tmp/asterisk-sounds-ru-gsm-2010-04-28.tar.gz
./
./dictate.txt
./followme.txt
./phonetic.txt
./ru/
./ru/vykljuchena.gsm
./ru/queue-holdtime.gsm
./ru/spy-sip.gsm
./ru/is-curntly-unavail.gsm
./ru/spy-agent.gsm
...
./ru/PM.gsm
./ru/vm-saveoper.gsm
./ru/dot.gsm
./ru/vm-incorrect-mailbox.gsm
./ru/spy-skinny.gsm
./ru.txt
./convert.py
./pbdirectory.txt
./digits.txt
./letters.txt
/dev/pts/3
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/4
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/1
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/6
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/5
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/2
14:53:16
#mv ru /usr/share/asterisk/sounds/

/dev/pts/6
14:53:23
#vim sip.conf
/dev/pts/5
14:53:23
#vim sip.conf
/dev/pts/2
14:53:23
#vim sip.conf
/dev/pts/3
14:53:23
#vim sip.conf
/dev/pts/4
14:53:23
#vim sip.conf
/dev/pts/1
14:53:23
#vim sip.conf
/dev/pts/6
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/5
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/2
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/3
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/4
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/1
14:54:03
#~
bash: cd: etc/asterisk: Нет такого файла или каталога
/dev/pts/6
14:54:17
#cd /etc/asterisk

/dev/pts/5
14:54:17
#cd /etc/asterisk

/dev/pts/2
14:54:17
#cd /etc/asterisk

/dev/pts/3
14:54:17
#cd /etc/asterisk

/dev/pts/4
14:54:17
#cd /etc/asterisk

/dev/pts/1
14:54:17
#cd /etc/asterisk

/dev/pts/6
14:54:26
#vim sip.conf
--- /tmp/l3-saved-6655.25113.25605	2011-06-28 16:54:36.000000000 +0400
+++ sip.conf	2011-06-28 16:55:21.000000000 +0400
@@ -15,6 +15,7 @@
 host=dynamic
 canreinvite=no
 context=grp1
+language=ru
 
 callerid = " Alex Olefirenko <1102>"
 [1103]
@@ -24,6 +25,7 @@
 canreinvite=no
 callerid = "Alex Olefirenko <1103>"
 context=grp2
+language=ru
 
 [1104]
 type=friend
/dev/pts/5
14:54:26
#vim sip.conf
/dev/pts/2
14:54:26
#vim sip.conf
/dev/pts/3
14:54:26
#vim sip.conf
/dev/pts/4
14:54:26
#vim sip.conf
/dev/pts/1
14:54:26
#vim sip.conf

Среда (06/29/11)

/dev/pts/5
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
/dev/pts/2
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
/dev/pts/3
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
/dev/pts/4
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
/dev/pts/1
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
/dev/pts/6
07:59:45
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:98:c2:1f
          inet addr:192.168.15.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe98:c21f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:159169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60332703 (57.5 MiB)  TX bytes:18100351 (17.2 MiB)
          Interrupt:26 Base address:0x8000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26052 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12508043 (11.9 MiB)  TX bytes:12508043 (11.9 MiB)
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
/dev/pts/5
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
/dev/pts/2
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
/dev/pts/3
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
/dev/pts/4
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
/dev/pts/1
07:59:55
#via etc/asterisk/extension.conf
bash: via: команда не найдена
прошло 24 минуты
/dev/pts/6
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/5
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/2
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/3
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/4
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/1
08:24:44
#ls
adsi.conf               cdr_manager.conf         dnsmgr.conf             followme.conf     manager.d         queuerules.conf         sip_notify.conf
adtranvofr.conf         cdr_odbc.conf            dsp.conf                func_odbc.conf    meetme.conf       queues.conf             skinny.conf
agents.conf             cdr_pgsql.conf           dundi.conf              gtalk.conf        mgcp.conf         res_config_sqlite.conf  sla.conf
ais.conf                cdr_sqlite3_custom.conf  enum.conf               h323.conf         minivm.conf       res_ldap.conf           smdi.conf
alarmreceiver.conf      cdr_tds.conf             extconfig.conf          http.conf         misdn.conf        res_odbc.conf           telcordia-1.adsi
alsa.conf               chan_dahdi.conf          extensions.ael          iax.conf          modules.conf      res_pgsql.conf          udptl.conf
amd.conf                cli_aliases.conf         extensions.conf         iaxprov.conf      musiconhold.conf  res_snmp.conf           unistim.conf
asterisk.adsi           cli.conf                 extensions.conf.SAVE    indications.conf  muted.conf        rpt.conf                usbradio.conf
asterisk.conf           cli_permissions.conf     extensions.lua          jabber.conf       osp.conf          rtp.conf                users.conf
cdr_adaptive_odbc.conf  codecs.conf              extensions_minivm.conf  jingle.conf       oss.conf          say.conf                voicemail.conf
cdr.conf                console.conf             features.conf           logger.conf       phone.conf        sip.conf                vpb.conf
cdr_custom.conf         dbsep.conf               festival.conf           manager.conf      phoneprov.conf    sip.conf.SAVE
/dev/pts/6
08:24:53
#vim extensions.conf
--- /tmp/l3-saved-6655.6927.11631	2011-06-29 10:25:09.000000000 +0400
+++ extensions.conf	2011-06-29 10:31:54.000000000 +0400
@@ -7,7 +7,12 @@
 [local]
 exten => _11XX,1,Answer
 exten => _11XX,n,Dial(SIP/${EXTEN},15)
-exten => _11XX,n,Voicemail(${EXTEN}@default)
+exten => _11XX,n,GotoIf($[${DIALSTATUS} = "BUSY")?voicemail)
+exten => _11XX,n,GotoIf($[${DIALSTATUS} = "NOANSWER")?voicemail)
+exten => _11XX,n,Hangup
+exten => _11XX,n(voicemail),Voicemail(${EXTEN}@default)
+exten => _11XX,n,Hangup
+
 
 [national]
 
/dev/pts/5
08:24:53
#vim extensions.conf
/dev/pts/2
08:24:53
#vim extensions.conf
/dev/pts/3
08:24:53
#vim extensions.conf
/dev/pts/4
08:24:53
#vim extensions.conf
/dev/pts/1
08:24:53
#vim extensions.conf
/dev/pts/6
08:32:43
#vim extensions.conf
--- /tmp/l3-saved-6655.22776.2110	2011-06-29 10:32:47.000000000 +0400
+++ extensions.conf	2011-06-29 10:34:10.000000000 +0400
@@ -7,8 +7,8 @@
 [local]
 exten => _11XX,1,Answer
 exten => _11XX,n,Dial(SIP/${EXTEN},15)
-exten => _11XX,n,GotoIf($[${DIALSTATUS} = "BUSY")?voicemail)
-exten => _11XX,n,GotoIf($[${DIALSTATUS} = "NOANSWER")?voicemail)
+exten => _11XX,n,GotoIf($[${DIALSTATUS} = "BUSY"])?voicemail)
+exten => _11XX,n,GotoIf($[${DIALSTATUS} = "NOANSWER"])?voicemail)
 exten => _11XX,n,Hangup
 exten => _11XX,n(voicemail),Voicemail(${EXTEN}@default)
 exten => _11XX,n,Hangup
/dev/pts/5
08:32:43
#vim extensions.conf
/dev/pts/2
08:32:43
#vim extensions.conf
/dev/pts/3
08:32:43
#vim extensions.conf
/dev/pts/4
08:32:43
#vim extensions.conf
/dev/pts/1
08:32:43
#vim extensions.conf
/dev/pts/6
08:34:10
#vim extensions.conf
/dev/pts/5
08:34:10
#vim extensions.conf
/dev/pts/2
08:34:10
#vim extensions.conf
/dev/pts/3
08:34:10
#vim extensions.conf
/dev/pts/4
08:34:10
#vim extensions.conf
/dev/pts/1
08:34:10
#vim extensions.conf
/dev/pts/6
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/5
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/2
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/3
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/4
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/1
08:36:28
#{EXTEN})
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 = 1629)
...
    -- SIP/1102-0000007a is ringing
[Jun 29 10:38:00] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1103
    -- Nobody picked up in 15000 ms
    -- Executing [1102@grp2:3] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:4] GotoIf("SIP/1103-00000079", "0)?voicemail") in new stack
    -- Executing [1102@grp2:5] Hangup("SIP/1103-00000079", "") in new stack
  == Spawn extension (grp2, 1102, 5) exited non-zero on 'SIP/1103-00000079'
[Jun 29 10:38:18] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/6
08:39:41
#vim extensions.conf
--- /tmp/l3-saved-6655.1802.20983	2011-06-29 10:39:58.000000000 +0400
+++ extensions.conf	2011-06-29 10:43:27.000000000 +0400
@@ -4,11 +4,12 @@
 exten =>8100,1,VoicemailMain()
 
 
+
 [local]
 exten => _11XX,1,Answer
 exten => _11XX,n,Dial(SIP/${EXTEN},15)
-exten => _11XX,n,GotoIf($[${DIALSTATUS} = "BUSY"])?voicemail)
-exten => _11XX,n,GotoIf($[${DIALSTATUS} = "NOANSWER"])?voicemail)
+exten => _11XX,n,GotoIf($["${DIALSTATUS}" = "BUSY"])?voicemail)
+exten => _11XX,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"])?voicemail)
 exten => _11XX,n,Hangup
 exten => _11XX,n(voicemail),Voicemail(${EXTEN}@default)
 exten => _11XX,n,Hangup
/dev/pts/5
08:39:41
#vim extensions.conf
/dev/pts/2
08:39:41
#vim extensions.conf
/dev/pts/3
08:39:41
#vim extensions.conf
/dev/pts/4
08:39:41
#vim extensions.conf
/dev/pts/1
08:39:41
#vim extensions.conf
/dev/pts/6
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/5
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/2
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/3
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/4
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/1
08:43:27
#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 = 1629)
...
    -- <SIP/1103-0000007b> Playing 'vm-intro.gsm' (language 'ru')
    -- <SIP/1103-0000007b> Playing 'beep.gsm' (language 'ru')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav49, 0x1a870a8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: gsm, 0x1ab0388
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/1102/tmp/Kf1Xs8 format: wav, 0x1aafad8
    -- User hung up
  == Spawn extension (grp2, 1102, 6) exited non-zero on 'SIP/1103-0000007b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/2
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/3
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/4
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/1
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/6
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/5
08:46:23
#asterisk -rvvvvv
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 = 1629)
...
[Jun 29 10:56:23] NOTICE[1675]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102
[Jun 29 10:56:26] WARNING[1675]: chan_sip.c:17992 handle_response_invite: Received response: "Forbidden" from '" Alex Olefirenko" <sip:1102@192.168.15.1>;tag=as5a202089'
    -- SIP/1103-0000008a is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-00000089", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] Hangup("SIP/1102-00000089", "") in new stack
  == Spawn extension (grp1, 1103, 5) exited non-zero on 'SIP/1102-00000089'
linux1*CLI> exit
Executing last minute cleanups
прошло 11 минут
/dev/pts/6
08:57:32
#vim extensions.conf
--- /tmp/l3-saved-6655.27119.23928	2011-06-29 10:57:40.000000000 +0400
+++ extensions.conf	2011-06-29 11:00:03.000000000 +0400
@@ -10,6 +10,7 @@
 exten => _11XX,n,Dial(SIP/${EXTEN},15)
 exten => _11XX,n,GotoIf($["${DIALSTATUS}" = "BUSY"])?voicemail)
 exten => _11XX,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"])?voicemail)
+exten => _11XX,n,GotoIf($["${DIALSTATUS}" = "CONGESTION"])?voicemail)
 exten => _11XX,n,Hangup
 exten => _11XX,n(voicemail),Voicemail(${EXTEN}@default)
 exten => _11XX,n,Hangup
/dev/pts/5
08:57:32
#vim extensions.conf
/dev/pts/2
08:57:32
#vim extensions.conf
/dev/pts/3
08:57:32
#vim extensions.conf
/dev/pts/4
08:57:32
#vim extensions.conf
/dev/pts/1
08:57:32
#vim extensions.conf
/dev/pts/6
09:00:03
#asterisk -rvvvvv
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 = 1629)
...
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] GotoIf("SIP/1102-0000008b", "1)?voicemail") in new stack
    -- Goto (grp1,1103,7)
    -- Executing [1103@grp1:7] VoiceMail("SIP/1102-0000008b", "1103@default") in new stack
[Jun 29 11:00:34] WARNING[8928]: app_voicemail.c:5260 leave_voicemail: No entry in voicemail config file for '1103'
    -- Executing [1103@grp1:8] Hangup("SIP/1102-0000008b", "") in new stack
  == Spawn extension (grp1, 1103, 8) exited non-zero on 'SIP/1102-0000008b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/5
09:00:03
#asterisk -rvvvvv
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 = 1629)
...
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] GotoIf("SIP/1102-0000008b", "1)?voicemail") in new stack
    -- Goto (grp1,1103,7)
    -- Executing [1103@grp1:7] VoiceMail("SIP/1102-0000008b", "1103@default") in new stack
[Jun 29 11:00:34] WARNING[8928]: app_voicemail.c:5260 leave_voicemail: No entry in voicemail config file for '1103'
    -- Executing [1103@grp1:8] Hangup("SIP/1102-0000008b", "") in new stack
  == Spawn extension (grp1, 1103, 8) exited non-zero on 'SIP/1102-0000008b'
linux1*CLI> exit
Executing last minute cleanups
/dev/pts/2
09:00:03
#asterisk -rvvvvv
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 = 1629)
...
    -- Executing [1103@grp1:3] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:4] GotoIf("SIP/1102-0000008b", "0)?voicemail") in new stack
    -- Executing [1103@grp1:5] GotoIf("SIP/1102-0000008b", "1)?voicemail") in new stack
    -- Goto (grp1,1103,7)
    -- Executing [1103@grp1:7] VoiceMail("SIP/1102-0000008b", "1103@default") in new stack
[Jun 29 11:00:34] WARNING[8928]: app_voicemail.c:5260 leave_voicemail: No entry in voicemail config file for '1103'
    -- Executing [1103@grp1:8] Hangup("SIP/1102-0000008b", "") in new stack
  == Spawn extension (grp1, 1103, 8) exited non-zero on 'SIP/1102-0000008b'
linux1*CLI> exit
Executing last minute cleanups

Статистика

Время первой команды журнала14:53:10 2011- 6-28
Время последней команды журнала09:00:03 2011- 6-29
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %11.88
Процент синтаксически неверно набранных команд, % 5.94
Суммарное время работы с терминалом *, час 1.03
Количество командных строк в единицу времени, команда/мин 1.64
Частота использования команд
vim42|=========================================| 41.58%
asterisk15|==============| 14.85%
ifconfig6|=====| 5.94%
{EXTEN})6|=====| 5.94%
via6|=====| 5.94%
~6|=====| 5.94%
ls6|=====| 5.94%
mv6|=====| 5.94%
cd6|=====| 5.94%
tar2|=| 1.98%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$