/l3/users/user2-yuriy/nt-voip/Linux2.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 |
|
#cp /home/user/music/* /usr/share/asterisk/sounds/ru/
![]() cp: cannot stat `/home/user/music/*': No such file or directory |
#cp /home/user/music/* /usr/share/asterisk/sounds/ru/
![]() cp: cannot stat `/home/user/music/*': No such file or directory |
#ls /etc/asterisk/*.conf
![]() /etc/asterisk/adsi.conf /etc/asterisk/indications.conf /etc/asterisk/adtranvofr.conf /etc/asterisk/jabber.conf /etc/asterisk/agents.conf /etc/asterisk/jingle.conf /etc/asterisk/ais.conf /etc/asterisk/logger.conf /etc/asterisk/alarmreceiver.conf /etc/asterisk/manager.conf /etc/asterisk/alsa.conf /etc/asterisk/meetme.conf /etc/asterisk/amd.conf /etc/asterisk/mgcp.conf /etc/asterisk/asterisk.conf /etc/asterisk/minivm.conf /etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/misdn.conf /etc/asterisk/cdr.conf /etc/asterisk/modules.conf ... /etc/asterisk/extensions_minivm.conf /etc/asterisk/skinny.conf /etc/asterisk/features.conf /etc/asterisk/sla.conf /etc/asterisk/festival.conf /etc/asterisk/smdi.conf /etc/asterisk/followme.conf /etc/asterisk/udptl.conf /etc/asterisk/func_odbc.conf /etc/asterisk/unistim.conf /etc/asterisk/gtalk.conf /etc/asterisk/usbradio.conf /etc/asterisk/h323.conf /etc/asterisk/users.conf /etc/asterisk/http.conf /etc/asterisk/voicemail.conf /etc/asterisk/iax.conf /etc/asterisk/vpb.conf /etc/asterisk/iaxprov.conf |
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf /etc/asterisk/indications.conf /etc/asterisk/adtranvofr.conf /etc/asterisk/jabber.conf /etc/asterisk/agents.conf /etc/asterisk/jingle.conf /etc/asterisk/ais.conf /etc/asterisk/logger.conf /etc/asterisk/alarmreceiver.conf /etc/asterisk/manager.conf /etc/asterisk/alsa.conf /etc/asterisk/meetme.conf /etc/asterisk/amd.conf /etc/asterisk/mgcp.conf /etc/asterisk/asterisk.conf /etc/asterisk/minivm.conf /etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/misdn.conf /etc/asterisk/cdr.conf /etc/asterisk/modules.conf ... /etc/asterisk/extensions_minivm.conf /etc/asterisk/skinny.conf /etc/asterisk/features.conf /etc/asterisk/sla.conf /etc/asterisk/festival.conf /etc/asterisk/smdi.conf /etc/asterisk/followme.conf /etc/asterisk/udptl.conf /etc/asterisk/func_odbc.conf /etc/asterisk/unistim.conf /etc/asterisk/gtalk.conf /etc/asterisk/usbradio.conf /etc/asterisk/h323.conf /etc/asterisk/users.conf /etc/asterisk/http.conf /etc/asterisk/voicemail.conf /etc/asterisk/iax.conf /etc/asterisk/vpb.conf /etc/asterisk/iaxprov.conf |
#ls /etc/asterisk/s*.conf
![]() /etc/asterisk/say.conf /etc/asterisk/sip_notify.conf /etc/asterisk/sla.conf /etc/asterisk/sip.conf /etc/asterisk/skinny.conf /etc/asterisk/smdi.conf |
#ls /etc/asterisk/s*.conf
/etc/asterisk/say.conf /etc/asterisk/sip_notify.conf /etc/asterisk/sla.conf /etc/asterisk/sip.conf /etc/asterisk/skinny.conf /etc/asterisk/smdi.conf |
#asterisk -rvvv
![]() Asterisk 1.6.2.9-2+squeeze10, 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 Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity was 0 and is now 3 ... -- Registered extension context 'ael-dundi-e164-customers' (0x983ae28) in local table 0x9832a08; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config -- Registered extension context 'ael-dundi-e164-canonical' (0x984efc0) in local table 0x9832a08; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config -- Time to scan old dialplan and merge leftovers back into the new: 0.000466 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000040 sec -- Total time merge_contexts_delete: 0.000506 sec Linux2*CLI> quit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, 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 Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity was 0 and is now 3 ... -- Registered extension context 'ael-dundi-e164-customers' (0x983ae28) in local table 0x9832a08; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config -- Registered extension context 'ael-dundi-e164-canonical' (0x984efc0) in local table 0x9832a08; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config -- Time to scan old dialplan and merge leftovers back into the new: 0.000466 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000040 sec -- Total time merge_contexts_delete: 0.000506 sec Linux2*CLI> quit Executing last minute cleanups |
#ls /etc/asterisk/*.conf
![]() /etc/asterisk/adsi.conf /etc/asterisk/indications.conf /etc/asterisk/adtranvofr.conf /etc/asterisk/jabber.conf /etc/asterisk/agents.conf /etc/asterisk/jingle.conf /etc/asterisk/ais.conf /etc/asterisk/logger.conf /etc/asterisk/alarmreceiver.conf /etc/asterisk/manager.conf /etc/asterisk/alsa.conf /etc/asterisk/meetme.conf /etc/asterisk/amd.conf /etc/asterisk/mgcp.conf /etc/asterisk/asterisk.conf /etc/asterisk/minivm.conf /etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/misdn.conf /etc/asterisk/cdr.conf /etc/asterisk/modules.conf ... /etc/asterisk/extensions_minivm.conf /etc/asterisk/skinny.conf /etc/asterisk/features.conf /etc/asterisk/sla.conf /etc/asterisk/festival.conf /etc/asterisk/smdi.conf /etc/asterisk/followme.conf /etc/asterisk/udptl.conf /etc/asterisk/func_odbc.conf /etc/asterisk/unistim.conf /etc/asterisk/gtalk.conf /etc/asterisk/usbradio.conf /etc/asterisk/h323.conf /etc/asterisk/users.conf /etc/asterisk/http.conf /etc/asterisk/voicemail.conf /etc/asterisk/iax.conf /etc/asterisk/vpb.conf /etc/asterisk/iaxprov.conf |
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf /etc/asterisk/indications.conf /etc/asterisk/adtranvofr.conf /etc/asterisk/jabber.conf /etc/asterisk/agents.conf /etc/asterisk/jingle.conf /etc/asterisk/ais.conf /etc/asterisk/logger.conf /etc/asterisk/alarmreceiver.conf /etc/asterisk/manager.conf /etc/asterisk/alsa.conf /etc/asterisk/meetme.conf /etc/asterisk/amd.conf /etc/asterisk/mgcp.conf /etc/asterisk/asterisk.conf /etc/asterisk/minivm.conf /etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/misdn.conf /etc/asterisk/cdr.conf /etc/asterisk/modules.conf ... /etc/asterisk/extensions_minivm.conf /etc/asterisk/skinny.conf /etc/asterisk/features.conf /etc/asterisk/sla.conf /etc/asterisk/festival.conf /etc/asterisk/smdi.conf /etc/asterisk/followme.conf /etc/asterisk/udptl.conf /etc/asterisk/func_odbc.conf /etc/asterisk/unistim.conf /etc/asterisk/gtalk.conf /etc/asterisk/usbradio.conf /etc/asterisk/h323.conf /etc/asterisk/users.conf /etc/asterisk/http.conf /etc/asterisk/voicemail.conf /etc/asterisk/iax.conf /etc/asterisk/vpb.conf /etc/asterisk/iaxprov.conf |
#vim /etc/asterisk/extensions.conf
![]() |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2299.7114.31588 2013-04-10 09:46:36.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:49:31.000000000 +0300 @@ -19,6 +19,7 @@ exten => _12XX,n,Voicemail(${EXTEN}@default) +exten => _380XXXXXXXXX,n,Voicemail(${EXTEN}@default) ;exten => _12XX,1,Answer ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2299.23016.6930 2013-04-10 09:53:23.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:56:46.000000000 +0300 @@ -17,9 +17,6 @@ ;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m) exten => _12XX,n,Dial(SIP/${EXTEN},10,wW) exten => _12XX,n,Voicemail(${EXTEN}@default) - - -exten => _380XXXXXXXXX,n,Voicemail(${EXTEN}@default) ;exten => _12XX,1,Answer ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) @@ -44,6 +41,8 @@ exten => _13XX,1,Dial(SIP/boston/${EXTEN}) exten => _21XX,1,Dial(SIP/boston/${EXTEN}) +exten => _380XXXXXXXXX,1,Dial(SIP/minsk${EXTEN}) + [gr1] include => internal include => local |
#vim /etc/asterisk/sip.conf
![]() --- /tmp/l3-saved-2299.26644.13800 2013-04-10 09:59:12.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-10 10:00:19.000000000 +0300 @@ -2,7 +2,8 @@ context=default register => chicago:1234@192.168.10.1/boston -register => minsk:1234@192.168.10.1/boston + +;register => minsk:1234@192.168.60.1/boston ;register => chicago:1234@192.168.10.1/boston ; SIP-peer |
#asterisk -r
![]() Asterisk 1.6.2.9-2+squeeze10, 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. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity is at least 3 Linux2*CLI> dialplan reload ... -- Registered extension context 'ael-dundi-e164-customers' (0xb52bdc08) in local table 0xb52b44c8; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config -- Registered extension context 'ael-dundi-e164-canonical' (0xb52d1e80) in local table 0xb52b44c8; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config -- Time to scan old dialplan and merge leftovers back into the new: 0.000523 sec -- Time to restore hints and swap in new dialplan: 0.000001 sec -- Time to delete the old dialplan: 0.000051 sec -- Total time merge_contexts_delete: 0.000575 sec Linux2*CLI> Disconnected from Asterisk server |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity is at least 3 Linux2*CLI> dialplan reload ... -- Registered extension context 'ael-dundi-e164-customers' (0xb52bdc08) in local table 0xb52b44c8; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config -- Registered extension context 'ael-dundi-e164-canonical' (0xb52d1e80) in local table 0xb52b44c8; registrar: pbx_ael -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config -- Time to scan old dialplan and merge leftovers back into the new: 0.000523 sec -- Time to restore hints and swap in new dialplan: 0.000001 sec -- Time to delete the old dialplan: 0.000051 sec -- Total time merge_contexts_delete: 0.000575 sec Linux2*CLI> Disconnected from Asterisk server |
#ping 192.168.20.100
![]() PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data. 64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=68.5 ms 64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=67.3 ms 64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=66.3 ms 64 bytes from 192.168.20.100: icmp_req=4 ttl=250 time=65.4 ms 64 bytes from 192.168.20.100: icmp_req=5 ttl=250 time=64.4 ms 64 bytes from 192.168.20.100: icmp_req=6 ttl=250 time=63.9 ms ^X64 bytes from 192.168.20.100: icmp_req=7 ttl=250 time=62.4 ms 64 bytes from 192.168.20.100: icmp_req=8 ttl=250 time=61.5 ms ^Z [2]+ Stopped ping 192.168.20.100 |
#ping 192.168.20.100
![]() PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data. 64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=68.5 ms 64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=67.3 ms 64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=66.3 ms 64 bytes from 192.168.20.100: icmp_req=4 ttl=250 time=65.4 ms 64 bytes from 192.168.20.100: icmp_req=5 ttl=250 time=64.4 ms 64 bytes from 192.168.20.100: icmp_req=6 ttl=250 time=63.9 ms ^X64 bytes from 192.168.20.100: icmp_req=7 ttl=250 time=62.4 ms 64 bytes from 192.168.20.100: icmp_req=8 ttl=250 time=61.5 ms ^Z [2]+ Stopped ping 192.168.20.100 |
#fg 2
![]() ping 192.168.20.100 64 bytes from 192.168.20.100: icmp_req=9 ttl=250 time=65.6 ms 64 bytes from 192.168.20.100: icmp_req=10 ttl=250 time=64.3 ms 64 bytes from 192.168.20.100: icmp_req=11 ttl=250 time=63.4 ms 64 bytes from 192.168.20.100: icmp_req=12 ttl=250 time=62.3 ms ^[x64 bytes from 192.168.20.100: icmp_req=13 ttl=250 time=61.5 ms 64 bytes from 192.168.20.100: icmp_req=14 ttl=250 time=60.4 ms ^[z64 bytes from 192.168.20.100: icmp_req=15 ttl=250 time=69.5 ms ^[x64 bytes from 192.168.20.100: icmp_req=16 ttl=250 time=68.4 ms ^[c^[z64 bytes from 192.168.20.100: icmp_req=17 ttl=250 time=67.4 ms 64 bytes from 192.168.20.100: icmp_req=18 ttl=250 time=66.8 ms ^Z [2]+ Stopped ping 192.168.20.100 |
#fg 2
![]() ping 192.168.20.100 64 bytes from 192.168.20.100: icmp_req=9 ttl=250 time=65.6 ms 64 bytes from 192.168.20.100: icmp_req=10 ttl=250 time=64.3 ms 64 bytes from 192.168.20.100: icmp_req=11 ttl=250 time=63.4 ms 64 bytes from 192.168.20.100: icmp_req=12 ttl=250 time=62.3 ms ^[x64 bytes from 192.168.20.100: icmp_req=13 ttl=250 time=61.5 ms 64 bytes from 192.168.20.100: icmp_req=14 ttl=250 time=60.4 ms ^[z64 bytes from 192.168.20.100: icmp_req=15 ttl=250 time=69.5 ms ^[x64 bytes from 192.168.20.100: icmp_req=16 ttl=250 time=68.4 ms ^[c^[z64 bytes from 192.168.20.100: icmp_req=17 ttl=250 time=67.4 ms 64 bytes from 192.168.20.100: icmp_req=18 ttl=250 time=66.8 ms ^Z [2]+ Stopped ping 192.168.20.100 |
#help ping
![]() bash: help: no help topics match `ping'. Try `help help' or `man -k ping' or `info ping'. |
#help ping
![]() bash: help: no help topics match `ping'. Try `help help' or `man -k ping' or `info ping'. |
#ping -k3 192.168.20.100
![]() ping: invalid option -- 'k' Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface] [-M pmtudisc-hint] [-m mark] [-S sndbuf] [-T tstamp-options] [-Q tos] [hop1 ...] destination |
#ping -k3 192.168.20.100
![]() ping: invalid option -- 'k' Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface] [-M pmtudisc-hint] [-m mark] [-S sndbuf] [-T tstamp-options] [-Q tos] [hop1 ...] destination |
#ping -c3 192.168.20.100
![]() PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data. 64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=61.6 ms 64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=60.3 ms 64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=69.4 ms --- 192.168.20.100 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 60.383/63.807/69.403/4.000 ms |
#ping -c3 192.168.20.100
PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data. 64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=61.6 ms 64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=60.3 ms 64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=69.4 ms --- 192.168.20.100 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 60.383/63.807/69.403/4.000 ms |
#ping -c3 192.168.20.101
![]() PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data. --- 192.168.20.101 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2015ms |
#ping -c3 192.168.20.101
![]() PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data. --- 192.168.20.101 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2015ms |
#ping -c3 192.168.20.101
![]() PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data. --- 192.168.20.101 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms |
#ping -c3 192.168.20.101
![]() PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data. --- 192.168.20.101 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms |
#vim /etc/asterisk/sip.conf
![]() --- /tmp/l3-saved-2299.6510.10172 2013-04-10 10:24:49.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-10 10:26:17.000000000 +0300 @@ -32,7 +32,7 @@ [boston] type=friend -secret=1234 +secret=1234xxx host=dynamic username=chicago context=gr1 |
#register => 223:rootpass22@178.63.229.229/external sername=Cisco
![]() [ ] secret=12345 "/etc/asterisk/sip.conf" 41L, 506C host=dynamic context=gr1 username=Cisco [1202] type=friend ster => brest:1234@192.168.60.1/minsk secret=12345 host=dynamic context=gr1 -- INSERT -- 17,1 Top |
#register => 223:rootpass22@178.63.229.229/external sername=Cisco
![]() [ ] secret=12345 "/etc/asterisk/sip.conf" 41L, 506C host=dynamic context=gr1 username=Cisco [1202] type=friend ster => brest:1234@192.168.60.1/minsk secret=12345 host=dynamic context=gr1 -- INSERT -- 17,1 Top |
#vim /etc/asterisk/sip.conf
![]() --- /tmp/l3-saved-2299.18734.4906 2013-04-10 10:31:06.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-10 10:31:26.000000000 +0300 @@ -6,8 +6,8 @@ ;register => 223:rootpass22@178.63.229.229/external -register => brest:1234@192.168.60.1/chicago -register => 223:rootpass22@178.63.229.229/external +;register => brest:1234@192.168.60.1/chicago +;register => 223:rootpass22@178.63.229.229/external ;xxx;register => minsk:1234@192.168.60.1/boston |
#vim /etc/asterisk/sip.conf
![]() --- /tmp/l3-saved-2299.21557.8437 2013-04-10 10:31:50.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-10 10:32:11.000000000 +0300 @@ -39,7 +39,7 @@ [boston] type=friend -secret=1234xxx +secret=1234 host=dynamic username=chicago context=gr1 |
#fg 1
![]() callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 [root@linux7:~]# # http://db.tt/I6AEo6jh [ ] [ ] [root@linux7:~]# sip 41,0-1 Bot [1]+ Stopped /usr/bin/vim "$@" ping: unknown host c3 cret=123cret=123cret=123444 cret=1234cret=1234cret=1234cret=1234cret=1234 [minsk] [minsk] [minsk] cret=1234cret=1234 type=friend secret=1234 host=dynamic defaultuser=brest canreinvite=no |
#fg 1
![]() callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 [root@linux7:~]# # http://db.tt/I6AEo6jh [ ] [ ] [root@linux7:~]# sip 41,0-1 Bot [1]+ Stopped /usr/bin/vim "$@" ping: unknown host c3 cret=123cret=123cret=123444 cret=1234cret=1234cret=1234cret=1234cret=1234 [minsk] [minsk] [minsk] cret=1234cret=1234 type=friend secret=1234 host=dynamic defaultuser=brest canreinvite=no |
#fg 1
![]() ot@linux7:~]# mkdir /var/tmp/message/ [root@linux7:~]# chown asterisk:asterisk /var/tmp/message/ [root@linux7:~]# cat /etc/asterisk/extensions.conf [ ] include => internal ot@linux7:~]# [general] [ ] register => br ; SIP-peer ... 3,1 11% defaultuser=brest canreinvite=no qualify=yes callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 [root@linux7:~]# # http://db.tt/I6AEo6jh [root@linux7:~]# sip |
#fg 1
ot@linux7:~]# mkdir /var/tmp/message/ [root@linux7:~]# chown asterisk:asterisk /var/tmp/message/ [root@linux7:~]# cat /etc/asterisk/extensions.conf [ ] include => internal ot@linux7:~]# [general] [ ] register => br ; SIP-peer ... 3,1 11% defaultuser=brest canreinvite=no qualify=yes callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444 [root@linux7:~]# # http://db.tt/I6AEo6jh [root@linux7:~]# sip |
#include => internal
![]() exten => 8000,n,Playback(welcome) ;exten => 1201,1,Dial(Sip/1201) ;exten => 1202,1,Dial(Sip/1202) exten => _81XX,nDial(SIP1202&SIP/1203) [local] exten => 8300,1,Voicemailmain() "/etc/asterisk/extensions.conf" 61L, 1790C exten => _12XX,1,Answer ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) ;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m) |
#include => internal
![]() exten => 8000,n,Playback(welcome) ;exten => 1201,1,Dial(Sip/1201) ;exten => 1202,1,Dial(Sip/1202) exten => _81XX,nDial(SIP1202&SIP/1203) [local] exten => 8300,1,Voicemailmain() "/etc/asterisk/extensions.conf" 61L, 1790C exten => _12XX,1,Answer ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) ;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m) |
#asterisk -r
![]() Asterisk 1.6.2.9-2+squeeze10, 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. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity is at least 3 Linux2*CLI> ... == Spawn extension (gr1, 1205, 2) exited non-zero on 'SIP/1201-0000000a' == Using SIP RTP CoS mark 5 -- Executing [1203@gr1:1] Answer("SIP/1201-0000000b", "") in new stack -- Executing [1203@gr1:2] Dial("SIP/1201-0000000b", "SIP/1203,10,wW") in new stack == Using SIP RTP CoS mark 5 -- Called 1203 -- SIP/1203-0000000c is ringing == Spawn extension (gr1, 1203, 2) exited non-zero on 'SIP/1201-0000000b' Linux2*CLI> dialplan reload [1]+ Stopped asterisk -r |
#asterisk -r
![]() Asterisk 1.6.2.9-2+squeeze10, 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. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482) Verbosity is at least 3 Linux2*CLI> ... == Spawn extension (gr1, 1205, 2) exited non-zero on 'SIP/1201-0000000a' == Using SIP RTP CoS mark 5 -- Executing [1203@gr1:1] Answer("SIP/1201-0000000b", "") in new stack -- Executing [1203@gr1:2] Dial("SIP/1201-0000000b", "SIP/1203,10,wW") in new stack == Using SIP RTP CoS mark 5 -- Called 1203 -- SIP/1203-0000000c is ringing == Spawn extension (gr1, 1203, 2) exited non-zero on 'SIP/1201-0000000b' Linux2*CLI> dialplan reload [1]+ Stopped |