]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agocheck specifically for VLDTMF and transcoding support in the system's Zaptel installa...
Kevin P. Fleming [Mon, 1 Jan 2007 23:34:35 +0000 (23:34 +0000)] 
check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49102 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agouse a simpler (and portable) method to ensure that menuselect is built as a host...
Kevin P. Fleming [Mon, 1 Jan 2007 22:48:03 +0000 (22:48 +0000)] 
use a simpler (and portable) method to ensure that menuselect is built as a host binary

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agorevert this change until a better solution can be found... 'env -i' was not being...
Kevin P. Fleming [Mon, 1 Jan 2007 22:08:24 +0000 (22:08 +0000)] 
revert this change until a better solution can be found... 'env -i' was not being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49098 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoremove incomplete implementation of dnsmgr. Let's fix this in trunk.
Olle Johansson [Mon, 1 Jan 2007 20:14:33 +0000 (20:14 +0000)] 
remove incomplete implementation of dnsmgr. Let's fix this in trunk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49096 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIAX has been deprecated for quite some time so we had better use IAX2 when creating...
Joshua Colp [Sat, 30 Dec 2006 18:31:17 +0000 (18:31 +0000)] 
IAX has been deprecated for quite some time so we had better use IAX2 when creating the dial string for users. (issue #8697 reported by ssokol)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse asprintf to build the channel names instead of custom function. I believe the...
Joshua Colp [Sat, 30 Dec 2006 18:19:57 +0000 (18:19 +0000)] 
Use asprintf to build the channel names instead of custom function. I believe the custom function is doing some things that are not portable across all implementations. (issue #8570 reported by hterag & issue #8692 reported by nicolasg)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIf the Packet2Packet bridge is being broken because of a masquerade then attempt...
Joshua Colp [Sat, 30 Dec 2006 05:46:57 +0000 (05:46 +0000)] 
If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoInitialize the packet queue in load_module instead of just declaring the list with...
Joshua Colp [Sat, 30 Dec 2006 03:37:22 +0000 (03:37 +0000)] 
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/branches/1.4@49063 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoA fix for 8661, where the CUT func needed to have comma args converted to vertical...
Steve Murphy [Sat, 30 Dec 2006 00:40:37 +0000 (00:40 +0000)] 
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/branches/1.4@49061 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoput this value into the correct property
Kevin P. Fleming [Fri, 29 Dec 2006 00:50:17 +0000 (00:50 +0000)] 
put this value into the correct property

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49048 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 49045 via svnmerge from
Kevin P. Fleming [Fri, 29 Dec 2006 00:32:59 +0000 (00:32 +0000)] 
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/branches/1.4@49046 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agosimple commit to test CIA integration
Kevin P. Fleming [Fri, 29 Dec 2006 00:05:46 +0000 (00:05 +0000)] 
simple commit to test CIA integration

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49042 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix some deprecated commands.
Jason Parker [Thu, 28 Dec 2006 21:26:04 +0000 (21:26 +0000)] 
Fix some deprecated commands.

Issue 8682, patch by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49035 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agosaw this in passing... fix a small typo
Jason Parker [Thu, 28 Dec 2006 20:40:23 +0000 (20:40 +0000)] 
saw this in passing...  fix a small typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agonew versions of sounds
Kevin P. Fleming [Thu, 28 Dec 2006 20:08:59 +0000 (20:08 +0000)] 
new versions of sounds

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49028 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agomake the uris_lock a rwlock instead of a mutex lock - needs to be forward ported...
Jason Parker [Thu, 28 Dec 2006 19:52:46 +0000 (19:52 +0000)] 
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/branches/1.4@49024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBackport support for read/write locks.
Joshua Colp [Thu, 28 Dec 2006 19:43:15 +0000 (19:43 +0000)] 
Backport support for read/write locks.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49022 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoremoved <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame...
Steve Murphy [Thu, 28 Dec 2006 19:21:56 +0000 (19:21 +0000)] 
removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoast_copy_string is not available when LOW_MEMORY is used and things are being built...
Joshua Colp [Wed, 27 Dec 2006 22:28:46 +0000 (22:28 +0000)] 
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/branches/1.4@49009 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agosince these variables all have static duration, none of them need initializers (they...
Kevin P. Fleming [Wed, 27 Dec 2006 22:06:56 +0000 (22:06 +0000)] 
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/branches/1.4@49006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agomove extern declaration for this option to a header file where it belongs
Kevin P. Fleming [Wed, 27 Dec 2006 21:08:30 +0000 (21:08 +0000)] 
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/branches/1.4@48998 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoOnly include acl.h and lock.h once
Olle Johansson [Wed, 27 Dec 2006 21:06:48 +0000 (21:06 +0000)] 
Only include acl.h and lock.h once

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48997 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoOnly set rfc2833compensate flag once (handle_common_options)
Olle Johansson [Wed, 27 Dec 2006 20:27:59 +0000 (20:27 +0000)] 
Only set rfc2833compensate flag once (handle_common_options)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48995 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago- Remove checking for T38 options twice. Keeping them in handle_common_options
Olle Johansson [Wed, 27 Dec 2006 20:24:03 +0000 (20:24 +0000)] 
- Remove checking for T38 options twice. Keeping them in handle_common_options

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48993 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agomake the option actually match the documentation
Kevin P. Fleming [Wed, 27 Dec 2006 18:33:22 +0000 (18:33 +0000)] 
make the option actually match the documentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoallow 'show memory' and 'show memory summary' to distinguish memory allocations that...
Kevin P. Fleming [Wed, 27 Dec 2006 18:29:13 +0000 (18:29 +0000)] 
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/branches/1.4@48987 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBe a bit more politically correct
Olle Johansson [Wed, 27 Dec 2006 17:59:53 +0000 (17:59 +0000)] 
Be a bit more politically correct

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #8575 - Buggy cisco MWI support.
Olle Johansson [Wed, 27 Dec 2006 16:49:45 +0000 (16:49 +0000)] 
Issue #8575 - Buggy cisco MWI support.

Normally we try not to change our software for bugs in other devices. But in
this case, the Cisco phones are so widespread so we try to implement a fix while
waiting for a bugfix from Cisco.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago- Make sure handle_common_options return 1 when we found a common option
Olle Johansson [Wed, 27 Dec 2006 16:31:55 +0000 (16:31 +0000)] 
- Make sure handle_common_options return 1 when we found a common option
- Move uncommon (only global) option away from handle_common_options
Reported by rizzo. Thanks!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48980 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 8599 (rizzo) Change invitestate before re-sending invite with auth.
Olle Johansson [Wed, 27 Dec 2006 16:12:21 +0000 (16:12 +0000)] 
Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48977 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix bogus content-length in t38 sdp. (rizzo, #8600)
Olle Johansson [Wed, 27 Dec 2006 15:58:13 +0000 (15:58 +0000)] 
Fix bogus content-length in t38 sdp. (rizzo, #8600)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48975 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoGet rid of a needless memory allocation and only create a conference structure in...
Joshua Colp [Tue, 26 Dec 2006 05:20:08 +0000 (05:20 +0000)] 
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/branches/1.4@48966 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd an API call that initializes an RTP structure. We need this because chan_sip...
Joshua Colp [Tue, 26 Dec 2006 04:31:58 +0000 (04:31 +0000)] 
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/branches/1.4@48964 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoClean up autoconf file (gets rid of warnings seen when rebuilding configure) and...
Joshua Colp [Mon, 25 Dec 2006 17:04:48 +0000 (17:04 +0000)] 
Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48960 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48955 via svnmerge from
Russell Bryant [Mon, 25 Dec 2006 05:21:20 +0000 (05:21 +0000)] 
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/branches/1.4@48956 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix a typo in an error message that indicated that the MGCP channel type could
Russell Bryant [Sun, 24 Dec 2006 21:19:37 +0000 (21:19 +0000)] 
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/branches/1.4@48948 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48943 via svnmerge from
Russell Bryant [Sun, 24 Dec 2006 07:25:38 +0000 (07:25 +0000)] 
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/branches/1.4@48944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48939 via svnmerge from
Russell Bryant [Sun, 24 Dec 2006 06:49:31 +0000 (06:49 +0000)] 
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/branches/1.4@48940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoImplement locking for the list of URI handlers to make it thread-safe.
Russell Bryant [Sat, 23 Dec 2006 20:22:52 +0000 (20:22 +0000)] 
Implement locking for the list of URI handlers to make it thread-safe.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMinor fixes for Solaris.
Jason Parker [Fri, 22 Dec 2006 22:33:46 +0000 (22:33 +0000)] 
Minor fixes for Solaris.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48906 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoNote to self: Run make before committing...
Jason Parker [Fri, 22 Dec 2006 21:40:20 +0000 (21:40 +0000)] 
Note to self: Run make before committing...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix for issue 7774 - patch by alamantia
Jason Parker [Fri, 22 Dec 2006 20:43:05 +0000 (20:43 +0000)] 
Fix for issue 7774 - patch by alamantia

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48870 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48782 via svnmerge from
Joshua Colp [Thu, 21 Dec 2006 20:26:29 +0000 (20:26 +0000)] 
Merged revisions 48782 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48782 | file | 2006-12-21 15:25:01 -0500 (Thu, 21 Dec 2006) | 2 lines

Add new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_palma_aste)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48783 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agovms doesn't exist on non-IMAP storage builds.
Joshua Colp [Wed, 20 Dec 2006 02:56:09 +0000 (02:56 +0000)] 
vms doesn't exist on non-IMAP storage builds.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoPass 'vms' pointer to record_and_review so it is then passed to the IMAP store file...
Joshua Colp [Tue, 19 Dec 2006 23:04:30 +0000 (23:04 +0000)] 
Pass 'vms' pointer to record_and_review so it is then passed to the IMAP store file function. (issue #8614 reported by punknow)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48596 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agofind is not the same as bind when it comes to documentation. (issue #8626 reported...
Joshua Colp [Tue, 19 Dec 2006 22:00:57 +0000 (22:00 +0000)] 
find is not the same as bind when it comes to documentation. (issue #8626 reported by johann8384)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agosuppress compiler warnings in this module until it can be improved
Kevin P. Fleming [Tue, 19 Dec 2006 21:28:04 +0000 (21:28 +0000)] 
suppress compiler warnings in this module until it can be improved

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48586 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48584 via svnmerge from
Joshua Colp [Tue, 19 Dec 2006 21:12:07 +0000 (21:12 +0000)] 
Merged revisions 48584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2 lines

Free localuser structure when we fail to dial (issue #8612 reported by rizzo)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agofix a bogus datalen in the frames generated by app_sms
Luigi Rizzo [Tue, 19 Dec 2006 21:03:02 +0000 (21:03 +0000)] 
fix a bogus datalen in the frames generated by app_sms
(causing noisy output if you listen to the output!)

This affects trunk as well, whereas 1.2 is ok.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48583 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agouse the proper variable type for these unixODBC API calls, eliminating warnings on...
Kevin P. Fleming [Tue, 19 Dec 2006 14:57:09 +0000 (14:57 +0000)] 
use the proper variable type for these unixODBC API calls, eliminating warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse env -i to start a fresh environment when going to build menuselect. This is more...
Joshua Colp [Tue, 19 Dec 2006 03:46:12 +0000 (03:46 +0000)] 
Use env -i to start a fresh environment when going to build menuselect. This is more portable then using unset. (issue #8543 reported by jtodd)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48571 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agounbreak the macro used for incrementing the frame counters.
Luigi Rizzo [Mon, 18 Dec 2006 17:23:29 +0000 (17:23 +0000)] 
unbreak the macro used for incrementing the frame counters.

I don't know when the bug was introduced, but with the typical usage

c->fin = FRAMECOUNT_INC(c->fin)

the frame counters stay to 0.

affects trunk as well (fix coming).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48566 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoPut thread into proper list if we abort handling due to an error, and also hold the...
Joshua Colp [Mon, 18 Dec 2006 17:15:49 +0000 (17:15 +0000)] 
Put thread into proper list if we abort handling due to an error, and also hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48564 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoctrl-w != w (nano search)
Jason Parker [Mon, 18 Dec 2006 16:55:46 +0000 (16:55 +0000)] 
ctrl-w != w  (nano search)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48561 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoremove some now-unnecessary explicit includes of autoconfig.h
Kevin P. Fleming [Mon, 18 Dec 2006 11:59:24 +0000 (11:59 +0000)] 
remove some now-unnecessary explicit includes of autoconfig.h
clean up per-file dependencies during 'make clean'

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48554 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoneed an additional argument here to make the downloads actually occur
Kevin P. Fleming [Sun, 17 Dec 2006 18:33:24 +0000 (18:33 +0000)] 
need an additional argument here to make the downloads actually occur

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agouse m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have...
Kevin P. Fleming [Sat, 16 Dec 2006 21:34:41 +0000 (21:34 +0000)] 
use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48528 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agosimplify dependency tracking system, using the compiler's built-in method for generat...
Kevin P. Fleming [Sat, 16 Dec 2006 21:14:34 +0000 (21:14 +0000)] 
simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48525 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agosince we really, really have to have autoconfig.h included before all other headers...
Kevin P. Fleming [Sat, 16 Dec 2006 20:12:41 +0000 (20:12 +0000)] 
since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48521 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoinstead of initializing the curl library every time the CURL() function is invoked...
Kevin P. Fleming [Sat, 16 Dec 2006 04:25:09 +0000 (04:25 +0000)] 
instead of initializing the curl library every time the CURL() function is invoked, do it only once per thread (this allows multiple calls to CURL() in the dialplan for a channel to run much more quickly, and also to re-use connections to the server) (thanks to JerJer for frequently complaining about this performance problem)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48513 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoTurn payload_lock into bridge_lock and make it encompass all RTP structure contents...
Joshua Colp [Fri, 15 Dec 2006 19:55:28 +0000 (19:55 +0000)] 
Turn payload_lock into bridge_lock and make it encompass all RTP structure contents that may relate to bridge information, including who we are bridged to.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48506 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoHold call structure lock in places where a qualify or peer action can destroy it.
Joshua Colp [Fri, 15 Dec 2006 19:38:51 +0000 (19:38 +0000)] 
Hold call structure lock in places where a qualify or peer action can destroy it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48504 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoLock network retransmission queue in all places that it is used.
Joshua Colp [Fri, 15 Dec 2006 19:24:15 +0000 (19:24 +0000)] 
Lock network retransmission queue in all places that it is used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoIssue #8592 - treat 504 as 503 (imported from 1.2)
Olle Johansson [Fri, 15 Dec 2006 10:55:41 +0000 (10:55 +0000)] 
Issue #8592 - treat 504 as 503 (imported from 1.2)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUpdate to latest IANA spec
Olle Johansson [Fri, 15 Dec 2006 10:18:04 +0000 (10:18 +0000)] 
Update to latest IANA spec

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48481 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse a wakeup variable so that we don't wait on IO indefinitely if packets need to...
Joshua Colp [Fri, 15 Dec 2006 06:28:05 +0000 (06:28 +0000)] 
Use a wakeup variable so that we don't wait on IO indefinitely if packets need to be retransmitted.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoPayload values on the RTP structure can change AFTER a bridge has started. This comes...
Joshua Colp [Thu, 14 Dec 2006 17:36:12 +0000 (17:36 +0000)] 
Payload values on the RTP structure can change AFTER a bridge has started. This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48472 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoRemove direct RTCP bridging. I've come to the conclusion that we should handle this...
Joshua Colp [Thu, 14 Dec 2006 03:33:30 +0000 (03:33 +0000)] 
Remove direct RTCP bridging. I've come to the conclusion that we should handle this through the core and not just forward it on. Should solve a few bugs.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48461 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoa block to keep 48434 out of 1.4; the code works fine here
Steve Murphy [Wed, 13 Dec 2006 04:31:12 +0000 (04:31 +0000)] 
a block to keep 48434 out of 1.4; the code works fine here

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48435 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agowhen making a release, we can always use wget and we can't run the configure script...
Kevin P. Fleming [Tue, 12 Dec 2006 23:18:14 +0000 (23:18 +0000)] 
when making a release, we can always use wget and we can't run the configure script to find that out...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoblock addition of silence files... not needed here
Kevin P. Fleming [Tue, 12 Dec 2006 05:18:11 +0000 (05:18 +0000)] 
block addition of silence files... not needed here

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48404 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse S_OR in my previous app_voicemail. This is the way it should have been done.
Joshua Colp [Tue, 12 Dec 2006 04:13:48 +0000 (04:13 +0000)] 
Use S_OR in my previous app_voicemail. This is the way it should have been done.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48401 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agonew sounds package with 100% more silence
Matt O'Gorman [Mon, 11 Dec 2006 23:02:10 +0000 (23:02 +0000)] 
new sounds package with 100% more silence

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48399 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48394 via svnmerge from
Matt O'Gorman [Mon, 11 Dec 2006 22:11:35 +0000 (22:11 +0000)] 
Merged revisions 48394 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r48394 | mogorman | 2006-12-11 15:55:43 -0600 (Mon, 11 Dec 2006) | 4 lines

app_externalivr needs a real silence file, and additional
changes to add silence files into core instead of extra
patch provided by bug 8177 with minor additions.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48396 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoReturn non-existant callerid handling to that which it was before. In 1.4 and trunk...
Joshua Colp [Mon, 11 Dec 2006 21:31:23 +0000 (21:31 +0000)] 
Return non-existant callerid handling to that which it was before. In 1.4 and trunk callerid can be allocated but not have any contents so we have to use ast_strlen_zero before passing it to the relevant functions. (issue #8567 reported by pabelanger)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoSTRFTIME() does not actually require an argument (issue 8540)
Tilghman Lesher [Mon, 11 Dec 2006 05:37:09 +0000 (05:37 +0000)] 
STRFTIME() does not actually require an argument (issue 8540)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerge in my latest RTP changes. Break out RTP and RTCP callback functions so they...
Joshua Colp [Mon, 11 Dec 2006 05:36:45 +0000 (05:36 +0000)] 
Merge in my latest RTP changes. Break out RTP and RTCP callback functions so they no longer share a common one.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48381 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse the correct API call to say a device state changed. (Yes, I'm a nub.)
Joshua Colp [Mon, 11 Dec 2006 05:30:01 +0000 (05:30 +0000)] 
Use the correct API call to say a device state changed. (Yes, I'm a nub.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoDon't access the conference structure after it has been freed.
Joshua Colp [Mon, 11 Dec 2006 04:57:38 +0000 (04:57 +0000)] 
Don't access the conference structure after it has been freed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48377 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48374 via svnmerge from
Tilghman Lesher [Mon, 11 Dec 2006 00:47:21 +0000 (00:47 +0000)] 
Merged revisions 48374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines

When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48375 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48371 via svnmerge from
Steve Murphy [Sun, 10 Dec 2006 03:04:18 +0000 (03:04 +0000)] 
Merged revisions 48371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line

This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUse locking when accessing the registrations list. This list is not actually
Russell Bryant [Sat, 9 Dec 2006 15:59:42 +0000 (15:59 +0000)] 
Use locking when accessing the registrations list.  This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible.  For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.

In passing, go ahead and convert this list to use the linked list macros.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48363 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoBlocked revisions 48361 via svnmerge
Russell Bryant [Sat, 9 Dec 2006 15:47:01 +0000 (15:47 +0000)] 
Blocked revisions 48361 via svnmerge

........
r48361 | russell | 2006-12-09 10:45:37 -0500 (Sat, 09 Dec 2006) | 6 lines

Use locking when accessing the registrations list.  This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible.  For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48356 via svnmerge from
Russell Bryant [Thu, 7 Dec 2006 18:17:28 +0000 (18:17 +0000)] 
Merged revisions 48356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48356 | russell | 2006-12-07 13:14:13 -0500 (Thu, 07 Dec 2006) | 3 lines

Ensure that the file position is not incremented beyond the total number of
files available for playback.  (issue #8539, ulogic)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48357 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoHere lies the fixes that killed bug 8423 -- OriginateSuccess and OriginateError incom...
Steve Murphy [Thu, 7 Dec 2006 15:33:32 +0000 (15:33 +0000)] 
Here lies the fixes that killed bug 8423 -- OriginateSuccess and OriginateError incomplete channel name. May it rest in peace.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48349 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoIssue #8258 - fix handling of 487 being retransmitted to Asterisk
Olle Johansson [Wed, 6 Dec 2006 16:25:06 +0000 (16:25 +0000)] 
Issue #8258 - fix handling of 487 being retransmitted to Asterisk

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48326 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48322 via svnmerge from
Russell Bryant [Wed, 6 Dec 2006 16:15:45 +0000 (16:15 +0000)] 
Merged revisions 48322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48322 | russell | 2006-12-06 11:05:54 -0500 (Wed, 06 Dec 2006) | 3 lines

Fix the name of the rtignoreregexpire option in the sample configuration file.
(issue #8526, arkadia)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48323 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoDon't send Contact on MESSAGE
Olle Johansson [Wed, 6 Dec 2006 12:27:43 +0000 (12:27 +0000)] 
Don't send Contact on MESSAGE

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48317 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoBlock patch from 1.2
Olle Johansson [Wed, 6 Dec 2006 12:17:31 +0000 (12:17 +0000)] 
Block patch from 1.2

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48316 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoRegenerate configure from Qwell's last commit.
Joshua Colp [Tue, 5 Dec 2006 20:45:28 +0000 (20:45 +0000)] 
Regenerate configure from Qwell's last commit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48281 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix curl version number testing to be much more friendly to non-bash shells.
Jason Parker [Tue, 5 Dec 2006 20:42:52 +0000 (20:42 +0000)] 
Fix curl version number testing to be much more friendly to non-bash shells.

Issue 8508, patch by me.  This *SHOULD* be POSIX compliant now..

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerging the invitestate-1.4 branch after successful testing.
Olle Johansson [Tue, 5 Dec 2006 17:29:43 +0000 (17:29 +0000)] 
Merging the invitestate-1.4 branch after successful testing.

Will check if I can solve this with less changes in 1.2.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoAdd missing s from another repository. (thanks jcmoore!)
Olle Johansson [Tue, 5 Dec 2006 15:59:05 +0000 (15:59 +0000)] 
Add missing s from another repository. (thanks jcmoore!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoUpdating sip.conf.sample with information about T38 not working
Olle Johansson [Tue, 5 Dec 2006 12:39:30 +0000 (12:39 +0000)] 
Updating sip.conf.sample with information about T38 not working
when chan_local or chan_agent is involved in the call.

I don't know how big a fix that would be to solve, but this is
the current state of affairs.

(Chan_sip currently checks if the other side of the bridge
has a SIP tech. We could/should implement another check,
possibly for udptl_write or some flag in the ast_channel
structure).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoOops, forgot to release the odbc handle
Tilghman Lesher [Tue, 5 Dec 2006 01:41:02 +0000 (01:41 +0000)] 
Oops, forgot to release the odbc handle

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoMerged revisions 48251 via svnmerge from
Tilghman Lesher [Tue, 5 Dec 2006 01:34:34 +0000 (01:34 +0000)] 
Merged revisions 48251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006) | 6 lines

If the recording in the database is too large, it will fail to retrieve with
an mmap error.  Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it).  Solution is to ask for the file in
smaller chunks.  (Bug 8385)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoFix an issue which didn't allow unavail/greet/busy/etc messages from being saved...
Jason Parker [Mon, 4 Dec 2006 21:48:41 +0000 (21:48 +0000)] 
Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48248 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoBlocked revisions 48246 via svnmerge
Jason Parker [Mon, 4 Dec 2006 21:23:11 +0000 (21:23 +0000)] 
Blocked revisions 48246 via svnmerge

........
r48246 | qwell | 2006-12-04 15:20:34 -0600 (Mon, 04 Dec 2006) | 7 lines

Revert change from 8016 - this breaks other stuff...  Needs further review.

Tip: When you've reported a bug about something and somebody has put up a
patch for it..  It's not a good idea to open a completely new bug and say that
something is broken because of the patch in the other bug - PLEASE mention
something in the bug where the patch was actually created.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoBlocked revisions 48236 via svnmerge
Jason Parker [Mon, 4 Dec 2006 19:08:18 +0000 (19:08 +0000)] 
Blocked revisions 48236 via svnmerge

........
r48236 | qwell | 2006-12-04 13:06:26 -0600 (Mon, 04 Dec 2006) | 4 lines

Fix an issue where a message isn't saved correctly when using ODBC storage and reviewing a message.

Issue 8016 - patch by sokhapkin.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48237 65c4cc65-6c06-0410-ace0-fbb531ad65f3

19 years agoBlocked revisions 48233 via svnmerge
Joshua Colp [Mon, 4 Dec 2006 18:16:31 +0000 (18:16 +0000)] 
Blocked revisions 48233 via svnmerge

........
r48233 | file | 2006-12-04 13:14:46 -0500 (Mon, 04 Dec 2006) | 2 lines

If the generic bridge tells us not to retry, and we have a frame to spit out then break the bridge. Props to markit in #asterisk-bugs for bringing this up.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48234 65c4cc65-6c06-0410-ace0-fbb531ad65f3