dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

1654 Commits

Author SHA1 Message Date
rizzo 6260677f40 move a replicated block of code in the one place where it belongs.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:15:20 +00:00
rizzo 87ebbc8741 merge two nested 'if' which are really a single block.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:07:19 +00:00
rizzo 666223ee12 fix indentation of a large block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:00:32 +00:00
rizzo 518e82afed start sorting out the duplicated code in the privacy handler
for future removal



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21568 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 17:58:07 +00:00
rizzo b741dee519 merge two nested 'if' which are really a single block.
(indentation still to be fixed)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 17:29:15 +00:00
rizzo d9253cdc8e more localization and variable removal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21538 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 16:54:04 +00:00
rizzo f29e1b1964 more localization of variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21537 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 16:36:15 +00:00
rizzo a4532658d7 localize one more variable;
use ast_strdup as it can handle the NULL argument well.
mark a dubious piece of code with XXX



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21536 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 16:19:52 +00:00
rizzo 7ee16ede87 localize some variables
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21535 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 16:10:11 +00:00
rizzo 14d3d9ccee extract a common condition.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21508 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 15:15:03 +00:00
rizzo fa37f7b8c6 fix indentation of some large blocks after previous changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 14:53:18 +00:00
rizzo 0de7e5711d more simplifications - use a local variable c instead of o->chan,
use S_OR as appropriate.

Still need to fix the indentation of some blocks.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21480 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 14:50:17 +00:00
rizzo f1040ec28d more simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 14:14:40 +00:00
rizzo 5e2602c190 start cleaning up this code so we can split the 900 lines function
into manageable chunks.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21468 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 14:02:49 +00:00
rizzo 27af7fef71 add experimental code for new-style "say" application.
The rules for spelling out numbers and dates are in the config
file "say.conf", which can be edited to implement national
or even local language rules.

The new code can be enabled through the cli command
'say load new'
while the old code can be restored with
'say load old'

Eventually, this code should go to a better place,
but for the time being we keep here as it provides
very similar functions.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 10:27:31 +00:00
rizzo 37bc058d8d remove a line that was added by mistake
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21098 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 13:17:44 +00:00
tilghman cc7ccbbabe Merged revisions 21037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r21037 | tilghman | 2006-04-18 01:26:04 -0500 (Tue, 18 Apr 2006) | 2 lines

Bug 6984 - off by one error in Random()

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21038 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 06:29:30 +00:00
file 6c00b7ca23 Allow the attachment format to be specified differently for different mailboxes (issue #6961 reported by the ever fabulous Corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 23:05:18 +00:00
rizzo 03f9214af5 code simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20168 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:32:13 +00:00
rizzo 8c45c1475f use ast_strdup instead of strdup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20167 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:22:13 +00:00
rizzo fae6856ca5 constification and code simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:02:19 +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 03209b7e42 Merged revisions 19891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines

Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 20:40:23 +00:00
kpfleming f56a09fbeb Merged revisions 19812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19812 | kpfleming | 2006-04-13 12:40:21 -0500 (Thu, 13 Apr 2006) | 2 lines

oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19813 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 17:41:43 +00:00
file f51c79cc26 Updates to speech recognition API and dialplan utilities. Moved to using dialplan functions, and some other misc things.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19645 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 00:18:52 +00:00
file a8d5975f06 Add ability to see if the person calling said anything or not.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 19:57:21 +00:00
tilghman 8318acbef1 Merged revisions 19397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19397 | tilghman | 2006-04-11 17:39:59 -0500 (Tue, 11 Apr 2006) | 2 lines

Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 22:51:10 +00:00
tilghman b19f672644 Merged revisions 19394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines

Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 22:25:57 +00:00
kpfleming e322baf79d Merged revisions 19348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19348 | kpfleming | 2006-04-11 16:50:18 -0500 (Tue, 11 Apr 2006) | 2 lines

don't call the originating device as part of the Page() operation (issue #6932)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 21:51:17 +00:00
kpfleming fb65069ee5 Merged revisions 19301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19301 | kpfleming | 2006-04-11 15:11:01 -0500 (Tue, 11 Apr 2006) | 2 lines

handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 20:11:36 +00:00
bweschke 65817479e8 Minor cleanups and error handling for app_dial #6935 (casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 16:15:11 +00:00
bweschke b53f772681 Provide the ability to read extension number after name #6938 (delink)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19221 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 15:38:17 +00:00
rizzo 80782b1b45 normalize code preparing for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 15:19:34 +00:00
bweschke 5bd391eb84 Merged revisions 19008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines

 When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 01:12:13 +00:00
file 483e826311 Presenting a revised data stores and oh my, a generic speech recognition API! I wonder what we can do with this now...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18979 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 23:29:50 +00:00
kpfleming 31b2a51bfb remove support for BYEXTENSION (which nobody even knows about anymore)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 23:01:22 +00:00
oej 87af6389db Issue 6919 - clarify error message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18603 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09 18:53:46 +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 5adcee992f Merged revisions 18494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r18494 | tilghman | 2006-04-08 14:20:45 -0500 (Sat, 08 Apr 2006) | 2 lines

Bug 6914 - .txt file fails to rename on operator out

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 19:22:29 +00:00
russell 3bf6b880d8 remove traces of "look", something that does not exist in the tree
(issue #6904)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 19:13:37 +00:00
oej 3c9910c57e Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
- implement all functions through internal APIs in res_osp.c and app_osplookup.c
(homesick)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07 19:11:22 +00:00
kpfleming 21153820b8 Merged revisions 18087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r18087 | kpfleming | 2006-04-06 17:04:58 -0500 (Thu, 06 Apr 2006) | 3 lines

don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675)
update application help text to more clearly define when Zaptel and chan_zap are required

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 22:16:23 +00:00
bweschke c90723f092 More code optimizations. Thanks kpfleming!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18025 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 20:37:29 +00:00
bweschke 0bd5db4f73 Fix a problem where if the channel was hungup during detection, the application wouldn't block indefinitely looking for another frame from that channel. Don't try to do frame size analysis on a frame that isn't voice, only report DEBUG and VERBOSE msgs to the logger channels when the DEBUG and VERBOSE settings are high enough to require it, and some other minor cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 20:23:18 +00:00
file 2ac1e2ee67 Merged revisions 17905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r17905 | file | 2006-04-06 14:00:10 -0300 (Thu, 06 Apr 2006) | 2 lines

Update email address to my Digium one

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17914 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 17:01:47 +00:00
rizzo 25108e6dfb convert one more file...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 15:48:06 +00:00
rizzo f229a1fc56 convert a couple of applications to the new module style
(STATIC_MODULE) to show what needs to be changed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 09:24:02 +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
tilghman 54a140d030 Bug 6508 - if priority was a number, then findlabel fails
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17626 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:03:30 +00:00
tilghman 70e60a12ae Bug 6886 - Add application TryExec, which does mostly the same thing, but returns differently
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17454 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 03:53:41 +00:00