dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

7856 Commits

Author SHA1 Message Date
rizzo 1ab52a857a implement ast_waitfordigit() and ast_readstring() in terms
of their '_full()' version, so we can remove the replicated
implementation and, especially, the risk that they get out of sync.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20389 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 07:53:25 +00:00
file dc25a9479c Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20358 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 23:37:29 +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
file db5a6fcfc3 We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 22:53:53 +00:00
russell ddb97bd2b5 add indications for Thailand (issue #6971)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 22:49:45 +00:00
russell 52c8b6fe51 add the ability to turn off the feature that allows agents to end calls
by pressing '*'.  This is still on by default. (issue #6897)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 22:32:23 +00:00
russell f6d50e26aa Big oops. I did this from my trunk directory instead of autoconf_and_menuselect ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20297 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 15:34:57 +00:00
russell 819a4cf799 include autoconfig.h (casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20296 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 15:33:00 +00:00
oej d4561ff1d1 More ast_channel_lock fixes
- Update lock.h with definitions of ast_channel_lock, ast_channel_unlock and ast_channel_trylock
- Convert some functions (but not all) in channel.c
- Fix some bugs in chan_sip.c
- Convert rest of chan_sip.c


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 15:07:39 +00:00
oej f33b337077 New functions for locking a channel - these simplify debugging
when you have channel locking issues.
(Part of the SIP transfer patch, where I had a *lot* of
channel locking problems)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 08:07:50 +00:00
rizzo 91102c5a2c applied two of the 3 chunks in #6907, and a similar one
(replace nested 'if' with '&&')
I cannot make sense of the first chunk of the proposed patch,
i think the original is correct.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20225 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 00:53:04 +00:00
rizzo dca83005a5 - use '=' to copy struct sockaddr_in
- localize a variable
- replace three replicas of the same code with a much simpler construct
  removing replicated var = var->next;
- use '?' instead of 'if' for an assignment



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 00:36:05 +00:00
rizzo e055b3f202 - normalize for() loops to navigate through variables,
removing replicated var = var->next;
- remove a potential infinite loop and document the problem
- remove useless checks and document why
- mark XXX a possible bug (to be investigated)
- use ast_strlen_zero() instead of expanding it inline
- fix indentation in one place   
- replace a nested 'if' with '&&'



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20223 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 00:05:08 +00:00
rizzo 937c5b6621 - use '?' instead of if statements for assignment;
- fix indentation in a few places
- use a variable to store the 'other' channel, thus removing
  the need for some duplicated code;
- use '=' instead of memcpy to copy struct sockaddr_in



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 23:30:18 +00:00
rizzo 3b962c0937 - remove some unnecessary casts and braces;
- add braces around a nested 'if'
- use S_OR and '?' to remove some duplicated function calls;
- replace nested 'if' with &&
- move out a common term in a sequence of 'if'
- add a comment on a potentially dangerous string manipulation



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20196 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 23:20:29 +00:00
rizzo a849373bc0 remove some unnecessary braces
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:55:58 +00:00
rizzo 277420d12b misc. code cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20169 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:48:05 +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 79ece02fd9 normalize cli completion code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20166 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:17:27 +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 8cd540a042 constify a couple of function arguments
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 21:00:59 +00:00
rizzo 44b2de08cf code cleanup (for loop normalization, remove useless casts and parentheses)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20132 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 20:47:06 +00:00
rizzo 527113c4d0 partial fix of the module API to use the new method.
Still not complete as we need to take care of the usecount stuff.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 19:35:37 +00:00
rizzo 607b2b6a47 fix another svn merge bug
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:45:08 +00:00
tilghman 0d933f8a05 Compatibility fixes for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:44:24 +00:00
kpfleming 42900a7e35 Merged revisions 20037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r20037 | kpfleming | 2006-04-14 12:21:09 -0500 (Fri, 14 Apr 2006) | 2 lines

uncomment files that actually do exist (oops)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20038 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 17:25:31 +00:00
rizzo d6a1a0b4a2 fix a mostly harmless error introduced by svn merge.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20036 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 17:19:57 +00:00
kpfleming 48dcd9a852 Merged revisions 20034 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r20034 | kpfleming | 2006-04-14 12:00:32 -0500 (Fri, 14 Apr 2006) | 2 lines

update text to match actual prompts being distributed (thanks to Kinsey in the support department for reviewing all the prompts!)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20035 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 17:01:07 +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
rizzo f9d382fc07 temporarily revert the way mutex are initialized on BSD systems.
This fixes the compilation on OS/X (the change exposed a wrong
assumption on mutex types on OS/X), but still leaves open the
bugs in initializing mutex on bsd systems, which you will see
reported as 'locking failures' on certain operations.
I need to investigate the issue further, but the best thing
i can do now is leave things as they have been for months.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19973 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 13:54:53 +00:00
tilghman 79aff8b4f4 Bug 6927 - CLI command has 3 args, not 2.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19941 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 04:59:11 +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
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
file 0a88661a99 Fix the grammar that Kevin broke
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19858 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 19:58:45 +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
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
tilghman d56769a1f3 Unregister format says it's already unregistered
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19811 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 17:22:16 +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 f5e52191fc Blocked revisions 19768 via svnmerge
........
r19768 | tilghman | 2006-04-13 10:56:35 -0500 (Thu, 13 Apr 2006) | 2 lines

Bug 6957 - variable names beginning with CALLERID weren't substituted correctly

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19769 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 15:58:22 +00:00
kpfleming 2737304d60 remove extraneous warning message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19767 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 15:28:24 +00:00
oej f03a2e8da4 Issue #6951 - Show last successful registration time in "sip show registry" (ivanfm) with mods for svn trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19736 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 12:48:03 +00:00
oej ebd4a37625 Formatting fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19703 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 07:08:44 +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
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
twisted 6f6ba7555c fix caffiene-induced typo.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19616 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 23:57:39 +00:00
twisted c2272ba2b9 Note that the res_speech module will need to be loaded first, and add a conveient line to uncomment to do so for the time being.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 23:47:51 +00:00
kpfleming 9d5f3082b4 simplify macro usage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19614 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 23:33:47 +00:00
russell c274bc3e7d make sure uint64_t is available on mac
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 21:22:00 +00:00
oej d709ee1a07 - Adding some refer state definitions from the siptransfer branch
- A bit more URI conversions 
- Changes to sip_dual and the SIP invite structure
- Add Supported: headers to more requests


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19578 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 21:21:44 +00:00