Commit Graph

10244 Commits

Author SHA1 Message Date
Jason Parker
ef2f05a518 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
2006-12-22 20:43:05 +00:00
Joshua Colp
25f969b6eb 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
2006-12-21 20:26:29 +00:00
Joshua Colp
3a0a8b1908 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
2006-12-20 02:56:09 +00:00
Joshua Colp
695c04cff3 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
2006-12-19 23:04:30 +00:00
Joshua Colp
cdab7c62eb 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
2006-12-19 22:00:57 +00:00
Kevin P. Fleming
2703d88576 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
2006-12-19 21:28:04 +00:00
Joshua Colp
8d7bdfc607 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
2006-12-19 21:12:07 +00:00
Luigi Rizzo
0f325ae583 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
2006-12-19 21:03:02 +00:00
Kevin P. Fleming
8e900c7db7 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
2006-12-19 14:57:09 +00:00
Joshua Colp
14f57685be 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
2006-12-19 03:46:12 +00:00
Luigi Rizzo
f9e3c1ecb0 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
2006-12-18 17:23:29 +00:00
Joshua Colp
11e61ea68a 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
2006-12-18 17:15:49 +00:00
Jason Parker
e755759a58 ctrl-w != w (nano search)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 16:55:46 +00:00
Kevin P. Fleming
9a78e1f90e 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
2006-12-18 11:59:24 +00:00
Kevin P. Fleming
64800bdeab 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
2006-12-17 18:33:24 +00:00
Kevin P. Fleming
ee8ce744c3 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
2006-12-16 21:34:41 +00:00
Kevin P. Fleming
0509ca82b4 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
2006-12-16 21:14:34 +00:00
Kevin P. Fleming
be1b5dab06 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
2006-12-16 20:12:41 +00:00
Kevin P. Fleming
c2490f8e72 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
2006-12-16 04:25:09 +00:00
Joshua Colp
8df2c7228f 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
2006-12-15 19:55:28 +00:00
Joshua Colp
a0c21d30ac 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
2006-12-15 19:38:51 +00:00
Joshua Colp
195c66b4a1 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
2006-12-15 19:24:15 +00:00
Olle Johansson
c1f1cf48ac 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
2006-12-15 10:55:41 +00:00
Olle Johansson
a8fe77b95b Update to latest IANA spec
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 10:18:04 +00:00
Joshua Colp
3706ecbbc5 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
2006-12-15 06:28:05 +00:00
Joshua Colp
0995fb8aeb 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
2006-12-14 17:36:12 +00:00
Joshua Colp
87a03da072 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
2006-12-14 03:33:30 +00:00
Steve Murphy
898c9dd6fa 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
2006-12-13 04:31:12 +00:00
Kevin P. Fleming
c8e56895b8 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
2006-12-12 23:18:14 +00:00
Kevin P. Fleming
979b8eca80 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
2006-12-12 05:18:11 +00:00
Joshua Colp
9b8b64f08d 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
2006-12-12 04:13:48 +00:00
Matt O'Gorman
0a55018f77 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
2006-12-11 23:02:10 +00:00
Matt O'Gorman
d24fad5537 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
2006-12-11 22:11:35 +00:00
Joshua Colp
8832f97a1f 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
2006-12-11 21:31:23 +00:00
Tilghman Lesher
fda0dce406 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
2006-12-11 05:37:09 +00:00
Joshua Colp
c866263f50 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
2006-12-11 05:36:45 +00:00
Joshua Colp
50ee01ccda 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
2006-12-11 05:30:01 +00:00
Joshua Colp
08ab40c1bf 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
2006-12-11 04:57:38 +00:00
Tilghman Lesher
cb95f19c3f 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
2006-12-11 00:47:21 +00:00
Steve Murphy
f6cf1458ad 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
2006-12-10 03:04:18 +00:00
Russell Bryant
eeb415e8dd 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
2006-12-09 15:59:42 +00:00
Russell Bryant
0bcedc688d 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
2006-12-09 15:47:01 +00:00
Russell Bryant
34384acbc9 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
2006-12-07 18:17:28 +00:00
Steve Murphy
0ab411f2ed 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
2006-12-07 15:33:32 +00:00
Olle Johansson
28c36660c7 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
2006-12-06 16:25:06 +00:00
Russell Bryant
4ee818eb8f 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
2006-12-06 16:15:45 +00:00
Olle Johansson
0fe91149ae Don't send Contact on MESSAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 12:27:43 +00:00
Olle Johansson
2d755929aa Block patch from 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 12:17:31 +00:00
Joshua Colp
6fbb04459c 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
2006-12-05 20:45:28 +00:00
Jason Parker
7bad11f0b6 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
2006-12-05 20:42:52 +00:00