dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

144 Commits

Author SHA1 Message Date
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
kpfleming 0d9156fc12 fix obvious breakage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21239 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 23:50:59 +00:00
rizzo 3664249356 This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
tilghman 17ef367a2b Fix format for big endian systems
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19890 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 20:19:02 +00:00
tilghman 2b4725d531 Bug 6896 - Fix for garbled wav49 format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 17:46:06 +00:00
tilghman 1f61c0608b Typo fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19810 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 17:20:28 +00:00
tilghman 44688449ad Document the MSGSM format, and fix the uncalculated number of samples
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19673 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 01:29:54 +00:00
rizzo 88110b9c59 rename FR_SET_BUF to AST_FRAME_SET_BUFFER
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09 22:31:38 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman 8057b6139c Merged revisions 18436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r18436 | tilghman | 2006-04-07 17:07:38 -0500 (Fri, 07 Apr 2006) | 2 lines

Bug 6913 - fix for possible buffer overflow

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07 22:11:12 +00:00
rizzo ea7a4e7d71 remove traces of previously merged files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17865 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 15:43:06 +00:00
tilghman e0ba99b7f5 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
rizzo 3fe358d879 these files are now unused, corresponding functions are merged
into format_pcm.c



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17331 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 17:13:37 +00:00
rizzo 60405e3ce3 remove an unused function.
Funny enough, compiling with -O6 gives no warning, whereas -O2 gives
a warning for an unused function declared static.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 17:12:35 +00:00
rizzo 0a1c1c5ec2 ogg_vorbis now compiles so put it back in.
On passing, remove an unnecessary initializazion in format_sln.c



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17285 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 15:40:47 +00:00
rizzo 215411b450 temporarily disconnect ogg_vorbis from the build while i update it
(should be a matter of a couple of hours).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17265 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 14:39:22 +00:00
rizzo 217ea2f1ea Largely simplify format handlers (for file copy etc.)
collecting common functions in a single place and removing
them from the individual handlers.
The full description is on mantis,
http://bugs.digium.com/view.php?id=6375
and only the ogg_vorbis handler needs to be converted to
the new structure.

As a result of this change, format_au.c and format_pcm_alaw.c
should go away (in a separate commit) as their functionality
(trivial) has been merged in another file.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 12:59:25 +00:00
kpfleming 12deb3bf4d silence some more compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 18:00:50 +00:00
russell f1d02d5750 suppress some compiler warnings due to recent format changes to use off_t
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21 19:20:30 +00:00
tilghman e8504c1dce Bug 5984 - Convert file offsets to 64 bit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-20 23:35:12 +00:00
tilghman 3634668b29 Merged revisions 10487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10487 | tilghman | 2006-02-19 12:29:16 -0600 (Sun, 19 Feb 2006) | 2 lines

Okay, fseek doesn't return an offset

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10488 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-19 18:30:38 +00:00
tilghman 5a8878e48a Merged revisions 10462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10462 | tilghman | 2006-02-19 11:11:02 -0600 (Sun, 19 Feb 2006) | 2 lines

Bug 6539 - Division by two negates error flag

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-19 17:17:28 +00:00
russell ff8530647a remove unused variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10447 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-18 16:34:04 +00:00
kpfleming e217105bfc ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 16:52:42 +00:00
kpfleming 5d9ed5739a major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 04:28:58 +00:00
kpfleming f9eb3cbf01 don't try to include non-existing (and unneeded) header file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 18:45:03 +00:00
kpfleming 64cdc6493a use auto-build for pbx modules
correct install variable for format modules


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9568 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:48:44 +00:00
kpfleming 28a949808b use auto-build for formats
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9567 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:43:54 +00:00
kpfleming c5e42c6158 set standard properties on all non-binary files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:15:11 +00:00
mogorman 4ef13bdcda Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
mattf 73a64f9573 Fix for formats so they give better output on failure conditions. (#6141)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 21:36:33 +00:00
russell a1447ba856 remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:51:35 +00:00
markster 85d2c9f8c9 Minor video fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08 04:30:10 +00:00
markster d1d90f47fd Add support for H.264 with SIP and recording
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 17:54:22 +00:00
kpfleming 009f7b220f Merged revisions 7819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7819 | kpfleming | 2006-01-05 14:52:38 -0600 (Thu, 05 Jan 2006) | 2 lines

ensure that variable is initialized

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 20:53:21 +00:00
kpfleming 9be22a04ed Merged revisions 7807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7807 | kpfleming | 2006-01-04 18:18:46 -0600 (Wed, 04 Jan 2006) | 2 lines

doh... fseek() has no useful return value

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 00:19:18 +00:00
kpfleming 5b2cf44b13 Merged revisions 7805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7805 | kpfleming | 2006-01-04 17:51:03 -0600 (Wed, 04 Jan 2006) | 2 lines

use proper fwrite() parameters and return value

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 23:51:23 +00:00
kpfleming 635fe55608 Merged revisions 7803 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7803 | kpfleming | 2006-01-04 17:45:34 -0600 (Wed, 04 Jan 2006) | 2 lines

return properly after extending file

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7804 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 23:45:58 +00:00
kpfleming f903e4b53c Merged revisions 7799-7800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7799 | kpfleming | 2006-01-04 17:02:38 -0600 (Wed, 04 Jan 2006) | 2 lines

make monitoring more tolerant of peers that deliver frames in bursts

........
r7800 | kpfleming | 2006-01-04 17:27:57 -0600 (Wed, 04 Jan 2006) | 2 lines

ensure that ulaw/alaw sound files are filled with silence when extended (not zeroes)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7801 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 23:29:37 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming 6c54a7cf87 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:09:49 +00:00
markster eb519dc24a Fix compile issue (presumably on BSD) (bug #5745)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7108 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 00:22:30 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
kpfleming 4d4023555b issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
russell bb65d2e30a more doxygenification (issue #5513)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 13:03:17 +00:00
markster 74600d9030 Use FILE * instead of fd for files to support buffering
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6801 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 16:12:51 +00:00
kpfleming f89c44df03 more license/copyright header updates (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
markster 09bcbc1741 Make sure RTP timestamps are accurate on playback
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6560 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-10 18:46:38 +00:00
kpfleming 475a3fdb24 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:54:02 +00:00