]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoAdd explanation of port= in combination with defaultip= (thanks jsmith)
Olle Johansson [Thu, 1 Feb 2007 16:35:12 +0000 (16:35 +0000)] 
Add explanation of port= in combination with defaultip= (thanks jsmith)

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

18 years agowe update the name on any first reply of our setup
Christian Richter [Thu, 1 Feb 2007 13:17:18 +0000 (13:17 +0000)] 
we update the name on any first reply of our setup

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

18 years agochan_h323 is very stable, so let it built by default
Paul Cadach [Thu, 1 Feb 2007 11:07:41 +0000 (11:07 +0000)] 
chan_h323 is very stable, so let it built by default

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

18 years agoWhen going on hold have the side that was put on hold reinvite back to Asterisk....
Joshua Colp [Thu, 1 Feb 2007 00:24:20 +0000 (00:24 +0000)] 
When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party.

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

18 years agoAdd more frame types to forward in the RTP bridge loops.
Joshua Colp [Thu, 1 Feb 2007 00:19:48 +0000 (00:19 +0000)] 
Add more frame types to forward in the RTP bridge loops.

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

18 years agoMerged revisions 53045 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 21:32:08 +0000 (21:32 +0000)] 
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

18 years agoRemove an extra \r\n from manager user events. (issue #8955, mnicholson)
Russell Bryant [Wed, 31 Jan 2007 18:18:25 +0000 (18:18 +0000)] 
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

18 years agoMerged revisions 53039 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 17:45:05 +0000 (17:45 +0000)] 
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

18 years agoOnly changed the paused status in an existing queue member if the paused
Russell Bryant [Wed, 31 Jan 2007 17:39:28 +0000 (17:39 +0000)] 
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

18 years agoInstead of always creating a realtime queue member as unpaused, read the
Russell Bryant [Wed, 31 Jan 2007 17:34:22 +0000 (17:34 +0000)] 
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

18 years agoUpdate init script for SuSE 10. (issue #8363, johnlange)
Russell Bryant [Tue, 30 Jan 2007 23:38:42 +0000 (23:38 +0000)] 
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

18 years agoAdd documentation for using cdr_pgsql. (issue #8942, lters)
Russell Bryant [Tue, 30 Jan 2007 23:30:34 +0000 (23:30 +0000)] 
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

18 years agoWhen we are checking for a system installed version of libgsm, we need to check
Russell Bryant [Tue, 30 Jan 2007 23:23:24 +0000 (23:23 +0000)] 
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

18 years agoBlocked revisions 52954 via svnmerge
Russell Bryant [Tue, 30 Jan 2007 19:43:59 +0000 (19:43 +0000)] 
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

18 years agoOnly set the DTMF flag on the rtp structure if the DTMF mode is actually
Russell Bryant [Tue, 30 Jan 2007 19:33:12 +0000 (19:33 +0000)] 
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

18 years agoMerged revisions 52903 via svnmerge from
Russell Bryant [Tue, 30 Jan 2007 17:19:39 +0000 (17:19 +0000)] 
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

18 years agoBlocked revisions 52857 via svnmerge
Russell Bryant [Tue, 30 Jan 2007 15:36:36 +0000 (15:36 +0000)] 
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

18 years agoDrop the deprecated show commands since the original ones were changed back. (issue...
Joshua Colp [Tue, 30 Jan 2007 15:29:50 +0000 (15:29 +0000)] 
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

18 years agoRevert reprecation of h.323 gk cycle command from pre-1.4 version instead of duplicat...
Paul Cadach [Tue, 30 Jan 2007 08:46:31 +0000 (08:46 +0000)] 
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

18 years agoDon't play with free()'d pointers
Paul Cadach [Tue, 30 Jan 2007 08:34:26 +0000 (08:34 +0000)] 
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

18 years agoHandle non-standard OpenH323/PWLib library names
Paul Cadach [Tue, 30 Jan 2007 08:33:22 +0000 (08:33 +0000)] 
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

18 years agoMerged revisions 52762 via svnmerge from
Russell Bryant [Tue, 30 Jan 2007 00:15:50 +0000 (00:15 +0000)] 
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

18 years agoMerged revisions 52716 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 23:43:40 +0000 (23:43 +0000)] 
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

18 years agoAdd a missing quotation mark. This was pointed out by jcmoore on #asterisk-dev.
Russell Bryant [Mon, 29 Jan 2007 22:58:09 +0000 (22:58 +0000)] 
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

18 years agoRemove a recursive lock of the manager session. This was pointed out by
Russell Bryant [Mon, 29 Jan 2007 22:55:41 +0000 (22:55 +0000)] 
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

18 years agoArgument number correction
Tilghman Lesher [Mon, 29 Jan 2007 22:12:12 +0000 (22:12 +0000)] 
Argument number correction

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

18 years agoASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS.
Russell Bryant [Mon, 29 Jan 2007 21:36:56 +0000 (21:36 +0000)] 
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

18 years agoFix a problem with packet-to-packet bridging and DTMF mode translation. P2P
Russell Bryant [Mon, 29 Jan 2007 21:26:27 +0000 (21:26 +0000)] 
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

18 years agoThe session lock can not be held while calling action callbacks. If so, then
Russell Bryant [Mon, 29 Jan 2007 20:39:20 +0000 (20:39 +0000)] 
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

18 years agoUse ast_calloc instead of malloc.
Joshua Colp [Mon, 29 Jan 2007 18:59:41 +0000 (18:59 +0000)] 
Use ast_calloc instead of malloc.

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

18 years agothis is for 8778 (pt_BR backport to 1.4). It was committed to trunk via 7663. But...
Steve Murphy [Mon, 29 Jan 2007 17:57:08 +0000 (17:57 +0000)] 
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

18 years agoSet quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
Joshua Colp [Mon, 29 Jan 2007 17:33:19 +0000 (17:33 +0000)] 
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

18 years agoClean up a few things in the last commit to the adaptive jitterbuffer code.
Russell Bryant [Mon, 29 Jan 2007 16:54:27 +0000 (16:54 +0000)] 
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

18 years agoFixed problem with jitterbuf, whereas it would not complain about, and
Jim Dixon [Mon, 29 Jan 2007 04:18:36 +0000 (04:18 +0000)] 
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

18 years agoSuggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via aster...
Tilghman Lesher [Sun, 28 Jan 2007 05:15:07 +0000 (05:15 +0000)] 
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

18 years agoMerged revisions 52415 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 02:13:41 +0000 (02:13 +0000)] 
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

18 years agoHave the manager interface send back an "Already logged in" message instead of "Inval...
Joshua Colp [Sat, 27 Jan 2007 00:44:51 +0000 (00:44 +0000)] 
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

18 years agoMerged revisions 52360 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 00:08:18 +0000 (00:08 +0000)] 
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

18 years agoFix core show file formats CLI command.
Joshua Colp [Fri, 26 Jan 2007 23:46:47 +0000 (23:46 +0000)] 
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

18 years agoMerged revisions 52264 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 19:18:33 +0000 (19:18 +0000)] 
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

18 years agoDrop out variables I accidentally put in.
Joshua Colp [Thu, 25 Jan 2007 17:49:39 +0000 (17:49 +0000)] 
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

18 years agoDecrement onHold count if we are hung up on and still on hold. (issue #8909 reported...
Joshua Colp [Thu, 25 Jan 2007 17:14:53 +0000 (17:14 +0000)] 
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

18 years agoMerged revisions 52162 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 01:51:35 +0000 (01:51 +0000)] 
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

18 years agoBy suggestion from kpfleming last week, change "vmpassword" to "vmsecret".
Russell Bryant [Thu, 25 Jan 2007 01:37:16 +0000 (01:37 +0000)] 
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

18 years agoRemove libnsl as a required lib for libiksemel to work. This change was
Russell Bryant [Thu, 25 Jan 2007 01:05:46 +0000 (01:05 +0000)] 
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

18 years agoBlocked revisions 52137 via svnmerge
Russell Bryant [Thu, 25 Jan 2007 00:41:30 +0000 (00:41 +0000)] 
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

18 years agoFix the formatting of doxygen comments to properly indicate that the comment
Russell Bryant [Wed, 24 Jan 2007 21:42:47 +0000 (21:42 +0000)] 
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

18 years agoMerged revisions 52002 via svnmerge from
Steve Murphy [Wed, 24 Jan 2007 18:26:22 +0000 (18:26 +0000)] 
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

18 years agoMerge in dialing API and the app_page that uses it. (issue #BE-118)
Joshua Colp [Wed, 24 Jan 2007 18:20:05 +0000 (18:20 +0000)] 
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

18 years agoFix changing channel formats when joint capability changes and there are no audio...
Joshua Colp [Wed, 24 Jan 2007 17:59:55 +0000 (17:59 +0000)] 
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

18 years agorebuild configure script to reflect last chan_h323 related changes.
Russell Bryant [Wed, 24 Jan 2007 17:14:11 +0000 (17:14 +0000)] 
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

18 years agoadded fix from #8899
Christian Richter [Wed, 24 Jan 2007 12:57:22 +0000 (12:57 +0000)] 
added fix from #8899

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

18 years agoMerged revisions 51966 via svnmerge from
Christian Richter [Wed, 24 Jan 2007 11:24:53 +0000 (11:24 +0000)] 
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

18 years agoShow capabilities *and* preference in general settings in "sip show settings"
Olle Johansson [Wed, 24 Jan 2007 09:30:21 +0000 (09:30 +0000)] 
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

18 years agoAllow x64 builds of H.323 (please, rebuild configure)
Paul Cadach [Wed, 24 Jan 2007 08:04:59 +0000 (08:04 +0000)] 
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

18 years agoMerged revisions 51843 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 00:59:58 +0000 (00:59 +0000)] 
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

18 years agoMerged revisions 51828 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 00:19:55 +0000 (00:19 +0000)] 
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

18 years agoUpdate channel drivers to use module referencing so that unloading them while in...
Joshua Colp [Tue, 23 Jan 2007 22:46:31 +0000 (22:46 +0000)] 
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

18 years agoFix some bugs in process_message(). The manager session lock needs to be held
Russell Bryant [Tue, 23 Jan 2007 22:04:01 +0000 (22:04 +0000)] 
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

18 years agoFix setting the default port of 8088 on 64-bit or big-endian machines.
Russell Bryant [Tue, 23 Jan 2007 21:52:52 +0000 (21:52 +0000)] 
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

18 years agoWhen traversing the list of manager actions, the iterator needs to be
Russell Bryant [Tue, 23 Jan 2007 21:33:15 +0000 (21:33 +0000)] 
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

18 years agothis mod from 8593 (dstchannel in cdr is empty when transfer call).
Steve Murphy [Tue, 23 Jan 2007 20:32:54 +0000 (20:32 +0000)] 
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

18 years agovia 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggest...
Steve Murphy [Tue, 23 Jan 2007 18:58:27 +0000 (18:58 +0000)] 
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

18 years agoMerged revisions 50495,50506 via svnmerge from
Christian Richter [Tue, 23 Jan 2007 10:28:54 +0000 (10:28 +0000)] 
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

18 years agomanually merged r49922 and r50335, because of conflicts. this commint includes additi...
Christian Richter [Tue, 23 Jan 2007 10:05:54 +0000 (10:05 +0000)] 
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

18 years agoDo not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
Paul Cadach [Tue, 23 Jan 2007 06:51:51 +0000 (06:51 +0000)] 
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

18 years agoOnly change audio formats on the channel if we have an audio format to change to...
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

18 years agoMerged revisions 51512 via svnmerge from
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

18 years agoBlocked revisions 51410 via svnmerge
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

18 years agoThis fixes 8836, according to dnatural
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

18 years agoMerged revisions 51406 via svnmerge from
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

18 years agoBlocked revisions 51359 via svnmerge
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

18 years agoFix Italian numeral support in say.conf for "_[2-9]00" case.
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

18 years agoFix German language support in say.conf
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

18 years agoRemove an unused instance of an unnamed enum.
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

18 years agoRemove another duplicated definition
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

18 years agoRemove a variable that was declared twice.
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

18 years agoAdd a couple more processors that need optimizations excluded.
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

18 years agoFix VLDTMF support in chan_gtalk. AST_FRAME_DTMF and AST_FRAME_DTMF_END are
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

18 years agoBump the cleancount since my last commit changed the channel structure.
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

18 years agoMerge the changes from the /team/group/vldtmf_fixup branch.
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

18 years agoMerged revisions 51300 via svnmerge from
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

18 years agochan_zap compiles without libpri after committing 7877 patch
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

18 years agoMerged revisions 51271 via svnmerge from
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

18 years agoblock this patch since it is already here
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

18 years agoAdd some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
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

18 years agoEnsure that the locations given to the Asterisk configure script for ncurses,
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

18 years agoMerged revisions 51255 via svnmerge from
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

18 years agoOnly start timeout once we reach the end of the files to play back.
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

18 years agoFix an issue with file name completion in "module load" and "load".
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

18 years agoCopy MOH settings when calling a peer so that if they put someone on hold or get...
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

18 years agoFix an issue with deprecated commands
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

18 years agoMerged revisions 51235 via svnmerge from
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

18 years agoMake the "hasmanager" option in users.conf actually have an effect.
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

18 years agoBuild the IMAP remote directory string better and properly. Fix an issue with encodin...
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

18 years agoPass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)
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

18 years agoFix some instances where when loading func_odbc, a double-free could occur.
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

18 years agoInstead of dividing the offset by 2 directly, make it more clear that the
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

18 years agoMerged revisions 51197 via svnmerge from
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

18 years agoMerged revisions 51194 via svnmerge from
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