/l3/users/oleglevitskiy/lab-nt-voip/aster-3/root :1 :2 :3 :4 :5 :6 :7 |
|
#nano extensions.conf
--- /tmp/l3-saved-4283.4182.452 2014-04-26 13:38:21.841210804 +0300 +++ extensions.conf 2014-04-26 13:39:46.613209667 +0300 @@ -12,6 +12,12 @@ #include "/etc/asterisk/extensions.conf.local" + +[ukraine-gateway] +exten => _380XXXXXXXXX,1,Dial(SIP/kiev/${EXTEN)) + + + [internal] include => parkedcalls exten => _80XX,1,Answer @@ -197,11 +203,13 @@ exten => _.,1,Playback(/var/tmp/asterisk/message) [gr_relay] + include => internal include => local include => national include => international include => failback +include=>ukraine-gateway [gr1] include => internal @@ -209,14 +217,17 @@ include => national include => international include => failback +include=>ukraine-gateway [gr2] include => internal include => local include => national include => failback +include=>ukraine-gateway [gr3] include => internal include => local include => failback +include=>ukraine-gateway |
#exten => s-BUSY,1,Busykground(/var/tmp/asterisk/message02)
Reloading Asterisk PBX configuration files. |
#service asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#nano extensions.conf
--- /tmp/l3-saved-4283.29762.11721 2014-04-26 13:41:57.609207913 +0300 +++ extensions.conf 2014-04-26 13:43:14.153206888 +0300 @@ -14,7 +14,7 @@ [ukraine-gateway] -exten => _380XXXXXXXXX,1,Dial(SIP/kiev/${EXTEN)) +exten => _380XXXXXXXXX,1,Dial(SIP/vienna/${EXTEN)) |
#{EPOCH})
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#cd /usr/src/
|
#ls
vpb-driver.tar.bz2 |
#wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
--2014-04-26 14:27:53-- http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 34844777 (33M) [application/x-gzip] Saving to: `asterisk-11-current.tar.gz' 100%[======================================================================>] 34,844,777 1.55M/s in 17s 2014-04-26 14:28:10 (1.93 MB/s) - `asterisk-11-current.tar.gz' saved [34844777/34844777] |
#tar xvf asterisk-11-current.tar.gz
asterisk-11.9.0/ asterisk-11.9.0/Makefile.moddir_rules asterisk-11.9.0/missing asterisk-11.9.0/CREDITS asterisk-11.9.0/makeopts.in asterisk-11.9.0/config.guess asterisk-11.9.0/UPGRADE-10.txt asterisk-11.9.0/channels/ asterisk-11.9.0/channels/iax2-parser.h asterisk-11.9.0/channels/chan_mgcp.c ... asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 AGICommand_database put.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 ManagerEvent_AgentRingNoAnswer.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 AGICommand_channel status.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 ManagerAction_SKINNYlines.html asterisk-11.9.0/doc/Makefile asterisk-11.9.0/doc/astdb2bdb.8 asterisk-11.9.0/doc/asterisk.8 asterisk-11.9.0/doc/astdb2sqlite3.8 asterisk-11.9.0/doc/asterisk.sgml asterisk-11.9.0/doc/appdocsxml.dtd |
#ls
asterisk-11.9.0 asterisk-11-current.tar.gz vpb-driver.tar.bz2 |
#pwd
/usr/src |
#ls
asterisk-11.9.0 asterisk-11-current.tar.gz vpb-driver.tar.bz2 |
#cd asterisk-11
![]() l3script: cd: asterisk-11: No such file or directory |
#cd asterisk-11.9.0/
|
#ls
addons channels include README-addons.txt agi codecs install-sh README-SERIOUSLY.bestpractices.txt apps config.guess keys res asterisk-11.9.0-summary.html configs LICENSE sample.call asterisk-11.9.0-summary.txt config.sub main sounds autoconf configure Makefile static-http bootstrap.sh configure.ac Makefile.moddir_rules tests bridges contrib Makefile.rules UPGRADE-10.txt BSDmakefile COPYING makeopts.in UPGRADE-1.2.txt BUGS CREDITS menuselect UPGRADE-1.4.txt build_tools default.exports missing UPGRADE-1.6.txt cdr doc mkinstalldirs UPGRADE-1.8.txt cel formats pbx UPGRADE.txt ChangeLog funcs phoneprov utils CHANGES images README Zaptel-to-DAHDI.txt |
#configure -help
![]() l3script: configure: command not found |
#configure --help
![]() l3script: configure: command not found |
#./configure --help
`configure' configures asterisk trunk to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit ... LIBEDIT_LIBS linker flags for LIBEDIT, overriding pkg-config GMIME_CFLAGS C compiler flags for GMIME, overriding pkg-config GMIME_LIBS linker flags for GMIME, overriding pkg-config GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config GTK2_LIBS linker flags for GTK2, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to <https://issues.asterisk.org>. |
|