kpfleming
21d21f89c0
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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
russell
1e6b875c67
- 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: http://svn.digium.com/svn/asterisk/trunk@8410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 22:09:06 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +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
twisted
75c525d6d3
issue #5803
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 05:01:07 +00:00
kpfleming
5f6ab90eb2
issue #5766
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7116 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 17:48:18 +00:00
kpfleming
df706a8900
issue #5648
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:55:31 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
a4d6ea67a7
Fix res_musiconhold lock
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6831 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 03:51:25 +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
kpfleming
f24fbc3714
don't access freed memory if the frame was malloc'd
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6484 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 19:34:49 +00:00
russell
e998fca049
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: http://svn.digium.com/svn/asterisk/trunk@6463 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 01:16:48 +00:00
kpfleming
2d99395680
don't install moh functions if no classes are configured (issue #5025 with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6412 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-25 23:29:30 +00:00
kpfleming
304aac9d8f
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: http://svn.digium.com/svn/asterisk/trunk@6353 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 19:29:29 +00:00
markster
5912042b64
Fix music on hold leak (bug #4842 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6244 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-28 18:37:55 +00:00
kpfleming
ff15e0fa53
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming
70723a7713
revert patch from bug #4532 until CPU consumption problem can be resolved
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6111 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 18:57:20 +00:00
kpfleming
84b415519d
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: http://svn.digium.com/svn/asterisk/trunk@6086 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11 21:42:25 +00:00
anthm
c1f860cf98
Apply NODIR Patch (Bug #4619 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6017 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-30 18:08:27 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
e500673791
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: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming
7b1b9f53ef
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:29:18 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
kpfleming
7da33e49f4
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: http://svn.digium.com/svn/asterisk/trunk@5459 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13 04:47:39 +00:00
markster
5e67dfa01f
Fix little formatting thingy
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5435 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-07 14:53:31 +00:00
markster
cfc2b33d30
Make mpg123 behave more nicely
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5142 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05 03:20:55 +00:00
markster
8ba4898a1e
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04 06:47:24 +00:00
markster
05a349fe6c
Add "StartMusicOnHold and "StopMusicOnHold" apps (bug #3703 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5124 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03 05:03:06 +00:00
markster
2207b9a515
Merge config updates (bug #3406 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
russell
7288b1ced0
update copyright headers for 2005
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
8389b73ec2
Check moh files at runtime (bug #3314 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4752 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10 22:12:58 +00:00
markster
57cd004b47
Various moh fixes (bug #3291 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4724 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-09 09:00:41 +00:00
markster
dd02eaad89
Fix typo in moh output (bug #3265 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4706 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-07 14:47:51 +00:00
markster
c75f5c50b5
Fix music on hold to quitat hangup rather than during channel destruction (bug #3035 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4691 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06 04:18:15 +00:00
anthm
780ba51b65
tweak to make music load classes more elegantly
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4661 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-04 19:09:00 +00:00
anthm
dbc393200b
fix bug added to my code so I don
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4659 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-04 18:26:17 +00:00
markster
7270663abb
Merge kpflemings moh_files fixes (bug #3224 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-03 00:38:01 +00:00
anthm
1841112edc
misplaced chdir call on moh DoH\!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4555 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-26 00:33:17 +00:00
markster
05c1466c55
Merge anthm's native MOH patch (bug #2639 ) he promises me he'll rid it of ast_flag_moh...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4552 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-24 01:40:07 +00:00
markster
bf79f62286
Make music on hold truly optional (bug #2998 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4411 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-09 19:55:01 +00:00
markster
f096787f19
Check that FD's are open before closing (bug #2858 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17 18:16:08 +00:00
markster
53a61fb2b7
Make menu interruptible (bug #2377 ), Also fix PBX "add extension" CLI (bug #2289 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3732 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-07 01:22:57 +00:00
markster
ea0e9e5f6f
Add stream support and permit minimum respawn time (bug #2254 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3723 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-04 05:41:01 +00:00
markster
28a366ed72
Merge BSD stack size work (bug #2067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-08 17:15:02 +00:00
markster
2cb447cfc6
Merge musiconhold stuff (bug #2027 ), restructure AGI to eventually support registration
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3460 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-17 20:12:28 +00:00
markster
5d86543614
Merge remaining audit patch (save dlfcn.c)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3436 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 13:57:15 +00:00
markster
bf73a8baa8
Back out accidental changes by anthm
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3378 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-02 23:11:14 +00:00
anthm
a5d644afc8
autodial update
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3377 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-02 22:40:09 +00:00
citats
fb93977362
More formatting cleanups.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3337 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29 04:42:19 +00:00
citats
00b34f3e0a
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00