Commit Graph

10466 Commits

Author SHA1 Message Date
Russell Bryant
9aab046002 Merged revisions 53045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines

Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:32:08 +00:00
Russell Bryant
43e68cac9a Remove an extra \r\n from manager user events. (issue #8955, mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 18:18:25 +00:00
Russell Bryant
0bc7ef3b06 Merged revisions 53039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) | 3 lines

Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:45:05 +00:00
Russell Bryant
ad254da05d Only changed the paused status in an existing queue member if the paused
column exists.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:39:28 +00:00
Russell Bryant
8dc0a7778f Instead of always creating a realtime queue member as unpaused, read the
"paused" column and use that value for the paused status of the member.
(issue #8949, jmls)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:34:22 +00:00
Russell Bryant
d652806c48 Update init script for SuSE 10. (issue #8363, johnlange)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:38:42 +00:00
Russell Bryant
7669f073df Add documentation for using cdr_pgsql. (issue #8942, lters)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:30:34 +00:00
Russell Bryant
ff1ca74145 When we are checking for a system installed version of libgsm, we need to check
for gsm.h as well.  Furthermore, when checking for this header, it may be
located in a gsm/ sub directory, so check for that, as well.
(issue #8773)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:23:24 +00:00
Russell Bryant
248d86970d Blocked revisions 52954 via svnmerge
........
r52954 | russell | 2007-01-30 13:41:52 -0600 (Tue, 30 Jan 2007) | 4 lines

Don't print a message indicating that we don't know what to do with a proceeding
control frame in ast_request_and_dial().  We just need to ignore it.
(reported by JerJer on #asterisk-dev)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 19:43:59 +00:00
Russell Bryant
29b7393d84 Only set the DTMF flag on the rtp structure if the DTMF mode is actually
RFC2833, not just that it is not INFO.  This makes it get set for inband DTMF
as well, which is not valid.
(issue #8936)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 19:33:12 +00:00
Russell Bryant
083a9198ea Merged revisions 52903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines

The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 17:19:39 +00:00
Russell Bryant
073ecfb1d3 Blocked revisions 52857 via svnmerge
........
r52857 | russell | 2007-01-30 09:35:23 -0600 (Tue, 30 Jan 2007) | 5 lines

Comment out the parts in the Makefile that make codec_zap get built.  It will
not yet build against zaptel 1.2, so I am disabling it to prevent further bug
reports until it gets merged.
(issue #8940)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 15:36:36 +00:00
Joshua Colp
362abb9deb Drop the deprecated show commands since the original ones were changed back. (issue #8937 reported by PCadach)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 15:29:50 +00:00
Paul Cadach
a175571e39 Revert reprecation of h.323 gk cycle command from pre-1.4 version instead of duplicated h323 cycle gk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 08:46:31 +00:00
Paul Cadach
df64b9a98c Don't play with free()'d pointers
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 08:34:26 +00:00
Paul Cadach
01c6b626c0 Handle non-standard OpenH323/PWLib library names
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 08:33:22 +00:00
Russell Bryant
a46e6d74df Merged revisions 52762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52762 | russell | 2007-01-29 18:15:06 -0600 (Mon, 29 Jan 2007) | 5 lines

Fix the extraction of the timestamp from video frames.  It was using the
mapping for a mini-frame instead of a video-frame, which caused it to
get invalid data.
(issue #8795, mihai)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 00:15:50 +00:00
Joshua Colp
f92505eec1 Merged revisions 52716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan 2007) | 2 lines

Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 23:43:40 +00:00
Russell Bryant
4bc823f540 Add a missing quotation mark. This was pointed out by jcmoore on #asterisk-dev.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:58:09 +00:00
Russell Bryant
771be23a9c Remove a recursive lock of the manager session. This was pointed out by
zandbelt in issue #8711.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:55:41 +00:00
Tilghman Lesher
f7459d4687 Argument number correction
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:12:12 +00:00
Russell Bryant
108085ed2d ASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS.
(issue #8928, zandbelt)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:36:56 +00:00
Russell Bryant
06a3110ed8 Fix a problem with packet-to-packet bridging and DTMF mode translation. P2P
bridging can only be used when the DTMF modes don't match if the core is
monitoring DTMF in both directions.  Then, the core will handle the translation.
Otherwise, this bridging method can not be used.
(issue #8936)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:26:27 +00:00
Russell Bryant
ce753cf0d9 The session lock can not be held while calling action callbacks. If so, then
when the WaitEvent callback gets called, then no event can happen because the
session can't be locked by another thread.  Also, the session needs to be
locked in the HTTP callback when it reads out the output string.  This fixes
the deadlock reported in both 8711 and 8934.
Regarding issue 8711, there still may be an issue.  If there is a second action
requested before the processing of the first action is finished, there could
still be some corruption of the output string buffer used to build the result.
(issue #8711, #8934)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:39:20 +00:00
Joshua Colp
a4d3a2dbc9 Use ast_calloc instead of malloc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 18:59:41 +00:00
Steve Murphy
f2fab700c3 this is for 8778 (pt_BR backport to 1.4). It was committed to trunk via 7663. But it wasn't so much an enhancement as a fix for the bad language output for portuguese in Brazil, so, after a lot of prodding from patient Brazilians, here is the same fix for 1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:57:08 +00:00
Joshua Colp
e67ade2403 Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:33:19 +00:00
Russell Bryant
824bed6260 Clean up a few things in the last commit to the adaptive jitterbuffer code.
- Specifically indicate to the compiler that the "dropem" variable only
   needs one but.
 - Change formatting to conform to coding guidelines.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 16:54:27 +00:00
Jim Dixon
2132e4f865 Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now
it rejects any data over and above that size, and complains about it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 04:18:36 +00:00
Tilghman Lesher
21ede1662d Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-28 05:15:07 +00:00
Joshua Colp
47f9dd508a Merged revisions 52415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines

Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 02:13:41 +00:00
Joshua Colp
9c289fe01b Have the manager interface send back an "Already logged in" message instead of "Invalid/Unknown Command" when the client authenticates for a second time. (issue #8509 reported by pari)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 00:44:51 +00:00
Joshua Colp
6b462c95c9 Merged revisions 52360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r52360 | file | 2007-01-26 19:03:23 -0500 (Fri, 26 Jan 2007) | 2 lines

Make the last context entry read in the dominant one. (issue #8918 reported by pj)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 00:08:18 +00:00
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