/l3/users/roman-sidorenko/asterisk/debian2/root :1 :2 :3 :4 :5 :6 |
|
#asterisk -rvvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 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. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Hungup 'Zap/1-1' debian4*CLI> debian4*CLI> debian4*CLI> debian4*CLI> 3quit debian4*CLI> debian4*CLI> debian4*CLI> debian4*CLI> quit Executing last minute cleanups |
#vim iax.conf
|
#:q
|
#cp sip.conf iax.conf
|
#vim iax.conf
--- /tmp/l3-saved-2626.21308.17118 2009-12-09 14:46:23.000000000 +0200 +++ iax.conf 2009-12-09 14:50:58.000000000 +0200 @@ -1,20 +1,10 @@ [general] context=default -[301] +[frompoltava] type=friend host=dynamic -secret=123 -callerid="romchiko-mac" - -[302] -type=friend -host=dynamic -secret=123 -callerid="romchiko-winSoft" - -[fromDeb4] -type=friend -host=dynamic -secret=123 -callerid="romchiko-DEB-4" +secret=1234 +deny=0.0.0.0/0.0.0.0 +permit=192.168.101.3/255.255.255.255 +trunk=yes |
#dfl',sd;lb;sdl
![]() > > > > > > > q > > > > > > > > > > sd;fmbv'sdkl;fmb bash: dfl,sd;lb;sdl q sd;fmbvsdkl: command not found bash: fmb: command not found |
#sd
![]() bash: sd: command not found |
#bsdfk;bmasd
![]() bash: bsdfk: command not found bash: bmasd: command not found |
#fb;sdb
![]() bash: fb: command not found bash: sdb: command not found |
#cat iax
![]() iax.conf iax.conf.SAVED iaxprov.conf |
#cat iax.conf
[general] context=default register => kiev:1234@192.168.101.3 [poltava] type=friend host=dynamic ; 192.168.101.3 secret=1234 ;call-limit=1 ;limitonpeers=yes deny=0.0.0.0/0.0.0.0 permit=192.168.101.3/255.255.255.255 trunk=yes |
#vim iax.conf
|
#asterisk -rvvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 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. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Called frompoltava/101 [Dec 9 15:06:22] WARNING[3550]: chan_iax2.c:7775 socket_process: Call rejected by 192.168.101.3: No such context/extension -- Hungup 'IAX2/frompoltava-16389' == Everyone is busy/congested at this time (1:0/0/1) == Auto fallthrough, channel 'SIP/301-0944e688' status is 'CHANUNAVAIL' -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes Disconnected from Asterisk server Executing last minute cleanups |