A git mirror of http://svn.asterisk.org/svn/asterisk . May lag a few hours behind. Mirrors /branches (and /trunk ). Includes tags for /tags . Does not include /team . See also it's web interface: http://svnview.digium.com/svn/asterisk . http://asterisk.org/

James Golovich 609935c49a BACKPORT: Fix IAX2 registration time. We want to set reg->refresh to the new value only if its lower not if its higher. (bug 1955) 21 gadi atpakaļ
agi 5a772d90d8 Perl cleanups 21 gadi atpakaļ
apps 27c21d070d Backport fix. Use strlen instead of &id in app_queue.c (Thanks folsson) 21 gadi atpakaļ
astman b4a730c91b Backport gethostbyname_r conversion 21 gadi atpakaļ
cdr 9aef8c8614 Create individual sip reload command (bug #880) 21 gadi atpakaļ
channels 609935c49a BACKPORT: Fix IAX2 registration time. We want to set reg->refresh to the new value only if its lower not if its higher. (bug 1955) 21 gadi atpakaļ
codecs 8fdeef4683 Backport head changes 21 gadi atpakaļ
configs a10bd26ee8 Update sip sample config 21 gadi atpakaļ
contrib b57137cf58 Make primary key context and voicemailbox and make the file easier on 21 gadi atpakaļ
db1-ast b6822e70f8 Various warning cleanups 21 gadi atpakaļ
doc e773aa21fb Various spelling errors fixed in docs 21 gadi atpakaļ
editline fefec51b37 Move config.cache delete to "distclean" 21 gadi atpakaļ
formats 83fa46209d Make ADPCM frames standard 21 gadi atpakaļ
images ce810cd083 Version 0.1.12 from FTP 23 gadi atpakaļ
include b4a730c91b Backport gethostbyname_r conversion 21 gadi atpakaļ
keys 91fc3df619 Version 0.1.10 from FTP 23 gadi atpakaļ
pbx 384fd2dc27 Make outgoing call spool only consider # a comment if at the beginning of a line or following whitespace (bug 1346) 21 gadi atpakaļ
redhat bc797287bb Add the SuSE AMD64 support and fixes from Bug #706 21 gadi atpakaļ
res a3c7c2a087 Remove extra \r\n from manager event sent by res_parking.c (bug #1134) 21 gadi atpakaļ
sounds 78be50bf83 Add custom folder sounds 21 gadi atpakaļ
stdtime 6fa759ae38 Get .depend for stdtime 21 gadi atpakaļ
utils b4a730c91b Backport gethostbyname_r conversion 21 gadi atpakaļ
.cvsignore ebd296caaa Add and update .cvsignore files for .depend 22 gadi atpakaļ
BUGS 37606bfb48 Update 1.0 BUGS file to be aware of select vs. poll stuff 21 gadi atpakaļ
CHANGES b4c895facb Changelog update 21 gadi atpakaļ
CREDITS 3b834b5cf0 add ww 21 gadi atpakaļ
HARDWARE b5166461d9 Update HARDWARE 21 gadi atpakaļ
LICENSE 99a14e4a20 Version 0.1.1 from FTP 25 gadi atpakaļ
Makefile 4c445c794a Fix 'n' option in app_queue. Thanks Mike 21 gadi atpakaļ
README ff831fce79 Fix 2 typos in README 21 gadi atpakaļ
SECURITY a0f1624b44 Version 0.1.10 from FTP 23 gadi atpakaļ
acl.c b4a730c91b Backport gethostbyname_r conversion 21 gadi atpakaļ
aescrypt.c 5f99d0a46c Add AES support 21 gadi atpakaļ
aeskey.c 5f99d0a46c Add AES support 21 gadi atpakaļ
aesopt.h fca4332f7f BSD portability fix 21 gadi atpakaļ
aestab.c 5f99d0a46c Add AES support 21 gadi atpakaļ
alaw.c 999196dfe0 Version 0.1.10 from FTP 23 gadi atpakaļ
app.c 031830e118 Use digit/response timeouts 22 gadi atpakaļ
ast_expr.y d8d6cba6b8 Code cleanups (bug #66) 21 gadi atpakaļ
astconf.h f34ddecce6 Version 0.3.0 from FTP 22 gadi atpakaļ
asterisk.c 15ed59efb5 Must qualify result of gethostbyname 21 gadi atpakaļ
asterisk.h c0f43ee6dd Have a contact line in responses, merge logging patches 21 gadi atpakaļ
astmm.c 6d503cea18 add a vasprintf replacement. Bug #839 21 gadi atpakaļ
autoservice.c a08a8470cf Fix bug 1217. Change pthread_t initializers to AST_PTHREADT_NULL and 21 gadi atpakaļ
callerid.c 4f483a31b7 Typo 21 gadi atpakaļ
cdr.c 1a117dd44b Add application to log user data to the CDRs 21 gadi atpakaļ
channel.c 234953fa7c Backport: Use snprintf in __ast_request_and_dial instead of sprintf 21 gadi atpakaļ
chanvars.c 5cb14f5a82 Include fixes for portability 22 gadi atpakaļ
cli.c f141f43017 Free some cli memory 21 gadi atpakaļ
coef_in.h 5f36e14213 Version 0.1.7 from FTP 24 gadi atpakaļ
coef_out.h 5f36e14213 Version 0.1.7 from FTP 24 gadi atpakaļ
config.c 7989438ad1 Add function ast_false, like ast_true 21 gadi atpakaļ
db.c 78cda7526d Make valgrind happy on db read 21 gadi atpakaļ
dlfcn.c 8dea70a34c Make it build and run on MacOS X 21 gadi atpakaļ
dns.c 521b47d1d7 Look for linux intead of __Linux__ 21 gadi atpakaļ
dsp.c 59d92d8f10 Turn off FAX detect in DSP 21 gadi atpakaļ
ecdisa.h 37c7d62218 Version 0.1.10 from FTP 23 gadi atpakaļ
enum.c c3e60554b0 Make DNS callbacks return -1 on error, so invalid records are ignored 21 gadi atpakaļ
file.c 5430a60395 Fix format unregister 21 gadi atpakaļ
frame.c fb976fae5f Replace MP3 with G726 in ast_codec2str 21 gadi atpakaļ
fskmodem.c 37c7d62218 Version 0.1.10 from FTP 23 gadi atpakaļ
image.c ab172d6d7f Image unregister typo 21 gadi atpakaļ
indications.c 49b572a767 Fix indications buglet 21 gadi atpakaļ
io.c bbd0abbff6 Make it build and run on MacOS X 21 gadi atpakaļ
loader.c 2a5af31a19 Small loader fix 21 gadi atpakaļ
logger.c 6bdfbc201f Typo in logger.c (bug 1466) 21 gadi atpakaļ
make_build_h 2fc1e33737 Version 0.1.8 from FTP 24 gadi atpakaļ
manager.c ca9fccc428 Allow manager.conf to use port and portno, but log that portno is deprecated. 21 gadi atpakaļ
md5.c 69cfdfc28a Pick the right location to endian.h based on OS in md5.c 21 gadi atpakaļ
mkdep 7a7bae221c FreeBSD compatability fixes 21 gadi atpakaļ
pbx.c 20afeee61f Backport outgoing variable fix to -stable 21 gadi atpakaļ
poll.c 8dea70a34c Make it build and run on MacOS X 21 gadi atpakaļ
privacy.c 35493cb96a Version 0.3.0 from FTP 22 gadi atpakaļ
rtp.c 8ebb2a1ee5 Back-port RTP fixes from -head 21 gadi atpakaļ
sample.call ec36a4f02e Add example of using Account in sample.call file 21 gadi atpakaļ
say.c fb252c916c Fix for Norwegian support 21 gadi atpakaļ
sched.c 61bc61392b Unlock while processing schedule queue 21 gadi atpakaļ
sounds.txt 5ba97c674f Update sounds.txt 21 gadi atpakaļ
srv.c c3e60554b0 Make DNS callbacks return -1 on error, so invalid records are ignored 21 gadi atpakaļ
tdd.c ba35830b60 Version 0.1.10 from FTP 23 gadi atpakaļ
term.c bcc6fea53c Add "crt" to list that knows colorization (#410) 21 gadi atpakaļ
translate.c 8d8813d2cb Fix ast_translator_free_path (bug 1254) 21 gadi atpakaļ
ulaw.c ba35830b60 Version 0.1.10 from FTP 23 gadi atpakaļ

README

The Asterisk Open Source PBX
by Mark Spencer
Copyright (C) 2001-2004 Digium
================================================================
* SECURITY
It is imperative that you read and fully understand the contents of
the SECURITY file before you attempt to configure an Asterisk server.

* WHAT IS ASTERISK
Asterisk is an Open Source PBX and telephony toolkit. It is, in a
sense, middleware between Internet and telephony channels on the bottom,
and Internet and telephony applications at the top. For more information
on the project itself, please visit the Asterisk home page at:

http://www.asterisk.org

In addition you'll find lot's of information compiled by the Asterisk
community on this Wiki:

http://www.voip-info.org/wiki-Asterisk

* LICENSING
Asterisk is distributed under GNU General Public License. The GPL also
must apply to all loadable modules as well, except as defined below.

Digium, Inc. (formerly Linux Support Services) retains copyright to all
of the core Asterisk system, and therefore can grant, at its sole discretion,
the ability for companies, individuals, or organizations to create proprietary
or Open Source (but non-GPL'd) modules which may be dynamically linked at
runtime with the portions of Asterisk which fall under our copyright
umbrella, or are distributed under more flexible licenses than GPL.


If you wish to use our code in other GPL programs, don't worry -- there
is no requirement that you provide the same exemption in your GPL'd
products (although if you've written a module for Asterisk we would
strongly encourage you to make the same exemption that we do).

Specific permission is also granted to OpenSSL and OpenH323 to link to
Asterisk.

If you have any questions, whatsoever, regarding our licensing policy,
please contact us.

Modules that are GPL-licensed and not available under Digium's
licensing scheme are added to the Asterisk-addons CVS module.

* REQUIRED COMPONENTS

== Linux ==
Currently, the Asterisk Open Source PBX is only known to run on the
Linux OS, although it may be portable to other UNIX-like operating systems
(like FreeBSD) as well.


* GETTING STARTED

First, be sure you've got supported hardware (but note that you don't need ANY hardware, not even a soundcard) to install and run Asterisk. Supported are:

* All Wildcard (tm) products from Digium (www.digium.com)
* QuickNet Internet PhoneJack and LineJack (http://www.quicknet.net)
* Full Duplex Sound Card supported by Linux
* Adtran Atlas 800 Plus
* ISDN4Linux compatible ISDN card
* Tormenta Dual T1 card (www.bsdtelephony.com.mx)

Hint: CAPI compatible ISDN cards can be run using the add-on channel chan_capi.

So let's proceed:

1) Run "make"
2) Run "make install"

If this is your first time working with Asterisk, you may wish to install
the sample PBX, with demonstration extensions, etc. If so, run:

"make samples"

Doing so will overwrite any existing config files you have. If you are lacking a soundcard you won't be able to use the DIAL command on the console, though.

Finally, you can launch Asterisk with:

./asterisk -vvvc

You'll see a bunch of verbose messages fly by your screen as Asterisk
initializes (that's the "very very verbose" mode). When it's ready, if
you specified the "c" then you'll get a command line console, that looks
like this:

*CLI>

You can type "help" at any time to get help with the system. For help
with a specific command, type "help ". To start the PBX using
your sound card, you can type "dial" to dial the PBX. Then you can use
"answer", "hangup", and "dial" to simulate the actions of a telephone.
Remember that if you don't have a full duplex sound card (And asterisk
will tell you somewhere in its verbose messages if you do/don't) than it
won't work right (not yet).

Feel free to look over the configuration files in /etc/asterisk, where
you'll find a lot of information about what you can do with Asterisk.

* ABOUT CONFIGURATION FILES

All Asterisk configuration files share a common format. Comments are
delimited by ';' (since '#' of course, being a DTMF digit, may occur in
many places). A configuration file is divided into sections whose names
appear in []'s. Each section typically contains two types of statements,
those of the form 'variable = value', and those of the form 'object =>
parameters'. Internally the use of '=' and '=>' is exactly the same, so
they're used only to help make the configuration file easier to
understand, and do not affect how it is actually parsed.

Entries of the form 'variable=value' set the value of some parameter in
asterisk. For example, in tormenta.conf, one might specify:

switchtype=national

In order to indicate to Asterisk that the switch they are connecting to is
of the type "national". In general, the parameter will apply to
instantiations which occur below its specification. For example, if the
configuration file read:

switchtype = national
channel => 1-4
channel => 10-12
switchtype = dms100
channel => 25-47

Then, the "national" switchtype would be applied to channels one through
four and channels 10 through 12, whereas the "dms100" switchtype would
apply to channels 25 through 47.

The "object => parameters" instantiates an object with the given
parameters. For example, the line "channel => 25-47" creates objects for
the channels 25 through 47 of the tormenta card, obtaining the settings
from the variables specified above.

* MORE INFORMATION

See the doc directory for more documentation.

Finally, you may wish to visit the web site and join the mailing list if
you're interested in getting more information.

http://www.asterisk.org/index.php?menu=support

Welcome to the growing worldwide community of Asterisk users!

Mark Spencer