Joshua Colp
f19c6f66aa
Initialize obj pointers to NULL. Gets rid of two compiler warnings.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 03:42:20 +00:00
Joshua Colp
ae649fef27
Merged revisions 49063 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49063 | file | 2006-12-29 22:37:22 -0500 (Fri, 29 Dec 2006) | 2 lines
Initialize the packet queue in load_module instead of just declaring the list with the default value. (issue #8695 reported by ssokol)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 03:40:42 +00:00
Steve Murphy
b96a97e315
Merged revisions 49061 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49061 | murf | 2006-12-29 17:40:37 -0700 (Fri, 29 Dec 2006) | 1 line
A fix for 8661, where the CUT func needed to have comma args converted to vertical bars. I hope this change does little harm.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-30 00:51:07 +00:00
Russell Bryant
1f8001e816
Convert various comments to doxygen format.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 13:25:07 +00:00
Olle Johansson
fc86ea2eed
Removing extra output
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 11:02:28 +00:00
Russell Bryant
723c1ffba8
Fix a spelling mistake in a comment.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 06:26:53 +00:00
Kevin P. Fleming
9b97d732d8
Merged revisions 49046 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r49046 | kpfleming | 2006-12-28 18:32:59 -0600 (Thu, 28 Dec 2006) | 10 lines
Merged revisions 49045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49045 | kpfleming | 2006-12-28 18:32:32 -0600 (Thu, 28 Dec 2006) | 2 lines
location of the bug posting guidelines has changed
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-29 00:33:33 +00:00
Jason Parker
04117852f4
Blocked revisions 49035 via svnmerge
...
........
r49035 | qwell | 2006-12-28 15:26:04 -0600 (Thu, 28 Dec 2006) | 4 lines
Fix some deprecated commands.
Issue 8682, patch by me
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 21:28:48 +00:00
Jason Parker
eff5ee4960
Blocked revisions 49032 via svnmerge
...
........
r49032 | qwell | 2006-12-28 14:40:23 -0600 (Thu, 28 Dec 2006) | 2 lines
saw this in passing... fix a small typo
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:42:28 +00:00
Tilghman Lesher
1e1fd3c3e0
Integrate functionality tested on svncommunity users back into trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:13:00 +00:00
Kevin P. Fleming
23be4b87c5
Merged revisions 49028 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49028 | kpfleming | 2006-12-28 14:08:59 -0600 (Thu, 28 Dec 2006) | 2 lines
new versions of sounds
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:10:24 +00:00
Joshua Colp
b712e10a13
Convert uri_redirects list to read/write locks.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:05:00 +00:00
Joshua Colp
6d9273d0d8
Merged revisions 49024 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49024 | qwell | 2006-12-28 14:52:46 -0500 (Thu, 28 Dec 2006) | 2 lines
make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 20:02:41 +00:00
Jason Parker
29fd3fa0ac
Blocked revisions 49024 via svnmerge
...
........
r49024 | qwell | 2006-12-28 13:52:46 -0600 (Thu, 28 Dec 2006) | 2 lines
make the uris_lock a rwlock instead of a mutex lock - needs to be forward ported to trunk
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:53:48 +00:00
Joshua Colp
c58d9238a2
Blocked revisions 49022 via svnmerge
...
........
r49022 | file | 2006-12-28 14:43:15 -0500 (Thu, 28 Dec 2006) | 2 lines
Backport support for read/write locks.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:45:44 +00:00
Steve Murphy
6c7f4c1e32
Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 17:56:21 +00:00
Joshua Colp
7231cc108a
Merged revisions 49009 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49009 | file | 2006-12-27 17:28:46 -0500 (Wed, 27 Dec 2006) | 2 lines
ast_copy_string is not available when LOW_MEMORY is used and things are being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:30:28 +00:00
Kevin P. Fleming
adca0ff14b
Merged revisions 49006 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines
since these variables all have static duration, none of them need initializers (they default to zero anyway)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:14:33 +00:00
Kevin P. Fleming
d7b0ec8646
add file to ignore list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 22:10:31 +00:00
Olle Johansson
b54feaffec
Only include include files once (imported from 1.4)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:27:57 +00:00
Kevin P. Fleming
b07686e503
apparently we need an explicit message to warn people
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:21:21 +00:00
Kevin P. Fleming
afbfafa400
make the 'languageprefix' option default to on, and deprecate turning it off
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:18:27 +00:00
Kevin P. Fleming
16b09ac48c
Merged revisions 48998 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48998 | kpfleming | 2006-12-27 15:08:30 -0600 (Wed, 27 Dec 2006) | 3 lines
move extern declaration for this option to a header file where it belongs
provide an initial value for 'languageprefix' option, instead of relying on randomness to provide a useful value
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 21:09:35 +00:00
Olle Johansson
906a51a1af
Only set "rfc2833compensate" option once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:30:03 +00:00
Olle Johansson
8794577966
Only handle T38 options once
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 20:26:30 +00:00
Olle Johansson
820d82470a
-Remove "localmask" setting (deprecated in earlier version)
...
- Remove "musiconhold" and "musicclass" settings (also deprecated earlier)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 19:57:06 +00:00
Kevin P. Fleming
85b6138d83
Merged revisions 48988 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48988 | kpfleming | 2006-12-27 12:33:22 -0600 (Wed, 27 Dec 2006) | 2 lines
make the option actually match the documentation
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:34:24 +00:00
Kevin P. Fleming
d68c7c8ce6
Merged revisions 48987 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines
allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:33:44 +00:00
Olle Johansson
29ed493b40
Be politically correct
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 18:02:10 +00:00
Olle Johansson
253e1daa49
From coding guidelines:
...
Comments should explain what the code does, not when something was changed
or who changed it. If you have done a larger contribution, make sure
that you are added to the CREDITS file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:58:03 +00:00
Olle Johansson
da7a35a1cc
Add support for buggy Cisco MWI firmware > 8.0.3 (issue 8575 - flewid)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:56:11 +00:00
Olle Johansson
3713ce7ed1
Cleanup of handle_common_options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:35:41 +00:00
Olle Johansson
a12dc35eb3
Reset invitestate when sending new invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:26:02 +00:00
Olle Johansson
d69e9086cc
Issue #8600 - bogus SDP Content Length in T.38 re-invite
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:01:07 +00:00
Joshua Colp
b3ca8342fd
Merged revisions 48966 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48966 | file | 2006-12-26 00:20:08 -0500 (Tue, 26 Dec 2006) | 2 lines
Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 05:23:25 +00:00
Joshua Colp
7f61b822c1
Merged revisions 48964 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48964 | file | 2006-12-25 23:31:58 -0500 (Mon, 25 Dec 2006) | 2 lines
Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 04:34:07 +00:00
Joshua Colp
b3ab530077
Merged revisions 48960 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48960 | file | 2006-12-25 12:04:48 -0500 (Mon, 25 Dec 2006) | 2 lines
Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 17:06:58 +00:00
Luigi Rizzo
6ecb175193
provide INT16_MIN and INT16_MAX for platforms where they are not defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 06:42:15 +00:00
Luigi Rizzo
09f75aa6dc
rename the structs struct tone_zone_sound and struct tone_zone
...
defined in indications.h to ind_tone_zone_sound and ind_tone_zone,
to avoid conflicts with the structs with the same names
defined in tonezone.h
Hope i haven't missed any instance.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 06:38:09 +00:00
Russell Bryant
b93f1f3e37
Merged revisions 48956 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48956 | russell | 2006-12-25 00:21:20 -0500 (Mon, 25 Dec 2006) | 14 lines
Merged revisions 48955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) | 6 lines
Fix an error introduced by copying and pasting the handling of the >= operator
for the MATH function. If a single equal sign was used as an operator, the
function would treat it is as if it were the >= operator. Now, it properly
handles it as an invalid operator.
(issue #8665 , patch by tempest1)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 05:22:40 +00:00
Russell Bryant
527dbe399e
Simplify the if statements used to check to see if the argument was "num"
...
or "number". It is not possible to ever reach the second part of this
conditional statement.
Thanks to my brother, Brett, for pointing this out. :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 02:31:04 +00:00
Russell Bryant
d3bf06f272
Resolve some compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 02:06:47 +00:00
Russell Bryant
ad8a480085
Merged revisions 48948 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48948 | russell | 2006-12-24 16:19:37 -0500 (Sun, 24 Dec 2006) | 3 lines
Fix a typo in an error message that indicated that the MGCP channel type could
not be registered, instead of the correct type, OSS.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 21:21:21 +00:00
Russell Bryant
850dd4ea61
Use spaces as a separator for the redirect option to improve readability
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 21:01:02 +00:00
Russell Bryant
539514d793
Merged revisions 48944 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48944 | russell | 2006-12-24 02:25:38 -0500 (Sun, 24 Dec 2006) | 11 lines
Merged revisions 48943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines
Check for the proper return value on an error in a call to mmap().
This was reported by Andy Wang on the asterisk-dev list. Thanks!
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 07:27:29 +00:00
Russell Bryant
e0f55d2385
Merged revisions 48940 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48940 | russell | 2006-12-24 01:49:31 -0500 (Sun, 24 Dec 2006) | 11 lines
Merged revisions 48939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines
Remove a couple of misplaced dots in log messages. This was reported by
Andrea Spadaccini on the asterisk-dev mailing list.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 06:51:37 +00:00
Russell Bryant
5d5cc243c6
Simplify the definition of http_uri_redirect such that only one allocation is
...
done for exactly how much memory is needed. This was suggested by Luigi on
the asterisk-dev mailing list. Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-24 03:29:42 +00:00
Russell Bryant
0e266fbfb9
Blocked revisions 48931 via svnmerge
...
........
r48931 | russell | 2006-12-23 15:22:52 -0500 (Sat, 23 Dec 2006) | 2 lines
Implement locking for the list of URI handlers to make it thread-safe.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-23 20:26:34 +00:00
Russell Bryant
2c5071a006
- Convert the list of URI handlers to use the linked list macros. While doing
...
this, implementing locking of this list to make it thread-safe.
- Add a "redirect" option to http.conf that allows redirecting one URI to
another. I was inspired to do this while playing with the Asterisk GUI. I
got tired of typing this URL to get to the GUI:
http://localhost:8088/asterisk/static/config/cfgadvanced.html
So, now I have the following line in http.conf:
redirect=/=/asterisk/static/config/cfgadvanced.html
Now, I can type the following into my browser and go to the GUI:
http://localhost:8088
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-23 20:13:14 +00:00
Russell Bryant
08cfbe97b8
Remove a debug message. If this is still needed for debugging something,
...
it should be made a LOG_DEBUG message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-23 20:08:16 +00:00