Журнал лабораторных работ

Содержание

Журнал

Среда (12/09/09)

/dev/pts/9
12:02:44
#/etc/init.d/zaptel restart
Zaptel telephony kernel driver: zaptel.
12:02:51
#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
прошло 99 минут
/dev/pts/1
13:42:46
#vim iax
13:42:46
#vim iax.conf
13:43:05
#:q

13:43:23
#cp sip.conf iax.conf

13:44:34
#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
/dev/pts/9
13:44:42
#quit
bash: quit: command not found
13:44:42
#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
13:44:58
#sd
bash: sd: command not found
13:44:58
#bsdfk;bmasd
bash: bsdfk: command not found
bash: bmasd: command not found
13:44:59
#fb;sdb
bash: fb: command not found
bash: sdb: command not found
13:44:59
#cat iax
iax.conf        iax.conf.SAVED  iaxprov.conf
13:44:59
#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
13:45:13
#vim iax.conf
/dev/pts/1
13:50:58
#vim iax.conf
/dev/pts/3
13:51:13
#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
/dev/pts/1
13:52:25
#[fro