/l3/users/oleglevitskiy/lab-nt-voip/aster-3/root :1 :2 :3 :4 :5 :6 :7 |
|
#nano extensions.conf
--- /tmp/l3-saved-8435.19117.11744 2014-04-23 15:57:08.509058148 +0300 +++ extensions.conf 2014-04-23 15:58:32.509059997 +0300 @@ -13,9 +13,10 @@ [internal] [local] - exten => _13XX,1,Dial(SIP/${EXTEN}) + + [national] exten => _23XX,1,Dial(SIP/frankfurt/${EXTEN}) ;exten => _14XX,1,Dial(SIP/frankfurt/${EXTEN}) |
#mkdir /var/tmp/asterisk/
|
#chown asterisk:asterisk /var/tmp/asterisk/
|
#service asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#nano extensions.conf
--- /tmp/l3-saved-8435.28396.24904 2014-04-23 16:03:14.461066212 +0300 +++ extensions.conf 2014-04-23 16:03:55.493067116 +0300 @@ -34,7 +34,7 @@ exten => _3[3]XX,1,Dial(SIP/vienna/${EXTEN}) [fallback] -exten => _.,1,Playback(vm-review) +exten => _.,1,Playback(/var/tmp/asterisk/message) [gr_relay] include => internal |
#[default]
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#nano extensions.conf
--- /tmp/l3-saved-8435.22872.18087 2014-04-23 16:06:56.925071112 +0300 +++ extensions.conf 2014-04-23 16:07:42.073072107 +0300 @@ -33,7 +33,7 @@ exten => _3[12]XX,1,Dial(SIP/kiev/${EXTEN}) exten => _3[3]XX,1,Dial(SIP/vienna/${EXTEN}) -[fallback] +[failback] exten => _.,1,Playback(/var/tmp/asterisk/message) [gr_relay] @@ -41,22 +41,22 @@ include => local include => national include => international -include => fallback +include => failback [gr1] include => internal include => local include => national include => international -include => fallback +include => failback [gr2] include => internal include => local include => national -include => fallback +include => failback [gr3] include => internal include => local -include => fallback +include => failback |
#[default]
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#ls /var/tmp/asterisk
message.gsm |
#nano extensions.conf
|
#[default]
|
#[default]
|
#[default]
|
#nano extensions.conf
--- /tmp/l3-saved-8435.21552.11672 2014-04-23 16:39:37.057114299 +0300 +++ extensions.conf 2014-04-23 16:40:04.417114965 +0300 @@ -21,6 +21,7 @@ [local] ;exten => _13XX,1,Dial(SIP/${EXTEN}) exten => _1301,1,Dial(SIP/1301,2) +exten => _1301,n,NoOp(Dial Status: ${DIALSTATUS}) exten => _1301,n,Dial(SIP/1302) |
#[default]
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#asterisk -rcvvvvvvvvvvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.8.13.1~dfsg1-3+deb7u3 currently running on aster-3 (pid = 11036) ... == Everyone is busy/congested at this time (1:1/0/0) -- Auto fallthrough, channel 'SIP/vienna-00000010' status is 'BUSY' -- Executing [h@gr_relay:1] Playback("SIP/vienna-00000010", "/var/tmp/asterisk/message") in new stack == Spawn extension (gr_relay, h, 1) exited non-zero on 'SIP/vienna-00000010' > Saved useragent "Grandstream GXP2124 1.0.5.26" for peer 1302 aster-3*CLI> aster-3*CLI> Disconnected from Asterisk server Executing last minute cleanups Asterisk cleanly ending (0). |
#service asterisk restart^C
![]() |
#asterisk -rcvvvvvvvvvvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.8.13.1~dfsg1-3+deb7u3 currently running on aster-3 (pid = 11147) ... [Apr 23 17:09:27] NOTICE[11216]: pbx.c:4530 pbx_extension_helper: No such label 's-NOANSWER' in extension 's' in context 'macro-localcall' [Apr 23 17:09:27] WARNING[11216]: pbx.c:10836 pbx_parseable_goto: Priority 's-NOANSWER' must be a number > 0, or valid label == Spawn extension (macro-localcall, s, 3) exited non-zero on 'SIP/1301-0000000d' in macro 'localcall' == Spawn extension (gr2, 1302, 1) exited non-zero on 'SIP/1301-0000000d' -- Executing [h@gr2:1] Playback("SIP/1301-0000000d", "/var/tmp/asterisk/message") in new stack == Spawn extension (gr2, h, 1) exited non-zero on 'SIP/1301-0000000d' aster-3*CLI> Disconnected from Asterisk server Executing last minute cleanups Asterisk cleanly ending (0). |
#[default]
|
#less /etc/asterisk/extensions.conf
|
#less /etc/asterisk/extensions.conf
|
#touch extensions.conf.include
|
#nano extensions.conf
|
#{ARG1} - первый аргумент
|
#[default]
|
#nano extensions.conf
--- /tmp/l3-saved-8435.22055.15378 2014-04-23 17:49:15.241206354 +0300 +++ extensions.conf 2014-04-23 17:49:49.889207114 +0300 @@ -10,6 +10,8 @@ ;exten => _3[12]XX,1,Dial(SIP/kiev/${EXTEN}) ;exten => _[23]XXX,1,Dial(SIP/vienna/${EXTEN}) +#include("/etc/asterisk/extension.conf.local") + [internal] exten => 8001,1,Answer exten => 8001,n,Record(/var/tmp/asterisk/message:gsm,2) @@ -28,7 +30,6 @@ exten => s-ANSWER,1,Hangup exten => s-BUSY,1,Busy -#include("/etc/asterisk/extension.conf.local") [national] exten => _23XX,1,Dial(SIP/frankfurt/${EXTEN}) |
#nano extensions.conf
|
#[default]
|
#[default]
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#ls|grep exte
extensions.conf extensions.local extensions_minivm.conf |
#ls
adsi.conf cli_permissions.conf musiconhold.conf agents.conf codecs.conf muted.conf ais.conf console.conf OLDCONFIGS alarmreceiver.conf dbsep.conf osp.conf alsa.conf dnsmgr.conf oss.conf amd.conf dsp.conf phone.conf app_mysql.conf dundi.conf phoneprov.conf asterisk.adsi enum.conf queuerules.conf asterisk.conf extconfig.conf queues.conf calendar.conf extensions.conf res_config_mysql.conf ... cel_custom.conf jabber.conf sip_notify.conf cel_odbc.conf jingle.conf skinny.conf cel_pgsql.conf logger.conf sla.conf cel_sqlite3_custom.conf manager.conf smdi.conf cel_tds.conf manager.d telcordia-1.adsi chan_dahdi.conf meetme.conf udptl.conf chan_mobile.conf mgcp.conf unistim.conf chan_ooh323.conf minivm.conf users.conf cli_aliases.conf misdn.conf voicemail.conf cli.conf modules.conf vpb.conf |
#nano extensions.local
|
#ls
adsi.conf cli_permissions.conf musiconhold.conf agents.conf codecs.conf muted.conf ais.conf console.conf OLDCONFIGS alarmreceiver.conf dbsep.conf osp.conf alsa.conf dnsmgr.conf oss.conf amd.conf dsp.conf phone.conf app_mysql.conf dundi.conf phoneprov.conf asterisk.adsi enum.conf queuerules.conf asterisk.conf extconfig.conf queues.conf calendar.conf extensions.conf res_config_mysql.conf ... cel_custom.conf jabber.conf sip_notify.conf cel_odbc.conf jingle.conf skinny.conf cel_pgsql.conf logger.conf sla.conf cel_sqlite3_custom.conf manager.conf smdi.conf cel_tds.conf manager.d telcordia-1.adsi chan_dahdi.conf meetme.conf udptl.conf chan_mobile.conf mgcp.conf unistim.conf chan_ooh323.conf minivm.conf users.conf cli_aliases.conf misdn.conf voicemail.conf cli.conf modules.conf vpb.conf |
#nano extensions.conf
--- /tmp/l3-saved-8435.31697.5699 2014-04-23 17:54:58.661213936 +0300 +++ extensions.conf 2014-04-23 17:55:13.277214254 +0300 @@ -10,7 +10,7 @@ ;exten => _3[12]XX,1,Dial(SIP/kiev/${EXTEN}) ;exten => _[23]XXX,1,Dial(SIP/vienna/${EXTEN}) -#include "/etc/asterisk/extension.conf.local" +#include "/etc/asterisk/extensions.conf.local" [internal] exten => 8001,1,Answer |
#[default]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.8.13.1~dfsg1-3+deb7u3 currently running on aster-3 (pid = 11954) ... [ Context 'local' created by 'pbx_config' ] '_13XX' => 1. Macro(localcall,${EXTEN}) [pbx_config] [ Context 'default' created by 'pbx_config' ] -= 16 extensions (21 priorities) in 14 contexts. =- aster-3*CLI> dialplan show local [ Context 'local' created by 'pbx_config' ] '_13XX' => 1. Macro(localcall,${EXTEN}) [pbx_config] -= 1 extension (1 priority) in 1 context. =- aster-3*CLI> exit Executing last minute cleanups |
#poweroff
|
#whois
![]() Usage: whois [OPTION]... OBJECT... -h HOST, --host HOST connect to server HOST -p PORT, --port PORT connect to PORT -H hide legal disclaimers --verbose explain what is being done --help display this help and exit --version output version information and exit These flags are supported by whois.ripe.net and some RIPE-like servers: -l find the one level less specific match -L find all levels less specific matches ... -K only primary keys are returned -r turn off recursive look-ups for contact information -R force to show local copy of the domain object even if it contains referral -a also search all the mirrored databases -s SOURCE[,SOURCE]... search the database mirrored from SOURCE -g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST -t TYPE request template for object of TYPE -v TYPE request verbose template for object of TYPE -q [version|sources|types] query specified server info |
#whois ya.ru
% By submitting a query to RIPN's Whois Service % you agree to abide by the following terms of use: % http://www.ripn.net/about/servpol.html#3.2 (in Russian) % http://www.ripn.net/about/en/servpol.html#3.2 (in English). domain: YA.RU nserver: ns1.yandex.ru. nserver: ns2.yandex.ru. state: REGISTERED, DELEGATED, VERIFIED org: YANDEX, LLC. registrar: RU-CENTER-REG-RIPN admin-contact: https://www.nic.ru/whois created: 1999.07.12 paid-till: 2014.08.01 free-date: 2014.09.01 source: TCI Last updated on 2014.04.24 10:31:44 MSK |
#whois telworks.net
Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: TELWORKS.NET Registrar: CENTER OF UKRAINIAN INTERNET NAMES Whois Server: whois.ukrnames.com Referral URL: http://www.ukrnames.com Name Server: NS1.HOSTING-SERVICE.COM.UA Name Server: NS2.HOSTING-SERVICE.COM.UA ... Tech Phone Ext: Tech Fax: Tech Fax Ext: Tech Email: telworks@ukr.net Domain servers in listed order: ns1.hosting-service.com.ua ns2.hosting-service.com.ua DNSSEC: Unsigned URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/ >>> Last update of WHOIS database: 2014-04-24T09:35:57 <<< |
#ps aux screen
![]() error: conflicting format options Usage: ps [options] Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text. For more details see ps(1). |
#ps aux|grep screen
root 8261 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8334 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8351 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8360 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8377 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8386 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8403 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8412 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8421 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8432 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8447 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8456 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8465 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8474 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8483 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8500 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8509 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8518 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8527 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8544 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8553 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8562 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8579 0.0 0.0 7832 872 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8588 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
#ps aux|grep screen
root 8597 0.0 0.0 7832 876 pts/1 S+ 09:38 0:00 grep screen |
|