/l3/users/madara/nt-voip-2011-06/linux7.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 |
|
#vim access
--- /tmp/l3-saved-17024.9892.5891 2011-06-21 15:00:34.000000000 +0300 +++ access 2011-06-21 15:01:13.000000000 +0300 @@ -97,7 +97,7 @@ #Connect:172.29 RELAY #Connect:172.30 RELAY #Connect:172.31 RELAY -#Connect:192.168 RELAY +Connect:192.168.107 RELAY GreetPause:192.168.107 0 ClientRate:192.168.107 0 ClientConn:192.168.107 0 |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-17024.30313.6310 2011-06-21 15:47:22.000000000 +0300 +++ /etc/asterisk/extensions.conf 2011-06-21 15:50:29.000000000 +0300 @@ -8,6 +8,7 @@ [local] exten => _23XX,1,Dial(SIP/${EXTEN},10) +exten => _23XX,n,Voicemail(${EXTEN}@default) exten => _23XX,n,Playback(demo-congrats) exten => 2310,1,Dial(SIP/2303&SIP/2304.10) |
#~
[general] ; Formats for writing Voicemail. Note that when using IMAP storage for ; voicemail, only the first format specified will be used. ;format=g723sf|wav49|wav format=wav49|gsm|wav ; ; WARNING: ; If you change the list of formats that you record voicemail in "/etc/asterisk/voicemail.conf" 366L, 17961C ; when you have mailboxes that contain messages, you _MUST_ absolutely ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; ; Voicemail Configuration ; ; ; NOTE: Asterisk has to edit this file to change a user's password. This does "/etc/asterisk/voicemail.conf" 366L, 17961C ; If you would also like to enable SMDI notification then set smdienable to yes. ; You will also need to make sure smdiport is set to a valid port as specified in ; smdi.conf. ;smdienable=yes ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; If you would also like to enable SMDI notification then set smdienable to yes. ; You will also need to make sure smdiport is set to a valid port as specified in ; smdi.conf. ;smdienable=yes ;smdiport=/dev/ttyS0 ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a voicemail password is changed, uncomment this: ; Note: If this is set, the password will NOT be changed in voicemail.conf ; If you would like to also change the password in voicemail.conf, use ; the externpassnotify option below instead. ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; The default is no minimum. ;minsecs=3 ; Maximum length of greetings in seconds ;maxgreet=60 ; How many milliseconds to skip forward/back when rew/ff in message playback skipms=3000 ; How many seconds of silence before we end the recording maxsilence=10 ; Silence threshold (what we consider silence: the lower, the more sensitive) silencethreshold=128 ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; Maximum number of messages per folder. If not specified, a default value ; Permit finding entries for forward/compose from the directory ;usedirectory=yes ; Voicemail can be stored in a database using the ODBC driver. ; The value of odbcstorage is the database connection configured ; in res_odbc.conf. ;odbcstorage=asterisk ; The default table for ODBC voicemail storage is voicemessages. ;odbctable=voicemessages ; ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; Note: If this is set, the password will NOT be changed in voicemail.conf ; If you would like to also change the password in voicemail.conf, use ; the externpassnotify option below instead. ;externpass=/usr/bin/myapp ;externpassnotify=/usr/bin/myapp ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a user changes her voicemail password, uncomment this: ;externpasscheck=/usr/bin/myapp ; Arguments for this script are: ; mailbox context oldpass newpass ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; If you would also like to enable SMDI notification then set smdienable to yes. ; You will also need to make sure smdiport is set to a valid port as specified in ; smdi.conf. ; you do not specify a folder, then INBOX will be used ;greetingsfolder=INBOX ; prompt that says: "The passwords you entered and re-entered ; did not match." ; vm-invalid-password=c ; Customize which sound file is used instead of the default ; prompt that says: ... ; vm-pls-try-again=cust ; Customize which sound file is used instead of the ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#~
; Maximum number of messages per folder. If not specified, a default value ; (100) is used. Maximum value for this option is 9999. ;maxmsg=100 ; Maximum length of a voicemail message in seconds ;maxsecs=180 ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. ;minsecs=3 ; Maximum length of greetings in seconds ;maxgreet=60 ... ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost -- ВСТАВКА -- 333,1 95% |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#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 linux7 (pid = 12111) ... -- Registered extension context 'parkedcalls' (0x27a4cd0) in local table 0x7f4cf400e7c0; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_ael -- Added extension '700' priority 1 to parkedcalls (0x27a4cd0) -- Registered extension context 'app_dial_gosub_virtual_context' (0x27a4b40) in local table 0x7f4cf400e7c0; registrar: app_dial -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_ael -- Added extension 's' priority 1 to app_dial_gosub_virtual_context (0x27a4b40) -- Registered extension context 'local' (0x27a4080) in local table 0x7f4cf400e7c0; registrar: pbx_config -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_ael linux7*CLI> exit Executing last minute cleanups |
#vim /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-17024.27395.6558 2011-06-21 15:59:19.000000000 +0300 +++ /etc/asterisk/voicemail.conf 2011-06-21 16:04:39.000000000 +0300 @@ -131,7 +131,7 @@ ; Note: ${IF()} strips spacing at the beginning and end of its true and false ; values, so a newline cannot be placed at either location. The word 'so' is ; therefore duplicated, in order for the newline to be interpreted correctly. -;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just ${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent by ${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n +;emailbody= ${VM_NAME}:\n\n\tjust wanted to let you know you were just ${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent by ${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n ; ; You can also change the Pager From: string, the pager body and/or subject. ; The above defined variables also can be used here |
#; (100) is used. Maximum value for this option is 9999.
; Note: If this is set, the password will NOT be changed in voicemail.conf ; If you would like to also change the password in voicemail.conf, use ; the externpassnotify option below instead. ;externpass=/usr/bin/myapp ;externpassnotify=/usr/bin/myapp ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a user changes her voicemail password, uncomment this: ;externpasscheck=/usr/bin/myapp ; Arguments for this script are: ; mailbox context oldpass newpass ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; ; Voicemail Configuration ; ; ; NOTE: Asterisk has to edit this file to change a user's password. This does ; not currently work with the "#include <file>" directive for Asterisk "/etc/asterisk/voicemail.conf" 368L, 18050C ; If you would also like to enable SMDI notification then set smdienable to yes. ; You will also need to make sure smdiport is set to a valid port as specified in ; smdi.conf. ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; ; Voicemail Configuration ; ; ; NOTE: Asterisk has to edit this file to change a user's password. This does ; not currently work with the "#include <file>" directive for Asterisk ; configuration files, nor when using realtime static configuration. ; Do not use them with this configuration file. ; [general] ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; configuration files, nor when using realtime static configuration. ; Do not use them with this configuration file. ; [general] ; Formats for writing Voicemail. Note that when using IMAP storage for ; voicemail, only the first format specified will be used. ;format=g723sf|wav49|wav format=wav49|gsm|wav ; ; WARNING: ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; ; WARNING: ; If you change the list of formats that you record voicemail in "/etc/asterisk/voicemail.conf" 368L, 18050C ; when you have mailboxes that contain messages, you _MUST_ absolutely ; manually go through those mailboxes and convert/delete/add the ; the message files so that they appear to have been stored using ; your new format list. If you don't do this, very unpleasant ; things may happen to your users while they are retrieving and ; manipulating their voicemail. ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; Maximum number of messages per folder. If not specified, a default value ; (100) is used. Maximum value for this option is 9999. ;maxmsg=100 ; Maximum length of a voicemail message in seconds ;maxsecs=180 ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. ; ; You can also change the Pager From: string, the pager body and/or subject. ; The above defined variables also can be used here ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
; Maximum number of messages per folder. If not specified, a default value ; (100) is used. Maximum value for this option is 9999. ;maxmsg=100 ; Maximum length of a voicemail message in seconds ;maxsecs=180 ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. ;minsecs=3 ; Maximum length of greetings in seconds ;maxgreet=60 ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#; (100) is used. Maximum value for this option is 9999.
;minsecs=3 ; Maximum length of greetings in seconds ;maxgreet=60 ; How many milliseconds to skip forward/back when rew/ff in message playback skipms=3000 ; How many seconds of silence before we end the recording maxsilence=10 ; Silence threshold (what we consider silence: the lower, the more sensitive) silencethreshold=128 ; Max number of failed login attempts ... ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemm ail.|emailbody=Click on the attachment to listen. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european "/etc/asterisk/voicemail.conf" 368L, 18050C записано 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 2302 => 1234,Andrey Luchkin,user@kiev.unix.nt military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-17024.3214.24476 2011-06-21 16:08:26.000000000 +0300 +++ /etc/asterisk/sip.conf 2011-06-21 16:10:13.000000000 +0300 @@ -9,6 +9,13 @@ register => kiev:password@192.168.108.1/lvov register => kiev:password@192.168.101.1/msk +[2301] +type=friend +secret=password +host=dynamic +user=2301 +mailbox=2301@default + [2303] type=friend secret=password |
#vim /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-17024.2858.30878 2011-06-21 16:11:58.000000000 +0300 +++ /etc/asterisk/voicemail.conf 2011-06-21 16:13:36.000000000 +0300 @@ -330,7 +330,7 @@ ;1234 => 4242,Example Mailbox,root@localhost 2301 => 1234,Andrey Luchkin,user@kiev.unix.nt -2302 => 1234,Andrey Luchkin,user@kiev.unix.nt +2303 => 1234,Andrey Luchkin,user@kiev.unix.nt ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 ;4300 => 3456,Ben Rigas,ben@american-computer.net ;4310 => -5432,Sales,sales@marko.net |
Время первой команды журнала | 13:45:54 2011- 6-21 | ||||||||||||||||||||||||
Время последней команды журнала | 15:10:13 2011- 6-21 | ||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 0.00 | ||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.59 | ||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.85 | ||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008