/l3/users/goddan/nt-voip/linux4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#apt-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded. Need to get 474 kB of archives. After this operation, 1,069 kB of additional disk space will be used. Get:1 http://192.168.15.253/debian/ squeeze/main libsqlite3-dev i386 3.7.3-1 [474 kB] Fetched 474 kB in 0s (16.1 MB/s) Selecting previously deselected package libsqlite3-dev. (Reading database ... 131986 files and directories currently installed.) Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.3-1_i386.deb) ... Setting up libsqlite3-dev (3.7.3-1) ... |
#./configure --disable-xmldoc
checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : i686 configure: build-cpu:vendor:os: i686 : pc : linux-gnu : configure: host-cpu:vendor:os: i686 : pc : linux-gnu : |
#make
![]() make[1]: Entering directory `/home/user/asterisk-11.3.0' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[2]: Entering directory `/home/user/asterisk-11.3.0/menuselect' gcc -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c gcc -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c gcc -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c make[3]: Entering directory `/home/user/asterisk-11.3.0/menuselect/mxml' gcc -Os -g -Wall -c mxml-attr.c gcc -Os -g -Wall -c mxml-entity.c gcc -Os -g -Wall -c mxml-file.c ... [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb [CC] chan_agent.c -> chan_agent.o [LD] chan_agent.o -> chan_agent.so [CC] chan_bridge.c -> chan_bridge.o [LD] chan_bridge.o -> chan_bridge.so [CC] chan_iax2.c -> chan_iax2.o ^Cmake[2]: *** Deleting file `chan_iax2.o' make[2]: *** [chan_iax2.o] Interrupt make[1]: *** [channels] Interrupt make: *** [_cleantest_all] Interrupt |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- extended --- XXX chan_mobile [ ] chan_ooh323 [ ] format_mp3 XXX res_config_mysql --- deprecated --- ... [*] pbx_config [*] pbx_loopback [*] pbx_spool --- extended --- [*] pbx_ael [*] pbx_dundi XXX pbx_lua [*] pbx_realtime Realtime Switch Depends on: lua(E)) |
#make -j32
make[1]: Entering directory `/home/user/asterisk-11.3.0' Building Documentation For: channels [CC] codec_adpcm.c -> codec_adpcm.o [CC] pbx_ael.c -> pbx_ael.o [CC] codec_alaw.c -> codec_alaw.o [CC] pbx_config.c -> pbx_config.o [CC] cdr_csv.c -> cdr_csv.o [CC] pbx_dundi.c -> pbx_dundi.o [CC] codec_a_mu.c -> codec_a_mu.o [CC] cdr_custom.c -> cdr_custom.o [CC] format_g719.c -> format_g719.o ... creating makelist creating config.h [LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o config.o config_options.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o format.o forma make[1]: Leaving directory `/home/user/asterisk-11.3.0' +--------- Asterisk Build Complete ---------+ + Asterisk has successfully been built, and + + can be installed by running: + + + + make install + +-------------------------------------------+ |
#make -j32 install
![]() Installing modules from cdr... Installing modules from cel... Installing modules from tests... Installing modules from formats... Installing modules from bridges... Installing modules from channels... Installing modules from addons... Installing modules from pbx... Installing modules from codecs... make[2]: warning: -jN forced in submake: disabling jobserver mode. ... .pjlib-test-i686-pc-linux-gnu.depend:296: *** missing separator. Stop. make[4]: *** [depend] Error 2 make[3]: *** [dep] Error 1 make[2]: *** [pjproject] Error 2 make[1]: *** [res] Error 2 make[1]: Leaving directory `/home/user/asterisk-11.3.0' make: *** [_cleantest_all] Error 2 make: *** Waiting for unfinished jobs.... make[2]: warning: -jN forced in submake: disabling jobserver mode. Installing modules from res... |
#make install
make[1]: Entering directory `/home/user/asterisk-11.3.0' make[1]: Leaving directory `/home/user/asterisk-11.3.0' Installing modules from channels... Installing modules from pbx... Installing modules from apps... Installing modules from codecs... Installing modules from formats... Installing modules from cdr... Installing modules from cel... Installing modules from bridges... ... res_config_mysql.so res_config_odbc.so res_config_pgsql.so res_config_sqlite.so res_curl.so res_http_post.so res_jabber.so res_odbc.so res_snmp.so WARNING WARNING WARNING |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#/etc/init.d/asterisk status
Asterisk PBX is running. |
#asterisk -r
Asterisk 11.3.0, 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. ========================================================================= Connected to Asterisk 11.3.0 currently running on linux4 (pid = 27161) linux4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#nano /etc/asterisk/sip.conf
--- /tmp/l3-saved-1978.19116.6226 2013-04-12 16:34:27.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-12 16:35:07.000000000 +0300 @@ -12,6 +12,8 @@ callerid="harare big brother" context=gr_country language=ru +encryption=yes + [1402] type=friend |
#[general]
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
|