Commit Graph

10433 Commits

Author SHA1 Message Date
Joshua Colp
bc43c82f05 Fix core show file formats CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-26 23:46:47 +00:00
Joshua Colp
3b44625323 Merged revisions 52264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines

Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 19:18:33 +00:00
Joshua Colp
ed48c69f06 Drop out variables I accidentally put in.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 17:49:39 +00:00
Joshua Colp
6b08afd05d Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 17:14:53 +00:00
Joshua Colp
6124ace110 Merged revisions 52162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan 2007) | 2 lines

Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:51:35 +00:00
Russell Bryant
96beb30159 By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:37:16 +00:00
Russell Bryant
f18b0c34d8 Remove libnsl as a required lib for libiksemel to work. This change was
already made in the trunk.
(issue #8762)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:05:46 +00:00
Russell Bryant
408fa17f71 Blocked revisions 52137 via svnmerge
........
r52137 | russell | 2007-01-24 18:39:50 -0600 (Wed, 24 Jan 2007) | 3 lines

Fix a seg fault when running this application with no arguments from AGI.
(issue #8905, junky)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 00:41:30 +00:00
Russell Bryant
6abcb7ae23 Fix the formatting of doxygen comments to properly indicate that the comment
documents the previous entity, as opposed to the next one.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 21:42:47 +00:00
Steve Murphy
e3f9fded3a Merged revisions 52002 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1 line

updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:26:22 +00:00
Joshua Colp
8acccb9254 Merge in dialing API and the app_page that uses it. (issue #BE-118)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:20:05 +00:00
Joshua Colp
5ebd1ecf63 Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 17:59:55 +00:00
Russell Bryant
d772b80b6b rebuild configure script to reflect last chan_h323 related changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 17:14:11 +00:00
Christian Richter
9352eda642 added fix from #8899
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 12:57:22 +00:00
Christian Richter
6d2afb98b4 Merged revisions 51966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51966 | crichter | 2007-01-24 11:48:09 +0100 (Mi, 24 Jan 2007) | 1 line

fixed the busy problem (dialstatus was not busy when we called a busy extension)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 11:24:53 +00:00
Olle Johansson
a207a31a97 Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 09:30:21 +00:00
Paul Cadach
1b49688a74 Allow x64 builds of H.323 (please, rebuild configure)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 08:04:59 +00:00
Russell Bryant
9440d428a0 Merged revisions 51843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:59:58 +00:00
Russell Bryant
d7d0c10c21 Merged revisions 51828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines

Don't set a new value for the END_ variable on the channel before using the
old value.  If you do, it will lead to accessing a memory address that has
been free()'d.  (issue #8895, arkadia)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:19:55 +00:00
Joshua Colp
8f7ddbef0d Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51788 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:46:31 +00:00
Russell Bryant
2a37a53c57 Fix some bugs in process_message(). The manager session lock needs to be held
when sending some sort of response, or calling one of the manager action
callbacks.  This resolves an issue where people using the GUI would get random
crashes when they start clicking around a lot.
(issue #8711, reported and debugged by zandbelt)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:04:01 +00:00
Russell Bryant
86f8e0a527 Fix setting the default port of 8088 on 64-bit or big-endian machines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 21:52:52 +00:00
Russell Bryant
3d5e9fa43c When traversing the list of manager actions, the iterator needs to be
initialized to the list head *after* locking the list.  Also, lock the actions
list in one place it is being accessed where it was not being done.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 21:33:15 +00:00
Steve Murphy
be0c0cd6dd this mod from 8593 (dstchannel in cdr is empty when transfer call).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 20:32:54 +00:00
Steve Murphy
ec2c64c81b via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 18:58:27 +00:00
Christian Richter
e65aeb27b5 Merged revisions 50495,50506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r50495 | crichter | 2007-01-11 14:27:52 +0100 (Do, 11 Jan 2007) | 6 lines

* more additions to make the RESTART message work
* added fix for misdn_call to allow SETUPs with empty 
  extensions, replaced the strtok_r functions with strsep for that 
  (inspired by Sandro Cappellazzo, thanks)


........
r50506 | crichter | 2007-01-11 15:45:38 +0100 (Do, 11 Jan 2007) | 1 line

when we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as well.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 10:28:54 +00:00
Christian Richter
19fdc9b14e manually merged r49922 and r50335, because of conflicts. this commint includes addition of the ISDN RESTART Message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 10:05:54 +00:00
Paul Cadach
964d2d2e42 Do not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 06:51:51 +00:00
Joshua Colp
5a3acb0511 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
2007-01-23 03:00:12 +00:00
Joshua Colp
3290b0d37a 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
2007-01-23 01:45:04 +00:00
Russell Bryant
8f9f54811d 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
2007-01-22 19:41:00 +00:00
Steve Murphy
99ce040a80 This fixes 8836, according to dnatural
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:28:51 +00:00
Joshua Colp
c60c2b5ffc 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
2007-01-22 19:13:44 +00:00
Joshua Colp
fe68fe5802 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
2007-01-22 16:28:11 +00:00
Jason Parker
c9a898c665 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
2007-01-20 06:53:49 +00:00
Jason Parker
2e9e873c09 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
2007-01-20 06:16:06 +00:00
Russell Bryant
c41964cd78 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
2007-01-20 00:13:06 +00:00
Russell Bryant
c94df4db51 Remove another duplicated definition
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:19:10 +00:00
Russell Bryant
89285ade68 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
2007-01-19 21:20:20 +00:00
Russell Bryant
9bb2b196ce 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
2007-01-19 19:30:54 +00:00
Russell Bryant
0e37d936da 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
2007-01-19 19:08:25 +00:00
Russell Bryant
2767bad830 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
2007-01-19 19:02:55 +00:00
Russell Bryant
33235b40d6 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
2007-01-19 17:49:38 +00:00
Russell Bryant
879a71e921 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
2007-01-19 16:56:17 +00:00
Dwayne M. Hubbard
b62be97f7a 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
2007-01-19 00:17:32 +00:00
Dwayne M. Hubbard
a4317ce870 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
2007-01-18 23:56:49 +00:00
Kevin P. Fleming
aa18d74426 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
2007-01-18 23:36:51 +00:00
Jason Parker
76eb4e76dc 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
2007-01-18 22:50:23 +00:00
Russell Bryant
eedd121fbc 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
2007-01-18 21:54:23 +00:00
Tilghman Lesher
8d59d5173a 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
2007-01-18 21:14:24 +00:00