Olle Johansson
acfc219733
Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:50:43 +00:00
Olle Johansson
dd5222fd30
Update to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:17:40 +00:00
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant
efae38a82d
- conversions to allocation wrappers
...
- replace malloc/memset with ast_calloc
- replace malloc/ast_copy_string with ast_strdup
(based on patch from issue #6299 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 22:09:06 +00:00
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Josh Roberson
c347d8fee3
issue #5803
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-20 05:01:07 +00:00
Kevin P. Fleming
544a2ecbd3
issue #5766
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 17:48:18 +00:00
Kevin P. Fleming
a0a9769616
issue #5648
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:55:31 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Mark Spencer
e5afdbbe16
Fix res_musiconhold lock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 03:51:25 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
25f3403b21
don't access freed memory if the frame was malloc'd
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 19:34:49 +00:00
Russell Bryant
746efc536a
ensure that the MOH_QUIET flag gets set for the mode "quietmp3nb"
...
add mode to the output of the "moh classes show" cli command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 01:16:48 +00:00
Kevin P. Fleming
fcc3a3ac32
don't install moh functions if no classes are configured (issue #5025 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-25 23:29:30 +00:00
Kevin P. Fleming
ff971379f4
support new format for musiconhold.conf (issue #4908 )
...
support non-SLINEAR moh streams (issue #4908 )
add external app to feed TCP stream into Asterisk for moh (issue #4908 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 19:29:29 +00:00
Mark Spencer
86ec024624
Fix music on hold leak (bug #4842 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-28 18:37:55 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming
37184c4244
revert patch from bug #4532 until CPU consumption problem can be resolved
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 18:57:20 +00:00
Kevin P. Fleming
771f699cdd
fix threading portability problem with FreeBSD (bug #4532 )
...
ensure that all mpg123 child processes get killed when the parent is killed (bug #4532 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-11 21:42:25 +00:00
Anthony Minessale II
de87676975
Apply NODIR Patch (Bug #4619 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-30 18:08:27 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
1bac31d6bd
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
b052fe894b
ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
...
don't reinitialize random number generators in other modules
(bug #4017 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 04:47:39 +00:00
Mark Spencer
4b03dace5f
Fix little formatting thingy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-07 14:53:31 +00:00
Mark Spencer
badc4dec46
Make mpg123 behave more nicely
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 03:20:55 +00:00
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer
f8fc683adc
Add "StartMusicOnHold and "StopMusicOnHold" apps (bug #3703 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-03 05:03:06 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
2c1f9b84ff
Check moh files at runtime (bug #3314 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 22:12:58 +00:00
Mark Spencer
03458dc73a
Various moh fixes (bug #3291 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-09 09:00:41 +00:00
Mark Spencer
e83f71679f
Fix typo in moh output (bug #3265 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-07 14:47:51 +00:00
Mark Spencer
45b4dbf298
Fix music on hold to quitat hangup rather than during channel destruction (bug #3035 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-06 04:18:15 +00:00
Anthony Minessale II
66049c961b
tweak to make music load classes more elegantly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-04 19:09:00 +00:00
Anthony Minessale II
edd3fe50fb
fix bug added to my code so I don
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-04 18:26:17 +00:00
Mark Spencer
7b968f6151
Merge kpflemings moh_files fixes (bug #3224 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-03 00:38:01 +00:00
Anthony Minessale II
10a6e598ac
misplaced chdir call on moh DoH\!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-26 00:33:17 +00:00
Mark Spencer
713a2eb072
Merge anthm's native MOH patch (bug #2639 ) he promises me he'll rid it of ast_flag_moh...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-24 01:40:07 +00:00
Mark Spencer
5789ae4d18
Make music on hold truly optional (bug #2998 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-09 19:55:01 +00:00
Mark Spencer
834627669e
Check that FD's are open before closing (bug #2858 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-17 18:16:08 +00:00
Mark Spencer
64b9a563f2
Make menu interruptible (bug #2377 ), Also fix PBX "add extension" CLI (bug #2289 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 01:22:57 +00:00
Mark Spencer
e7908a50e8
Add stream support and permit minimum respawn time (bug #2254 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-04 05:41:01 +00:00
Mark Spencer
7acee329e1
Merge BSD stack size work (bug #2067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-08 17:15:02 +00:00
Mark Spencer
de4188df06
Merge musiconhold stuff (bug #2027 ), restructure AGI to eventually support registration
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 20:12:28 +00:00
Mark Spencer
044ad2e2e7
Merge remaining audit patch (save dlfcn.c)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 13:57:15 +00:00
Mark Spencer
f63d46097d
Back out accidental changes by anthm
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-02 23:11:14 +00:00
Anthony Minessale II
75d4369dfc
autodial update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-02 22:40:09 +00:00
James Golovich
3d0e3d3c0f
More formatting cleanups.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29 04:42:19 +00:00
James Golovich
8801247d76
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer
d208532e6e
x86-64 compile fixes and cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-13 21:25:10 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer
103bb4a334
Enhancements for zaptel+bsd (bug #1781 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-04 15:44:14 +00:00
James Golovich
8136198e53
Use ast_strlen_zero in res_musiconhold.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-28 19:44:33 +00:00
Mark Spencer
4d1137ded4
Fix a couple of small typos (bug #1648 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-15 15:40:08 +00:00
Mark Spencer
4f51ef7ab7
Unbuffered music on hold
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-29 03:36:46 +00:00
Mark Spencer
13bca43aa8
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-06 22:17:32 +00:00
Mark Spencer
eeb2ca5b26
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-27 06:50:12 +00:00
Mark Spencer
96c7fb890e
Reduce volume of hold music to 8k / 4k
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-24 21:54:05 +00:00
Mark Spencer
97c5b2b7d7
Take out unnecessary setting of delivery times.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-21 07:35:40 +00:00
Mark Spencer
7c35f68e29
Fix milliwatt and musiconhold to know about delivery times
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-20 23:31:40 +00:00
Jeremy McNamara
718d215046
Document SetMusicOnHold. Bug #783
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 09:23:26 +00:00
Jeremy McNamara
6ae49b9ccd
Don't core on mpg123. Bug #671
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 03:31:30 +00:00
Mark Spencer
d387ca7779
Handle mpg123 failures without leaking fd's
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 23:23:00 +00:00
Mark Spencer
55e664cb00
Fix various compiler warnings (bug #322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-27 02:45:37 +00:00
Mark Spencer
4e13099add
Improve child process reaping (bug #278 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-16 19:35:57 +00:00
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Martin Pycko
501c800c5a
Show the names of the codecs instead of the numbers (bug #92 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16 05:10:35 +00:00
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Mark Spencer
45bdf40534
Wait for mpg123 to die
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-10 00:01:48 +00:00
Mark Spencer
01fcb9779a
Allow groups to be checked in reverse order, make musiconhold die on restart
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-07 03:48:00 +00:00
Mark Spencer
34b28107e2
Minor fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-29 15:38:02 +00:00
Mark Spencer
27d3190aa2
Merge / correct MM's patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-27 03:53:19 +00:00
Matteo Brancaleoni
2c64ccad0f
Tue Mar 18 07:00:01 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-18 06:00:18 +00:00
Matteo Brancaleoni
ca908e767c
lun mar 17 19:11:15 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-17 18:11:33 +00:00
Matteo Brancaleoni
61e446f04b
dom mar 16 23:37:23 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-16 22:37:31 +00:00
Matteo Brancaleoni
ce58e5862d
Tue Mar 4 07:00:01 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-04 06:00:19 +00:00
Mark Spencer
a01d8d593f
Version 0.3.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-12-04 16:42:58 +00:00
Mark Spencer
67751c3992
Version 0.2.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-07-11 16:49:29 +00:00
Mark Spencer
bab0cfd263
Version 0.1.12 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-06-29 21:46:57 +00:00