dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

57 Commits

Author SHA1 Message Date
kpfleming fd7889f0d9 correct array index calculation (thanks mtaht3!)
update header file comments to reflect new usage of structure field


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 21:39:20 +00:00
kpfleming ec0cb9deda actually return the number steps... not the number of steps minus 1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:43:55 +00:00
kpfleming 34fbed8253 add an API so that the number of steps required for a translation path can be acquired
don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:42:03 +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
kpfleming 7b0f075035 use proper type
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 15:52:06 +00:00
kpfleming f1822bc2a6 merge rizzo's codec module rework (very similar to the format module rework)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 21:40:57 +00:00
russell 0d6061a5c6 conversion from malloc to ast_malloc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 04:09:31 +00:00
mattf 8394cccc39 Bug fix for translation updates. Thanks Josh!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11119 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-25 19:53:45 +00:00
kpfleming a1b826481b Merged revisions 11062,11089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r11062 | kpfleming | 2006-02-24 22:59:50 -0600 (Fri, 24 Feb 2006) | 3 lines

reformat code to fit guidelines
remember which translation paths are multi-step paths

........
r11089 | kpfleming | 2006-02-24 23:08:46 -0600 (Fri, 24 Feb 2006) | 2 lines

factor the number of translation steps required into translation path decisions, so that equal cost paths that require fewer translations are preferred

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-25 05:11:44 +00:00
russell 6b12442db5 lock list of translators *before* recalculating translation matrix.
Also, store translators using linked list macros.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7967 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 05:00:45 +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
russell 8acbf04043 finish merging doxygen updates from issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14 19:00:38 +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
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 f2b81a38df ensure translators don't generate old timestamps when silent periods end (bug #4707 with formatting fixes)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6203 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 19:41:39 +00:00
russell 2dbd70cd4d get rid of potential memory leak
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 19:10:38 +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
russell d6332525d1 print out which format was bigger than MAX_FORMAT
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6019 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 14:00:03 +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 b2cbb6a75d remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming d311186191 fix *BSD breakage from include-order changes (bug #4067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5534 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:24:58 +00:00
kpfleming d6e1341f9b phase 1 of header include cleanup (bug #4067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +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 71fb6b3ec3 optimize codec selection and format changing code
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5376 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04 03:28:38 +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
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 745c13c84e Minor translation performance improvement (bug #2987, not that patch though)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4393 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-06 21:53:57 +00:00
markster 1b705fdbac Rename newp to newpvt (bug #2190), change hold music.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3560 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-01 14:19:04 +00:00
markster 65ae377f3d Remaining rgagnon source audit improvements (bug #2011)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3430 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:44:19 +00:00
citats 899ce8fd6d Misc formatting cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 20:11:15 +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
markster 7d00f23ad4 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
markster 1efb280691 Allow translation table to be recalculated, including with higher resolution
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2996 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-17 22:59:27 +00:00
citats 522cee9451 Log when we unload a translator (bug 1460)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2730 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-21 04:26:38 +00:00
markster 6e032f5e85 Don't dereference consumed frame delivery.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2719 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-20 15:28:58 +00:00
markster c8f7f73c1f Don't translate time for packets with no delivery
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2631 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-05 20:47:44 +00:00
markster 3a923c26d4 Fix timestamps for codec translations with different sized frames
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2629 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-05 19:45:53 +00:00
citats cbab7ad59d Fix ast_translator_free_path (bug 1254)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2494 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-20 10:55:57 +00:00
markster d52dc116dc It helps to use the local copy yo ucreated
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2477 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-19 20:36:21 +00:00
markster 237ae0f4c2 First pass at populating delivery times through translation. Not sure how this will affect translations with different packet sizes, but it *ought* to resolve itself in the end.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2474 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-19 15:03:43 +00:00
citats 2ec52857cd Remove comment about EXPERIMENTAL_TRANSLATION since its not used
anywhere anymore


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2279 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-01 07:17:01 +00:00
citats 336b2bab79 Fix 'show translations'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2249 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-26 01:12:38 +00:00
markster 5ab3234353 Don't be biased against G.726 in translation table
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2240 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-25 04:24:51 +00:00
markster 925e33e457 Fix bug #111
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1351 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-16 15:47:53 +00:00
martinp c3ef7b672f Show the names of the codecs instead of the numbers (bug #92)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1348 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-16 05:10:35 +00:00
markster dbc9edcaac Totally revamp thread debugging to support locating and removing deadlocks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1310 f38db490-d61c-443f-a65b-d21fe96a405b
2003-08-13 15:25:16 +00:00
matteo 342cf00fb7 dom mar 16 23:37:23 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16 22:37:31 +00:00
markster 85b1281320 Version 0.3.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@582 f38db490-d61c-443f-a65b-d21fe96a405b
2003-01-09 23:11:05 +00:00
markster 2977c5a03e Version 0.1.12 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@451 f38db490-d61c-443f-a65b-d21fe96a405b
2002-05-18 02:35:06 +00:00