/l3/users/goddan/nt-voip/linux4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#ping 192.168.30.1
![]() PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. 64 bytes from 192.168.30.1: icmp_req=1 ttl=63 time=0.263 ms ^C --- 192.168.30.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.263/0.263/0.263/0.000 ms |
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. 64 bytes from 192.168.30.1: icmp_req=1 ttl=63 time=0.263 ms ^C --- 192.168.30.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.263/0.263/0.263/0.000 ms |
#{EXTEN},10,wW))
![]() GNU nano 2.2.4 File: /etc/asterisk/sip.conf Modified [general]mic context=defaulte big brother" register=>harare:1234@192.168.30.1/gweru register=>harare:1234@192.168.10.1/boston register=>harare:1234@192.168.60.1/minsk [1402] ;SIP-peernd [1401]=1234 context=gr_all [gweru]iendarare big brother" type=friendcountry secret=1234c host=dynamicare username=harare canreinvite=nore laptop" context=gr_all [boston]amic ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell |
#{EXTEN},10,wW))
GNU nano 2.2.4 File: /etc/asterisk/sip.conf Modified [general]mic context=defaulte big brother" register=>harare:1234@192.168.30.1/gweru register=>harare:1234@192.168.10.1/boston register=>harare:1234@192.168.60.1/minsk [1402] ;SIP-peernd [1401]=1234 context=gr_all [gweru]iendarare big brother" type=friendcountry secret=1234c host=dynamicare username=harare canreinvite=nore laptop" context=gr_all [boston]amic ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell |
#host=dynamicll
![]() 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 linux4 (pid = 1290) linux4*CLI> sip reload linux4*CLI> dialplan reload Dialplan reloaded. [Apr 10 09:51:54] WARNING[2264]: pbx_config.c:1588 pbx_load_config: ==!!== Unknown directive: include> at line 58 -- IGNORING!!! [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_all' tries to include nonexistent context 'local' [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_city' tries to include nonexistent context 'local' [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_country' tries to include nonexistent context 'local' linux4*CLI> quit |
#host=dynamicll
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 linux4 (pid = 1290) linux4*CLI> sip reload linux4*CLI> dialplan reload Dialplan reloaded. [Apr 10 09:51:54] WARNING[2264]: pbx_config.c:1588 pbx_load_config: ==!!== Unknown directive: include> at line 58 -- IGNORING!!! [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_all' tries to include nonexistent context 'local' [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_city' tries to include nonexistent context 'local' [Apr 10 09:51:54] WARNING[2264]: pbx.c:9553 ast_context_verify_includes: Context 'gr_country' tries to include nonexistent context 'local' linux4*CLI> quit |
#nano /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-1876.29020.27160 2013-04-10 09:52:44.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:53:53.000000000 +0300 @@ -28,8 +28,8 @@ ;exten=>_16XX,1,Dial(SIP/minsk/${EXTEN}) ;exten=>_2XXX,1,Dial(SIP/minsk/${EXTEN}) -;[local] -;exten =>_14XX,1,Dial(SIP/${EXTEN}) +[local] +exten =>_14XX,1,Dial(SIP/${EXTEN}) [national] exten=>_13XX,1,Dial(SIP/gweru/${EXTEN}) |
#nano /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-1876.27406.7903 2013-04-10 09:54:15.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:55:05.000000000 +0300 @@ -55,4 +55,4 @@ include=>international [gr_ua] -include>=ua +include=>ua |
#nano /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-1876.32733.11956 2013-04-10 09:55:36.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:55:52.000000000 +0300 @@ -53,6 +53,7 @@ include=>national include=>local include=>international +include=>ua [gr_ua] include=>ua |
#nano /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-1876.22649.2003 2013-04-10 09:56:29.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 09:56:49.000000000 +0300 @@ -39,7 +39,7 @@ exten=>_2[123]XX,1,Dial(SIP/minsk/${EXTEN}) [ua] -exten=>_+380XXXXXXXXX,1,Dial(SIP/minsk/${EXTEN}) +exten=>_380XXXXXXXXX,1,Dial(SIP/minsk/${EXTEN}) [gr_country] include=>local |
#nano /etc/asterisk/extensions.conf
![]() |
#nano /etc/asterisk/extensions.conf
--- /tmp/l3-saved-1876.13423.25576 2013-04-10 10:02:15.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-10 10:05:08.000000000 +0300 @@ -10,11 +10,11 @@ exten=>_82XX,1,Playback(/var/tmp/message/$(EXTEN:2}) exten=>8300,1,Voicemailmain() -exten=>_14XX,1,Answer +;exten=>_14XX,1,Answer ;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) ;exten=>_14XX,n,Monitor(wav,${CALLFILENAME},m) -exten=>_14XX,n,Dial(SIP/${EXTEN},10,wW) -exten=>_14XX,n,Voicemail(${EXTEN}@default) +;exten=>_14XX,n,Dial(SIP/${EXTEN},10,wW) +;exten=>_14XX,n,Voicemail(${EXTEN}@default) @@ -29,7 +29,16 @@ ;exten=>_2XXX,1,Dial(SIP/minsk/${EXTEN}) [local] -exten =>_14XX,1,Dial(SIP/${EXTEN}) +;exten =>_14XX,1,Dial(SIP/${EXTEN}) + +exten=>_14XX,1,Answer +;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) +;exten=>_14XX,n,Monitor(wav,${CALLFILENAME},m) +exten=>_14XX,n,Dial(SIP/${EXTEN},10,wW) +exten=>_14XX,n,Voicemail(${EXTEN}@default) + + + [national] exten=>_13XX,1,Dial(SIP/gweru/${EXTEN}) |
#cd /var/log/asterisk/cdr-csv/
![]() |
#[default]
![]() 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 linux4 (pid = 1290) linux4*CLI> dialplan reload Dialplan reloaded. [Apr 10 10:45:37] WARNING[2619]: pbx.c:7485 add_pri_lockopt: Unable to register extension '1402', priority 1 in 'local', already in use linux4*CLI> quit |