tilghman
25cd00a657
Bug 6710 - Move default datetime string to each language function, so each language can have its own default
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-23 15:26:55 +00:00
oej
9e7afdebc6
- Add doxygen documentation for sipsock_read locking
...
- Improve documentation of pedantic
(related to issue #7016 )
From the air above Russia...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22163 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-23 06:22:29 +00:00
jdixon
c4e93002d6
Added "Operator Services" connection mode for Zap channels, and the 'O' option
...
in app_dial to support the use of this mode.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-22 11:30:06 +00:00
rizzo
a139aad1f4
convert to use ast_stream_and_wait
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:57:29 +00:00
rizzo
fa4bd289a0
convert to use ast_strem_and_wait
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:51:55 +00:00
rizzo
94ab57fd0a
convert to use ast_stream_and_wait
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:39:50 +00:00
rizzo
fd45704e44
move wait_and_stream to ast_wait_and_stream() because equivalent
...
code is replicated in way too many places not to have a global
function for that.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:28:32 +00:00
rizzo
6c864f19d6
more stncpy/ast_copy_string replacement.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22046 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:34:38 +00:00
rizzo
476c6e351d
more strncpy/ast_copy_string replacement.
...
On passing, simplify code by using strsep() as appropriate
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:26:54 +00:00
rizzo
a89ea8a93a
more strncpy/ast_copy_string replacement
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22044 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:13:21 +00:00
rizzo
cab50c6e0f
replace some strncpy with ast_copy string,
...
on passing fix some potential null pointer dereference,
and normalize some loops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22043 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:08:57 +00:00
rizzo
a64824fdc0
replace strncpy with ast_copy_string.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22016 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 17:53:39 +00:00
rizzo
3cec63b876
replace strncpy with ast_copy_string and fix the -1 offset which
...
is not needed now.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 17:47:44 +00:00
rizzo
ff4e44ae7c
comment a possible memory leak
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 16:18:12 +00:00
rizzo
165f152886
merge some common code into a function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 16:04:25 +00:00
rizzo
53d4d48821
update configuration, generalize date format and
...
start mapping digit strings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 15:49:14 +00:00
rizzo
27e0e17fc9
- use symbolic constants and macros to play with the debug flag
...
on the frame counters. Document it in the header file.
- provide a single exit point for a function;
- mark XXX some unclear parts of the code.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 14:49:21 +00:00
rizzo
8ebf64bddd
simplify pbx_builtin_execiftime
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 13:44:15 +00:00
rizzo
00c7615742
simplify a function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21879 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 12:58:39 +00:00
rizzo
d8d540470f
minor cleanup
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21878 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 12:12:42 +00:00
rizzo
78de33e15b
one more client for find_context_locked()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 11:30:02 +00:00
rizzo
ee68112134
localize a variable, and make a minor code rearrangement.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 11:19:48 +00:00
rizzo
00c6d77ec7
more NULL "" equivalence in cid fields.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21849 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 11:05:54 +00:00
rizzo
3b87fbc500
more NULL "" equivalence in cid fields.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21835 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 11:02:28 +00:00
rizzo
915a117b86
more NULL "" equivalence,
...
mark a couple of inconsistencies (missing CallerIDnum,
"unknown" instead of "<unknown>") - there are more of the same.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:57:03 +00:00
rizzo
56b186cc11
more NULL "" equivalence in CLI fields.
...
Mark a place where we don't clear a buffer while we probably should.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:51:31 +00:00
rizzo
7096ffbc6a
more NULL / "" equivalence for CID fields.
...
Mark an inconsistency in empty string handling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21819 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:47:07 +00:00
rizzo
3bb9782c4d
more NULL "" equivalence in CID fields.
...
Mark a potentially missing item in managerevent
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21818 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:41:13 +00:00
rizzo
0964951348
ast_strdup can handle NULL args well, so use it.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:37:59 +00:00
rizzo
d999f912e3
more NULL and "" equivalence in cid fields
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21816 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:31:23 +00:00
rizzo
ac7e695cf8
make NULL and "" equivalent in cid fields, mark some missing NULL checks.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:05:45 +00:00
rizzo
723fba46b4
make NULL and "" equivalent for some cid fields.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21792 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:00:58 +00:00
rizzo
7eb73ddcb4
Replace three replicas of the same code with a function.
...
Consider NULL and "" as equivalent in cid strings.
On passing, also remove an extra data copy.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21786 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 09:54:23 +00:00
rizzo
1d299362e5
comment that for callerid field, NULL and "" should be considered
...
equivalent (the reason is, when passing these strings through a
statically allocated buffer, we have no way to tell between NULL and ""
so we would be unable to preserve the difference, if any).
No code changes yet.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21743 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-20 17:39:44 +00:00
oej
8791c86837
Clarify result of sipsock_read
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 23:49:36 +00:00
russell
5141b94617
add the malloc attribute to the memory allocation wrappers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21681 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 22:32:07 +00:00
kpfleming
7e5f8397c9
Merged revisions 21638 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r21638 | kpfleming | 2006-04-19 16:10:41 -0500 (Wed, 19 Apr 2006) | 2 lines
support system-specific scripts in safe_asterisk, before starting Asterisk proper
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 21:11:31 +00:00
tilghman
09d0ad17df
Merged revisions 21597 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r21597 | tilghman | 2006-04-19 13:43:17 -0500 (Wed, 19 Apr 2006) | 2 lines
Bug 6553 - plug memory leaks when ODBC connection is down
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21600 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:56:38 +00:00
tilghman
0770086ef6
Oops, wasn't revised the way I thought it was
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21599 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:50:51 +00:00
tilghman
cb2026c417
Blocked revisions 21597 via svnmerge
...
........
r21597 | tilghman | 2006-04-19 13:43:17 -0500 (Wed, 19 Apr 2006) | 2 lines
Bug 6553 - plug memory leaks when ODBC connection is down
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21598 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:44:58 +00:00
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