]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Joshua Colp [Tue, 23 Jan 2007 03:00:12 +0000 (03:00 +0000)]
Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51558
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 23 Jan 2007 01:45:04 +0000 (01:45 +0000)]
Merged revisions 51512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines
Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51513
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 22 Jan 2007 19:41:00 +0000 (19:41 +0000)]
Blocked revisions 51410 via svnmerge
........
r51410 | russell | 2007-01-22 13:39:30 -0600 (Mon, 22 Jan 2007) | 3 lines
Merge codec_zap support for the transcoder card. This is a standalone codec
module so it will not affect anything else.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51411
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 22 Jan 2007 19:28:51 +0000 (19:28 +0000)]
This fixes 8836, according to dnatural
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51409
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 22 Jan 2007 19:13:44 +0000 (19:13 +0000)]
Merged revisions 51406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines
Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51407
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 22 Jan 2007 16:28:11 +0000 (16:28 +0000)]
Blocked revisions 51359 via svnmerge
........
r51359 | file | 2007-01-22 11:23:03 -0500 (Mon, 22 Jan 2007) | 2 lines
Explicitly declare what codecs are supported by default globally since using a bitmask for all may include ones we don't need. (issue #8357 reported by gknispel_proformatique)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51360
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 20 Jan 2007 06:53:49 +0000 (06:53 +0000)]
Fix Italian numeral support in say.conf for "_[2-9]00" case.
"2131" would've translated to something along the lines of (pardon my..Italian {or lack thereof})
"duecentocentotrentuno", which makes no sense at all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51350
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 20 Jan 2007 06:16:06 +0000 (06:16 +0000)]
Fix German language support in say.conf
Properly support 21, 31, 41, 51, 61, 71, 81, and 91.
einundzwanzig has the same format as zweiundzwanzig (as do all other "_ZX" spoken numerals)
Fix support for numbers in the 10,000,000 to 99,999,999 range.
Add support for numbers in the 100,000,000 to 999,999,999 range.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51348
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 20 Jan 2007 00:13:06 +0000 (00:13 +0000)]
Remove an unused instance of an unnamed enum.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51343
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 22:19:10 +0000 (22:19 +0000)]
Remove another duplicated definition
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51341
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 21:20:20 +0000 (21:20 +0000)]
Remove a variable that was declared twice.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51339
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 19:30:54 +0000 (19:30 +0000)]
Add a couple more processors that need optimizations excluded.
(issue #8637)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51331
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 19:08:25 +0000 (19:08 +0000)]
Fix VLDTMF support in chan_gtalk. AST_FRAME_DTMF and AST_FRAME_DTMF_END are
actually the same thing. So, a digit would have been interpreted incorrectly
here. Since the channel driver will always have the begin and end callbacks
called for a digit, only support the button-down and button-up messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51328
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 19:02:55 +0000 (19:02 +0000)]
Bump the cleancount since my last commit changed the channel structure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51326
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 17:49:38 +0000 (17:49 +0000)]
Merge the changes from the /team/group/vldtmf_fixup branch.
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597, maybe others...)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51311
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 Jan 2007 16:56:17 +0000 (16:56 +0000)]
Merged revisions 51300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51300 | russell | 2007-01-19 10:44:09 -0600 (Fri, 19 Jan 2007) | 4 lines
Fix a memory leak on command line tab completion. The container for the
matches was freed, but the individual matches themselves were not.
(issue #8851, arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51302
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Fri, 19 Jan 2007 00:17:32 +0000 (00:17 +0000)]
chan_zap compiles without libpri after committing 7877 patch
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51274
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Thu, 18 Jan 2007 23:56:49 +0000 (23:56 +0000)]
Merged revisions 51271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007) | 3 lines
issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads. Reset configuration variables to default values prior to parsing configuration file.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51272
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 18 Jan 2007 23:36:51 +0000 (23:36 +0000)]
block this patch since it is already here
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51270
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 18 Jan 2007 22:50:23 +0000 (22:50 +0000)]
Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
Issue 8832, patch(es) by tgrman
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51265
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 18 Jan 2007 21:54:23 +0000 (21:54 +0000)]
Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script. This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51262
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 18 Jan 2007 21:14:24 +0000 (21:14 +0000)]
Merged revisions 51255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18 Jan 2007) | 2 lines
If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51256
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 Jan 2007 19:17:34 +0000 (19:17 +0000)]
Only start timeout once we reach the end of the files to play back.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51251
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 18 Jan 2007 18:42:00 +0000 (18:42 +0000)]
Fix an issue with file name completion in "module load" and "load".
Issue 8846
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51245
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 Jan 2007 18:36:35 +0000 (18:36 +0000)]
Copy MOH settings when calling a peer so that if they put someone on hold or get put on hold themselves they get the right music class. (issue #8840 reported by mdu113)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51243
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 18 Jan 2007 18:28:29 +0000 (18:28 +0000)]
Fix an issue with deprecated commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51241
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 18 Jan 2007 17:49:41 +0000 (17:49 +0000)]
Merged revisions 51235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51235 | tilghman | 2007-01-18 11:42:17 -0600 (Thu, 18 Jan 2007) | 2 lines
Document all the fields, including the indication that "uniqueid" should not be renamed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51236
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 18 Jan 2007 17:18:43 +0000 (17:18 +0000)]
Make the "hasmanager" option in users.conf actually have an effect.
(issue #8740, LnxPrgr3)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51233
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 Jan 2007 00:48:55 +0000 (00:48 +0000)]
Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51213
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 Jan 2007 00:18:44 +0000 (00:18 +0000)]
Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51211
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 17 Jan 2007 23:31:11 +0000 (23:31 +0000)]
Fix some instances where when loading func_odbc, a double-free could occur.
Also, remove an unneeded error message. If the failure condition is
actually a memory allocation failure, a log message will already be
generated automatically.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51205
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 17 Jan 2007 22:09:52 +0000 (22:09 +0000)]
Instead of dividing the offset by 2 directly, make it more clear that the
offset is being scaled by the size of the elements in the buffer.
(Inspired by a discussing on the asterisk-dev list about this code)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51204
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 17 Jan 2007 21:18:35 +0000 (21:18 +0000)]
Merged revisions 51197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) | 3 lines
Move the check for a failure of ast_channel_alloc() to before locking the
pvt structure again. Otherwise, on a failure, this will cause a deadlock.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51198
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 17 Jan 2007 20:56:15 +0000 (20:56 +0000)]
Merged revisions 51194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51194 | tilghman | 2007-01-17 14:52:21 -0600 (Wed, 17 Jan 2007) | 4 lines
When ast_strip_quoted was called with a zero-length string, it would treat a
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51195
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 17 Jan 2007 17:36:53 +0000 (17:36 +0000)]
re-add "password" for realtime voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51186
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 17 Jan 2007 06:36:41 +0000 (06:36 +0000)]
Return the correct result when directly writing out a packet so that the core doesn't then decide to handle it the regular way again. (issue #8833 reported by rcourtna)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51182
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 17 Jan 2007 01:29:12 +0000 (01:29 +0000)]
a few more coding style cleanups and one bug fix (from AnthonyL)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51176
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 17 Jan 2007 00:46:29 +0000 (00:46 +0000)]
Move rescheduling of lagrq/pings into the scheduler callback.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51172
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 17 Jan 2007 00:20:56 +0000 (00:20 +0000)]
Fix issue with dtmf continuation packets when the dtmf digit is 0...
Issue 8831
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51170
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 16 Jan 2007 22:50:19 +0000 (22:50 +0000)]
Fix an issue with IMAP storage and realtime voicemail.
Also update the vmdb sql script for IMAP specific options.
Issue 8819, initial patches by bsmithurst (slightly modified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51167
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 16 Jan 2007 22:07:53 +0000 (22:07 +0000)]
change documentation to reflect new procedure in 1.4/trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51165
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 16 Jan 2007 21:51:15 +0000 (21:51 +0000)]
Merged revisions 51161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51161 | tilghman | 2007-01-16 15:50:04 -0600 (Tue, 16 Jan 2007) | 2 lines
Add documentation walkthrough on getting Postgres to work with voicemail (from Issue 8513)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51162
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 16 Jan 2007 21:28:39 +0000 (21:28 +0000)]
Merged revisions 51158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51159
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 16 Jan 2007 17:46:12 +0000 (17:46 +0000)]
minor things i missed before i get jumped on
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51150
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 16 Jan 2007 17:39:50 +0000 (17:39 +0000)]
Merged revisions 51145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51145 | file | 2007-01-16 12:36:50 -0500 (Tue, 16 Jan 2007) | 2 lines
Return previous behavior. ParkedCalls will be able to do DTMF based transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51148
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 16 Jan 2007 17:36:53 +0000 (17:36 +0000)]
Display more useful output when streaming files.
Include the channel name to which the file is being played.
Issue 8828, patch by junky.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51146
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 16 Jan 2007 05:55:23 +0000 (05:55 +0000)]
Merged revisions 51085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51085 | file | 2007-01-16 00:53:31 -0500 (Tue, 16 Jan 2007) | 2 lines
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51087
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 16 Jan 2007 01:15:44 +0000 (01:15 +0000)]
It is possible for the config pointer to be NULL here, so it needs to be
checked before dereferencing it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51057
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 16 Jan 2007 00:22:09 +0000 (00:22 +0000)]
Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51030
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 15 Jan 2007 23:49:48 +0000 (23:49 +0000)]
Filter out a few CFLAGS that are not valid CXXFLAGS.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50994
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 15 Jan 2007 23:10:08 +0000 (23:10 +0000)]
Blocked revisions 50987 via svnmerge
........
r50987 | tilghman | 2007-01-15 17:09:02 -0600 (Mon, 15 Jan 2007) | 2 lines
Check return value before dereferencing (Bug 8822)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50988
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 15 Jan 2007 21:08:07 +0000 (21:08 +0000)]
Merged revisions 50946 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines
Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50957
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 15 Jan 2007 18:23:21 +0000 (18:23 +0000)]
re-add deprecated "show version" CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50921
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 15 Jan 2007 16:36:07 +0000 (16:36 +0000)]
Move event processing into do_message so that it gets executed again when events are tripped.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50895
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 15 Jan 2007 15:03:06 +0000 (15:03 +0000)]
use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50867
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 14 Jan 2007 21:59:05 +0000 (21:59 +0000)]
Add missing newlines for two memory CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50820
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 14 Jan 2007 05:13:47 +0000 (05:13 +0000)]
Merged revisions 50781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50781 | tilghman | 2007-01-13 23:01:16 -0600 (Sat, 13 Jan 2007) | 2 lines
Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50782
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 13 Jan 2007 16:45:37 +0000 (16:45 +0000)]
when building the sample greetings for maibox 1234@default during 'make samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50754
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 13 Jan 2007 06:00:24 +0000 (06:00 +0000)]
Only write a frame out to the channel if one exists. There are cases where one may not and would therefore cause the channel driver to segfault. (issue #8434 reported by slimey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50727
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 13 Jan 2007 03:04:55 +0000 (03:04 +0000)]
Only join the snmp thread on an unload if the thread is actually running. (issue #8810 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50674
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 12 Jan 2007 19:24:40 +0000 (19:24 +0000)]
Update documentation to state that you shouldn't use realtime static with voicemail.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50647
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 12 Jan 2007 16:42:33 +0000 (16:42 +0000)]
We need to check for res being 0 in do_message itself, otherwise our headers will get lost.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50602
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 12 Jan 2007 14:42:24 +0000 (14:42 +0000)]
Merged revisions 50561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007) | 2 lines
minor documentation clarification
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50562
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 11 Jan 2007 05:53:09 +0000 (05:53 +0000)]
Remove check for channel state as it can definitely be something other then ring, and also clean up the code a bit. This should solve the parking issues and maybe some attended transfer issues people have been seeing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50468
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 11 Jan 2007 05:19:39 +0000 (05:19 +0000)]
Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50466
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 10 Jan 2007 20:25:44 +0000 (20:25 +0000)]
Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50433
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 10 Jan 2007 19:46:29 +0000 (19:46 +0000)]
Fix parsing when using something like ldap settings. (done by anthonyl)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50405
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 10 Jan 2007 18:32:29 +0000 (18:32 +0000)]
Fix chan_sip not working issue. Let's not prematurely return 0. (issue #8783 reported by st41ker)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50377
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 10 Jan 2007 16:45:36 +0000 (16:45 +0000)]
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
Issue 8777
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50346
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 10 Jan 2007 04:55:13 +0000 (04:55 +0000)]
Merged revisions 50295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines
Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50298
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 10 Jan 2007 03:51:29 +0000 (03:51 +0000)]
Ensure data's existence before trying to access it. (issue #8774 reported by rcourtna)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50266
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 Jan 2007 02:17:46 +0000 (02:17 +0000)]
Merged revisions 50227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines
Make the number that represents the major version number a single digit instead
of 2. Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50228
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 9 Jan 2007 17:11:53 +0000 (17:11 +0000)]
Re-add CLI command that should have only been deprecated in 1.4.
Thanks kshumard! (reported in person, so no associated issue #)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50186
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 9 Jan 2007 13:40:45 +0000 (13:40 +0000)]
Merged revisions 50150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines
The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50151
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 9 Jan 2007 11:25:20 +0000 (11:25 +0000)]
- handle re-invites properly in sip_hangup()
- Add some invitestate status changes just to be sure
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50124
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 8 Jan 2007 23:39:12 +0000 (23:39 +0000)]
Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
Issue 8761, reported by and patch suggestion from ssokol.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50098
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 8 Jan 2007 21:11:16 +0000 (21:11 +0000)]
we can't unlock a channel if we cant find it. - AnthonyL bug #8741
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50073
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 8 Jan 2007 18:21:31 +0000 (18:21 +0000)]
Disable the more intense packet2packet bridging until the bugs can be worked out.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50032
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 8 Jan 2007 14:26:14 +0000 (14:26 +0000)]
Issue #8677 - Handle failure of T.38 re-invite
This is not a fix, but adding an error message to tell the admin that
we have a bad configuration. We should not send T.38 re-invites to devices
that can't handle it (with the current architecture where you have to
hard-code t.38 support per device).
To really fix this, we need to figure out a way to tell the incoming
call that the re-invite failed, so we can signal failure on that
end and go back to the original call.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@50006
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 8 Jan 2007 13:28:18 +0000 (13:28 +0000)]
Issue #8524, support multiple via header values (tardieu)
Thanks!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49983
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 8 Jan 2007 09:08:10 +0000 (09:08 +0000)]
We only need one forward declaration
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49945
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 8 Jan 2007 08:55:03 +0000 (08:55 +0000)]
Issue 8735: Terminate state when extension is unavailable for subscription
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49925
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 8 Jan 2007 05:11:54 +0000 (05:11 +0000)]
Merged revisions 49889 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2 lines
Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49890
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 8 Jan 2007 03:53:53 +0000 (03:53 +0000)]
since we use AC_PATH_TOOL to find tools, we should use the results it provides for us (reported by Brian Capouch on the asterisk-dev list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49866
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 7 Jan 2007 21:44:52 +0000 (21:44 +0000)]
Merged revisions 49833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines
If openstream fails, then we crash (Issue 8564)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49834
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 7 Jan 2007 21:24:04 +0000 (21:24 +0000)]
Second condition was a subset of the first, so hold was never decremented, thus hint stayed stuck (Issue 8747)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49831
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 6 Jan 2007 00:24:38 +0000 (00:24 +0000)]
Save 1 whopping byte of allocated memory!
This looks like it may have been a chicken/egg scenario..
You had to call a cleanup func, because everything was allocated.
Then since you had to call a cleanup func, you were forced to allocate - ie; strdup("").
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49742
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 23:51:31 +0000 (23:51 +0000)]
one more time...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49715
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 23:49:52 +0000 (23:49 +0000)]
proper fix for r49712
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49714
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 23:40:29 +0000 (23:40 +0000)]
if --with-foo=<path> is specific for a configure option, ensure that it is used for header file checking as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49712
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 23:31:38 +0000 (23:31 +0000)]
ast_func_read() needs a writable copy of the function name to be passed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49710
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 5 Jan 2007 23:16:16 +0000 (23:16 +0000)]
Make codec_zap and chan_zap also depend on zaptel.
This fixes an issue (8727) with zaptel being in a different directory, using --with-zaptel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49705
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 22:52:37 +0000 (22:52 +0000)]
don't 'consume' the params list before we try to use it again
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49680
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 22:16:33 +0000 (22:16 +0000)]
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49676
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 5 Jan 2007 22:14:47 +0000 (22:14 +0000)]
Don't keep repeating the warning over and over when the end of the call is reached. (issue #8724 reported by xrg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49675
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 17:09:00 +0000 (17:09 +0000)]
Merged revisions 49635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007) | 2 lines
ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49636
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 5 Jan 2007 00:01:40 +0000 (00:01 +0000)]
revert the dynamic_list insertion change... that was not the right thing to do
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49600
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 4 Jan 2007 23:50:15 +0000 (23:50 +0000)]
create the IAX2 processing threads as background threads so they will use smaller stacks
when we create a dynamic thread, put it on the dynamic_list right away so we don't lose track of it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49581
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 4 Jan 2007 23:00:50 +0000 (23:00 +0000)]
It's possible for the iax2 pvt to disappear, so if it has... don't bother looking for dpentries.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49568
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 4 Jan 2007 22:51:01 +0000 (22:51 +0000)]
add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49553
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3