]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoMerged revisions 76653 via svnmerge from
Joshua Colp [Mon, 23 Jul 2007 18:29:48 +0000 (18:29 +0000)] 
Merged revisions 76653 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r76653 | file | 2007-07-23 15:28:13 -0300 (Mon, 23 Jul 2007) | 4 lines

(closes issue #5866)
Reported by: tyler
Do not force channel format changes when a generator is present. The generator may have changed the formats itself and changing them back would cause issues.

........

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

18 years agoDon't try to queue up hold/unhold frames on a non-existent channel.
Jason Parker [Mon, 23 Jul 2007 17:57:53 +0000 (17:57 +0000)] 
Don't try to queue up hold/unhold frames on a non-existent channel.

Issue 10276.

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

18 years agoAllow app_morsecode to build on PPC Linux by putting the value of the digit char...
Joshua Colp [Mon, 23 Jul 2007 17:48:51 +0000 (17:48 +0000)] 
Allow app_morsecode to build on PPC Linux by putting the value of the digit char in an int.

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

18 years agoMerged revisions 76560 via svnmerge from
Joshua Colp [Mon, 23 Jul 2007 14:34:21 +0000 (14:34 +0000)] 
Merged revisions 76560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r76560 | file | 2007-07-23 11:32:07 -0300 (Mon, 23 Jul 2007) | 6 lines

(closes issue #10236)
Reported by: homesick
Patches:
      rpid_1.4_75840.patch uploaded by homesick (license 91)
Accept Remote Party ID on guest calls.

........

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

18 years ago(closes issue #10268)
Joshua Colp [Mon, 23 Jul 2007 13:23:09 +0000 (13:23 +0000)] 
(closes issue #10268)
Reported by: mvanbaak
Patches:
      chan_skinny_openbsd.diff uploaded by mvanbaak (license 7)
Add another OS that has to use the Macros for byte ordering.

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

18 years agoUse a signed integer for storing the number of bytes in the packet read from
Russell Bryant [Mon, 23 Jul 2007 12:25:01 +0000 (12:25 +0000)] 
Use a signed integer for storing the number of bytes in the packet read from
the network.  Using an unsigned value here made it impossible to handle an
error returned from recvfrom().  Furthermore, in the case that recvfrom()
did return an error, this would cause a crash due to a heap overflow.
(closes issue #10265, reported by and fix suggested by timrobbins)

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

18 years agoBlocked revisions 76409 via svnmerge
Tilghman Lesher [Sun, 22 Jul 2007 21:42:01 +0000 (21:42 +0000)] 
Blocked revisions 76409 via svnmerge

........
r76409 | tilghman | 2007-07-22 16:39:55 -0500 (Sun, 22 Jul 2007) | 2 lines

We should not use C++ reserved words in API headers (closes issue #10266)

........

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

18 years agoMerged revisions 76226 via svnmerge from
Russell Bryant [Sat, 21 Jul 2007 02:02:54 +0000 (02:02 +0000)] 
Merged revisions 76226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r76226 | russell | 2007-07-20 21:01:46 -0500 (Fri, 20 Jul 2007) | 4 lines

Backport a fix for a memory leak that was fixed in trunk in reivision 76221
by rizzo.  The memory used for the localaddr list was not freed during a
configuration reload.

........

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

18 years agoThis patch from 10249 is worth applying! It prevents downloading sound files if they...
Steve Murphy [Fri, 20 Jul 2007 21:36:05 +0000 (21:36 +0000)] 
This patch from 10249 is worth applying! It prevents downloading sound files if they are already downloaded. Darn Practical, if you ask me

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

18 years agoAllow getting a call from an existing "sub" channel.
Jason Parker [Fri, 20 Jul 2007 21:03:57 +0000 (21:03 +0000)] 
Allow getting a call from an existing "sub" channel.

Cancel ringing if endpoint hangs up before answering.

Fixes were backported from trunk (there was apparently a bit of confusion during merge of a previous patch).
(closes issue #10241)

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

18 years agoEliminate a compiler warning with gcc 4.2 by constifying a char *
Jason Parker [Fri, 20 Jul 2007 20:54:10 +0000 (20:54 +0000)] 
Eliminate a compiler warning with gcc 4.2 by constifying a char *

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

18 years agoIt's possible for sub->owner to be NULL here if you cancel the call immediately after...
Jason Parker [Fri, 20 Jul 2007 20:32:55 +0000 (20:32 +0000)] 
It's possible for sub->owner to be NULL here if you cancel the call immediately after/during sending a digit.

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

18 years agoWhen using users.conf for the entries in the directory, if multiple users had the...
Mark Michelson [Fri, 20 Jul 2007 18:42:27 +0000 (18:42 +0000)] 
When using users.conf for the entries in the directory, if multiple users had the same last name, only the first user listed would be available
in the directory.

(closes issue #10200, reported by mrskippy, patched by me)

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

18 years agoUse the define that specifies the default length of an artificially created
Russell Bryant [Fri, 20 Jul 2007 18:22:24 +0000 (18:22 +0000)] 
Use the define that specifies the default length of an artificially created
DTMF digit in the ast_senddigit() function.  The define is set to 100ms by
default, which is the same thing that this function was using.  But, using
the define lets changes take effect in this case, as well as the others where
it was already used.

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

18 years agoMerged revisions 76080 via svnmerge from
Joshua Colp [Fri, 20 Jul 2007 17:20:09 +0000 (17:20 +0000)] 
Merged revisions 76080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r76080 | file | 2007-07-20 14:16:48 -0300 (Fri, 20 Jul 2007) | 6 lines

(closes issue #10247)
Reported by: fkasumovic
Patches:
      chan_sip.patch uploaded by fkasumovic (license #101)
Drop any peer realm authentication entries when reloading so multiple entries do not get added to the peer.

........

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

18 years ago(closes issue #10246)
Joshua Colp [Fri, 20 Jul 2007 17:10:17 +0000 (17:10 +0000)] 
(closes issue #10246)
Reported by: fkasumovic
Patches:
      res_conver.patch uploaded by fkasumovic (license #101)
Use the last occurance of . to find the extension, not the first occurance.

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

18 years agoMove makeannouncement variable declaration to proper place.
Joshua Colp [Fri, 20 Jul 2007 16:49:13 +0000 (16:49 +0000)] 
Move makeannouncement variable declaration to proper place.

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

18 years agoRemove some duplicate code.
Jason Parker [Thu, 19 Jul 2007 20:36:06 +0000 (20:36 +0000)] 
Remove some duplicate code.

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

18 years agoThe diff on this looks pretty big but all I did was remove a pointless if statement...
Mark Michelson [Thu, 19 Jul 2007 18:59:30 +0000 (18:59 +0000)] 
The diff on this looks pretty big but all I did was remove a pointless if statement (always evaluates true).

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

18 years agoChanges in handling return values of several functions in app_queue. This all started...
Mark Michelson [Thu, 19 Jul 2007 16:26:10 +0000 (16:26 +0000)] 
Changes in handling return values of several functions in app_queue. This all started as a fix for issue #10008
but now includes all of the following changes:

1. Simplifying the code to handle positive return values from ast API calls.
2. Removing the background_file function.
3. The fix for issue #10008

(closes issue #10008, reported and patched by dimas)

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

18 years agoMerged revisions 75927 via svnmerge from
Russell Bryant [Thu, 19 Jul 2007 15:53:15 +0000 (15:53 +0000)] 
Merged revisions 75927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75927 | russell | 2007-07-19 10:49:42 -0500 (Thu, 19 Jul 2007) | 6 lines

When processing full frames, take sequence number wraparound into account when
deciding whether or not we need to request retransmissions by sending a VNAK.
This code could cause VNAKs to be sent erroneously in some cases, and to not
be sent in other cases when it should have been.
(closes issue #10237, reported and patched by mihai)

........

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

18 years agoNeed to make sure we set milliseconds and timestamp - pointed out by the recent ast_...
Jason Parker [Wed, 18 Jul 2007 22:59:18 +0000 (22:59 +0000)] 
Need to make sure we set milliseconds and timestamp - pointed out by the recent ast_ time stuff from Tilghman

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

18 years agoMerged revisions 75757 via svnmerge from
Russell Bryant [Wed, 18 Jul 2007 21:09:46 +0000 (21:09 +0000)] 
Merged revisions 75757 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75757 | russell | 2007-07-18 16:09:13 -0500 (Wed, 18 Jul 2007) | 5 lines

When traversing the queue of frames for possible retransmission after
receiving a VNAK, handle sequence number wraparound so that all frames that
should be retransmitted actually do get retransmitted.
(issue #10227, reported and patched by mihai)

........

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

18 years agoMerged revisions 75748 via svnmerge from
Tilghman Lesher [Wed, 18 Jul 2007 20:40:18 +0000 (20:40 +0000)] 
Merged revisions 75748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75748 | tilghman | 2007-07-18 15:31:36 -0500 (Wed, 18 Jul 2007) | 2 lines

Store prior to copy (closes issue #10193)

........

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

18 years agoUmm, why are we transmitting dialtone on cfwdall?
Jason Parker [Wed, 18 Jul 2007 20:17:27 +0000 (20:17 +0000)] 
Umm, why are we transmitting dialtone on cfwdall?

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

18 years agoBackport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC...
Joshua Colp [Wed, 18 Jul 2007 20:00:23 +0000 (20:00 +0000)] 
Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.

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

18 years agoFixes for 7935/7936 conference phones.
Jason Parker [Wed, 18 Jul 2007 19:54:32 +0000 (19:54 +0000)] 
Fixes for 7935/7936 conference phones.

Issue 9245, patch by slimey.

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

18 years agoFix issues with new 79x1 phones.
Jason Parker [Wed, 18 Jul 2007 19:48:12 +0000 (19:48 +0000)] 
Fix issues with new 79x1 phones.

Issue 9887, patches by DEA

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

18 years agoMerged revisions 75657 via svnmerge from
Dwayne M. Hubbard [Wed, 18 Jul 2007 17:56:30 +0000 (17:56 +0000)] 
Merged revisions 75657 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75657 | dhubbard | 2007-07-18 12:48:33 -0500 (Wed, 18 Jul 2007) | 1 line

removed the word 'pissed' from ast_log(...) function call for BE-90
........

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

18 years agoFew more places that needs to check for onhold state.
Joshua Colp [Wed, 18 Jul 2007 15:44:02 +0000 (15:44 +0000)] 
Few more places that needs to check for onhold state.

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

18 years ago(closes issue #10165)
Joshua Colp [Wed, 18 Jul 2007 15:41:06 +0000 (15:41 +0000)] 
(closes issue #10165)
Reported by: elandivar

It is possible for hold status to exist without call limits set, so we need to ensure update_call_counter is executed regardless.

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

18 years agoDon't bother reloading chan_h323 if it did not load successfully in the first place...
Joshua Colp [Wed, 18 Jul 2007 15:25:45 +0000 (15:25 +0000)] 
Don't bother reloading chan_h323 if it did not load successfully in the first place. This would otherwise cause a crash.

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

18 years ago(closes issue #10224)
Joshua Colp [Wed, 18 Jul 2007 14:18:53 +0000 (14:18 +0000)] 
(closes issue #10224)
Reported by: irroot

Record the threadid of each running thread before shutting them down as the thread themselves may change the value.

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

18 years agoUsing a freed frame causes crashes (closes issue #9317)
Tilghman Lesher [Wed, 18 Jul 2007 12:29:41 +0000 (12:29 +0000)] 
Using a freed frame causes crashes (closes issue #9317)

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

18 years agoMerged revisions 75449 via svnmerge from
Russell Bryant [Tue, 17 Jul 2007 20:57:56 +0000 (20:57 +0000)] 
Merged revisions 75449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75449 | russell | 2007-07-17 15:57:09 -0500 (Tue, 17 Jul 2007) | 3 lines

Properly check for the length in the skinny packet to prevent an invalid memcpy.
(ASA-2007-016)

........

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

18 years agocast arguments to ast_log so that it builds without warnings for me
Russell Bryant [Tue, 17 Jul 2007 20:51:25 +0000 (20:51 +0000)] 
cast arguments to ast_log so that it builds without warnings for me

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

18 years agoMerged revisions 75444 via svnmerge from
Russell Bryant [Tue, 17 Jul 2007 20:48:21 +0000 (20:48 +0000)] 
Merged revisions 75444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75444 | russell | 2007-07-17 15:45:27 -0500 (Tue, 17 Jul 2007) | 5 lines

Ensure that when encoding the contents of an ast_frame into an iax_frame, that
the size of the destination buffer is known in the iax_frame so that code
won't write past the end of the allocated buffer when sending outgoing frames.
(ASA-2007-014)

........

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

18 years agoMerged revisions 75440 via svnmerge from
Russell Bryant [Tue, 17 Jul 2007 20:42:12 +0000 (20:42 +0000)] 
Merged revisions 75440 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75440 | russell | 2007-07-17 15:41:41 -0500 (Tue, 17 Jul 2007) | 4 lines

After parsing information elements in IAX frames, set the data length to zero,
so that code later on does not think it has data to copy.
(ASA-2007-015)

........

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

18 years agoEnsure that the pointer to STUN data does not go to unaccessible memory. (ASA-2007...
Joshua Colp [Tue, 17 Jul 2007 20:40:57 +0000 (20:40 +0000)] 
Ensure that the pointer to STUN data does not go to unaccessible memory. (ASA-2007-017)

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

18 years ago(issue #10210)
Russell Bryant [Tue, 17 Jul 2007 20:33:06 +0000 (20:33 +0000)] 
(issue #10210)
Reported by: juggie
Patches:
      10210-1.4-grr.patch uploaded by juggie (license #24)
Tested by: juggie, blitzrage

Log a warning if someone uses DeadAGI on a live channel.

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

18 years agoFixing an error I made earlier. ast_fileexists can return -1 on failure, so I need...
Mark Michelson [Tue, 17 Jul 2007 20:03:48 +0000 (20:03 +0000)] 
Fixing an error I made earlier. ast_fileexists can return -1 on failure, so I need to be sure that we only enter the if
statement if it is successful.

Related to my fix to issue #10186

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

18 years ago(closes issue #10209)
Russell Bryant [Tue, 17 Jul 2007 20:01:12 +0000 (20:01 +0000)] 
(closes issue #10209)
Reported by: juggie
Patches:
      10209-trunk-2.patch uploaded by juggie
Tested by: juggie, blitzrage

In ast_pbx_run(), mark a channel as hung up after an application returned -1,
or when it runs out of extensions to execute.  This is so that code can detect
that this channel has been hung up for things like making sure DeadAGI is used
on actual dead channels, and is beneficial for other things, like making sure
someone doesn't try to start spying on a channel that is about to go away.

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

18 years agoRemove a duplicated newline character in AGI debug output.
Russell Bryant [Tue, 17 Jul 2007 19:45:07 +0000 (19:45 +0000)] 
Remove a duplicated newline character in AGI debug output.
(closes issue #10207, patch by seanbright)

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

18 years agoMerged revisions 75304 via svnmerge from
Kevin P. Fleming [Mon, 16 Jul 2007 20:53:24 +0000 (20:53 +0000)] 
Merged revisions 75304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75304 | kpfleming | 2007-07-16 15:46:58 -0500 (Mon, 16 Jul 2007) | 3 lines

provide proper copyright/license attribution for this structure that was copied from a BSD-licensed header file long, long ago...

........

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

18 years agoanother fix that is not needed here (finishing up 75251)
Kevin P. Fleming [Mon, 16 Jul 2007 18:33:50 +0000 (18:33 +0000)] 
another fix that is not needed here (finishing up 75251)

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

18 years agoRestoring functionality from 1.2 wherein Retrydial will not exit if there is no annou...
Mark Michelson [Mon, 16 Jul 2007 18:16:15 +0000 (18:16 +0000)] 
Restoring functionality from 1.2 wherein Retrydial will not exit if there is no announce file specified.
This change makes it so that if there is no announce file specified, the application will continue until finished (or caller hangs up).
If a bogus announce file is specified, then a warning message will be printed saying that the file could not be found, but execution will
still continue.

(closes issue #10186, reported by jon, patched by me)

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

18 years agoblock change that is not relevant here
Kevin P. Fleming [Mon, 16 Jul 2007 18:12:31 +0000 (18:12 +0000)] 
block change that is not relevant here

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

18 years agoMerged revisions 75107 via svnmerge from
Russell Bryant [Fri, 13 Jul 2007 20:36:16 +0000 (20:36 +0000)] 
Merged revisions 75107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75107 | russell | 2007-07-13 15:35:22 -0500 (Fri, 13 Jul 2007) | 3 lines

Fix a couple potential minor memory leaks.  load_moh_classes() could return
without destroying the loaded configuration.

........

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

18 years agoMerged revisions 75066 via svnmerge from
Mark Michelson [Fri, 13 Jul 2007 20:15:30 +0000 (20:15 +0000)] 
Merged revisions 75066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75066 | mmichelson | 2007-07-13 15:10:39 -0500 (Fri, 13 Jul 2007) | 5 lines

Fixed an issue where chanspy flags were uninitialized if no options were passed.
What triggered this investigation was an IRC chat where some people's quiet flags were
set while others' weren't even though none of them had specified the q option.

........

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

18 years agoMerged revisions 75059 via svnmerge from
Russell Bryant [Fri, 13 Jul 2007 20:10:40 +0000 (20:10 +0000)] 
Merged revisions 75059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75059 | russell | 2007-07-13 15:07:21 -0500 (Fri, 13 Jul 2007) | 6 lines

Ensure that adding a user to the list of users of a specific music on hold
class is not done at the same time as any of the other operations on this list
to prevent list corruption.  Using the global moh_data lock for this is not
ideal, but it is what is used to protect these lists everywhere else in the
module, and I am only changing what is necessary to fix the bug.

........

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

18 years agoMerged revisions 75052 via svnmerge from
Russell Bryant [Fri, 13 Jul 2007 19:11:26 +0000 (19:11 +0000)] 
Merged revisions 75052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r75052 | russell | 2007-07-13 14:10:00 -0500 (Fri, 13 Jul 2007) | 12 lines

(closes issue #9660)
Reported by: mmacvicar
Patches submitted by: bbryant, russell
Tested by: mmacvicar, marco, arcivanov, jmhunter, explidous

When using a TDM400P (and probably other analog cards) there was a chance that
you could hang up and pick the phone back up where it has been long enough to
be not considered a flash hook, but too soon such that the device reports that
it is busy and the person on the phone will only hear silence.  This patch
makes chan_zap more tolerant of this and gives the device a couple of seconds
to succeed so the person on the phone happily gets their dialtone.

........

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

18 years agoChange to my previous fix regarding agent logoff soft. Now uses deferlogoff instead...
Mark Michelson [Thu, 12 Jul 2007 23:00:32 +0000 (23:00 +0000)] 
Change to my previous fix regarding agent logoff soft. Now uses deferlogoff instead of loginstart
since loginstart is used after logoff. Thanks to makoto for pointing this out and suggesting the fix.

(closes issue #10178, reported and patched by makoto, with modification by me)

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

18 years agoThis patch resolves 10143; thanks to irroot for the patch; looked acceptable. Let...
Steve Murphy [Thu, 12 Jul 2007 20:42:08 +0000 (20:42 +0000)] 
This patch resolves 10143; thanks to irroot for the patch; looked acceptable. Let the community decide if it messes things up

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

18 years agoWhoops... didn't want this to be returned to 0 each iteration.
Joshua Colp [Thu, 12 Jul 2007 19:17:59 +0000 (19:17 +0000)] 
Whoops... didn't want this to be returned to 0 each iteration.

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

18 years agoWhen waiting for a digit ensure that a begin frame was received with it, not just...
Joshua Colp [Thu, 12 Jul 2007 17:16:28 +0000 (17:16 +0000)] 
When waiting for a digit ensure that a begin frame was received with it, not just an end frame. (issue #10084 reported by rushowr)

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

18 years agoIt helps if I actually add this stuff for the 7921 too - otherwise it won't actually...
Jason Parker [Thu, 12 Jul 2007 16:53:35 +0000 (16:53 +0000)] 
It helps if I actually add this stuff for the 7921 too - otherwise it won't actually do much of anything.

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

18 years agoAdd device ID for 7921 wireless skinny phone
Jason Parker [Thu, 12 Jul 2007 16:48:49 +0000 (16:48 +0000)] 
Add device ID for 7921 wireless skinny phone

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

18 years agoFix dialing in skinny that was broken in some cases.
Jason Parker [Thu, 12 Jul 2007 16:16:59 +0000 (16:16 +0000)] 
Fix dialing in skinny that was broken in some cases.

Issue 10136, fix provided by DEA.

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

18 years agoMerged revisions 74814 via svnmerge from
Joshua Colp [Thu, 12 Jul 2007 15:53:55 +0000 (15:53 +0000)] 
Merged revisions 74814 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74814 | file | 2007-07-12 12:51:24 -0300 (Thu, 12 Jul 2007) | 2 lines

Only print out a warning for situations where it is actually helpful. (issue #10187 reported by denke)

........

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

18 years agoMerged revisions 74766 via svnmerge from
Russell Bryant [Wed, 11 Jul 2007 22:57:07 +0000 (22:57 +0000)] 
Merged revisions 74766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74766 | russell | 2007-07-11 17:53:26 -0500 (Wed, 11 Jul 2007) | 5 lines

The function make_trunk() can fail and return -1 instead of a valid new call
number.  Fix the uses of this function to handle this instead of treating it
as the new call number.  This would cause a deadlock and memory corruption.
(possible cause of issue #9614 and others, patch by me)

........

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

18 years agoMerged revisions 74719 via svnmerge from
Mark Michelson [Wed, 11 Jul 2007 21:14:09 +0000 (21:14 +0000)] 
Merged revisions 74719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74719 | mmichelson | 2007-07-11 16:12:30 -0500 (Wed, 11 Jul 2007) | 5 lines

The cli command "agent logoff Agent/x soft" did not work...at all. Now it does.

(closes issue #10178, reported and patched by makoto, with slight modification for 1.4 and trunk by me)

........

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

18 years agoMerged revisions 74656 via svnmerge from
Russell Bryant [Wed, 11 Jul 2007 18:34:51 +0000 (18:34 +0000)] 
Merged revisions 74656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74656 | russell | 2007-07-11 13:33:23 -0500 (Wed, 11 Jul 2007) | 4 lines

Make sure that the ESCAPE immediately follows the condition that uses LIKE.
This fixes realtime extensions with ODBC.
(closes issue #10175, reported by stuarth, patch by me)

........

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

18 years agoThis fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk
Steve Murphy [Wed, 11 Jul 2007 18:18:42 +0000 (18:18 +0000)] 
This fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk

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

18 years agofurther reversion of previously applied floating point stuff for expr2
Steve Murphy [Wed, 11 Jul 2007 18:11:44 +0000 (18:11 +0000)] 
further reversion of previously applied floating point stuff for expr2

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

18 years agoBlocked revisions 74587 via svnmerge
Joshua Colp [Wed, 11 Jul 2007 17:16:25 +0000 (17:16 +0000)] 
Blocked revisions 74587 via svnmerge

........
r74587 | file | 2007-07-11 14:15:11 -0300 (Wed, 11 Jul 2007) | 2 lines

Use some Makefile magic to determine if linux/compiler.h is present. (issue #10174 reported by francesco_r)

........

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

18 years agoInstead of figuring out kernel versions that have compiler.h and not... let's just...
Joshua Colp [Wed, 11 Jul 2007 17:03:08 +0000 (17:03 +0000)] 
Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)

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

18 years agoOnly check if we need to do a SIGMA based tone generation if we have a card. (issue...
Joshua Colp [Wed, 11 Jul 2007 14:09:13 +0000 (14:09 +0000)] 
Only check if we need to do a SIGMA based tone generation if we have a card. (issue #10179 reported by mikowhy)

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

18 years agoForwarding a message with IMAP storage was storing the message in the sender's box...
Mark Michelson [Tue, 10 Jul 2007 23:32:52 +0000 (23:32 +0000)] 
Forwarding a message with IMAP storage was storing the message in the sender's box instead of the forwarded mailbox.

(closes issue #10138, reported and patched by jaroth)

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

18 years agoMerged revisions 74427 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 19:58:53 +0000 (19:58 +0000)] 
Merged revisions 74427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6 lines

Fix an issue where it was possible to have a service level of over 100%
Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup.
Move both additions to the same place, so this won't happen.

Issue 10158, initial patch by makoto, modified by me.

........

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

18 years agoDon't use #if to check if something is defined - use #ifdef instead.
Jason Parker [Tue, 10 Jul 2007 19:10:36 +0000 (19:10 +0000)] 
Don't use #if to check if something is defined - use #ifdef instead.

Pointed out by kpfleming

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

18 years agoMerged revisions 74376 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 19:06:24 +0000 (19:06 +0000)] 
Merged revisions 74376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74376 | qwell | 2007-07-10 14:03:45 -0500 (Tue, 10 Jul 2007) | 4 lines

Fix an issue with wrapuptime not working when using AgentLogin.

Issue 10169, patch by makoto, with a minor mod by me to not re-break issue 9618

........

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

18 years agoMerged revisions 74373 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 18:39:30 +0000 (18:39 +0000)] 
Merged revisions 74373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines

Use res_ndestroy on systems that have it.  Otherwise, use res_nclose.
This prevents a memleak on NetBSD - and possibly others.

Issue 10133, patch by me, reported and tested by scw

........

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

18 years agofix an uninitialized variable
Russell Bryant [Tue, 10 Jul 2007 16:00:11 +0000 (16:00 +0000)] 
fix an uninitialized variable

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

18 years agoMerged revisions 74316 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 15:38:32 +0000 (15:38 +0000)] 
Merged revisions 74316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4 lines

Fix a small typo in description in of Voicemail() application.

Issue 10170, patch by casper.

........

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

18 years agoMerged revisions 74313 via svnmerge from
Russell Bryant [Tue, 10 Jul 2007 15:31:41 +0000 (15:31 +0000)] 
Merged revisions 74313 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74313 | russell | 2007-07-10 10:30:20 -0500 (Tue, 10 Jul 2007) | 3 lines

Only use ESCAPE when LIKE is used.
(issue #10075, this part reported by jmls on IRC, patch by me)

........

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

18 years agoMerged revisions 74264 via svnmerge from
Joshua Colp [Tue, 10 Jul 2007 14:50:00 +0000 (14:50 +0000)] 
Merged revisions 74264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74264 | file | 2007-07-10 11:48:00 -0300 (Tue, 10 Jul 2007) | 2 lines

Ensure the group information category exists before trying to do a string comparison with it. (issue #10171 reported by mlegas)

........

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

18 years agoOnly spit out an inringing warning message when it is applicable. Since call limits...
Joshua Colp [Tue, 10 Jul 2007 14:07:13 +0000 (14:07 +0000)] 
Only spit out an inringing warning message when it is applicable. Since call limits are already toast in realtime let's not scare the user if they are using it. (issue #10166 reported by bcnit)

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

18 years agoUpdate the configure script to check for a required function that is not present
Russell Bryant [Mon, 9 Jul 2007 21:31:30 +0000 (21:31 +0000)] 
Update the configure script to check for a required function that is not present
in the 1.2 version of libpri.  This will prevent the configure script from thinking
that it has compatible libpri support for Asterisk 1.4, when it actually does not
because the installed version is from 1.2.

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

18 years agoBlocked revisions 74165 via svnmerge
Russell Bryant [Mon, 9 Jul 2007 21:00:47 +0000 (21:00 +0000)] 
Blocked revisions 74165 via svnmerge

........
r74165 | russell | 2007-07-09 16:00:17 -0500 (Mon, 09 Jul 2007) | 4 lines

When the specified class isn't found, properly fall back to the channel's music
class or the default.
(issue #10123, reported by blitzrage, patches from juggie, qwell, and me)

........

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

18 years ago(closes issue #10123)
Russell Bryant [Mon, 9 Jul 2007 20:53:46 +0000 (20:53 +0000)] 
(closes issue #10123)
Reported by: blitzrage
Patches submitted by: juggie, qwell, me
Tested by: blitzrage

When trying to find a music on hold class to use, try all of the options,
instead of only the first one that is set.  Also, change the MusicOnHold
applications to not hang up on the channel when a class can not be found.

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

18 years agoMerged revisions 74158 via svnmerge from
Jason Parker [Mon, 9 Jul 2007 20:19:28 +0000 (20:19 +0000)] 
Merged revisions 74158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74158 | qwell | 2007-07-09 15:18:15 -0500 (Mon, 09 Jul 2007) | 8 lines

Several chan_zap options were not working on reload because they were arbitrarily
 disallowed when reloading some/most PRI options (such as signalling) was disallowed.

Options such as polarityonanswerdelay and answeronpolarityswitch can safely be changed on a reload.
This corrects that behavior.

Issue 9186, patch by tzafrir.

........

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

18 years agoForgot to get rid of an extraneous debug message.
Mark Michelson [Mon, 9 Jul 2007 18:38:28 +0000 (18:38 +0000)] 
Forgot to get rid of an extraneous debug message.

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

18 years agoThe n option for Queue should make the queue exit immediately after failure to reach...
Mark Michelson [Mon, 9 Jul 2007 18:32:50 +0000 (18:32 +0000)] 
The n option for Queue should make the queue exit immediately after failure to reach any members and should not
be dependent on the timeout value passed to Queue

(closes issue #10127, reported by bcnit, repaired by me)

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

18 years agoOnly destroy the scheduler context if it was allocated. (issue #10124 reported by...
Joshua Colp [Mon, 9 Jul 2007 15:32:43 +0000 (15:32 +0000)] 
Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)

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

18 years agoFixed a logic error in leave_voicemail. Pass the mailbox instead of the context to...
Mark Michelson [Mon, 9 Jul 2007 14:57:41 +0000 (14:57 +0000)] 
Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue #10135, reported by yannj, repaired by me)

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

18 years agoFew minor thread synchronization tweaks. (issue #10124 reported by gzero)
Joshua Colp [Mon, 9 Jul 2007 14:49:05 +0000 (14:49 +0000)] 
Few minor thread synchronization tweaks. (issue #10124 reported by gzero)

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

18 years agoUse AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue...
Joshua Colp [Mon, 9 Jul 2007 14:34:33 +0000 (14:34 +0000)] 
Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue #9675 reported by zandbelt)

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

18 years agoDoxygen formatting fixes; fixes errors while 'make progdocs'. (Closes issue #10104)
Tilghman Lesher [Mon, 9 Jul 2007 04:03:20 +0000 (04:03 +0000)] 
Doxygen formatting fixes; fixes errors while 'make progdocs'.  (Closes issue #10104)

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

18 years agoGive Agent channel names priority when doing CDR merging. (issue #10011 reported...
Joshua Colp [Mon, 9 Jul 2007 03:13:19 +0000 (03:13 +0000)] 
Give Agent channel names priority when doing CDR merging. (issue #10011 reported by krtorio)

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

18 years agoAdd a few sanity checks when writing out the dialplan. (issue #10157 reported by...
Joshua Colp [Mon, 9 Jul 2007 01:13:57 +0000 (01:13 +0000)] 
Add a few sanity checks when writing out the dialplan. (issue #10157 reported by dome)

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

18 years agoWhile tracking down a bug, I need some more history. Dumphistory is very useful,...
Olle Johansson [Sun, 8 Jul 2007 09:47:31 +0000 (09:47 +0000)] 
While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.

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

18 years agoMerged revisions 73768 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 23:02:58 +0000 (23:02 +0000)] 
Merged revisions 73768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73768 | russell | 2007-07-06 18:01:22 -0500 (Fri, 06 Jul 2007) | 4 lines

If a sip_pvt struct has already registered an extension state callback,
remove the old one before adding a new one.  If this isn't done, Asterisk
will crash.  (issue #10120)

........

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

18 years agoFixing a rare case which causes voicemail to crash when compiled with IMAP storage.
Mark Michelson [Fri, 6 Jul 2007 16:36:17 +0000 (16:36 +0000)] 
Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.

closes issue #10053

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

18 years agoMerged revisions 73684 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 16:12:51 +0000 (16:12 +0000)] 
Merged revisions 73684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73684 | russell | 2007-07-06 11:06:27 -0500 (Fri, 06 Jul 2007) | 8 lines

(closes issue #10075)
Reported by: apsaras
Patches submitted by: Corydon76
Tested by: apsaras

Fix a problem with MSSQL 2005 by explicitly stating that '\' is being used as
an escape character.

........

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

18 years agoMerged revisions 73678 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 15:57:25 +0000 (15:57 +0000)] 
Merged revisions 73678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73678 | russell | 2007-07-06 10:55:41 -0500 (Fri, 06 Jul 2007) | 7 lines

(closes issue #10125)
Reported by: makoto
Patches submitted by: makoto

This fixes a crash in chan_sip that happens when the bindaddr setting is not
valid on Asterisk startup, gets fixed, and then a reload gets issued.

........

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

18 years agoMerged revisions 73674 via svnmerge from
Mark Michelson [Fri, 6 Jul 2007 15:27:28 +0000 (15:27 +0000)] 
Merged revisions 73674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73674 | mmichelson | 2007-07-06 10:26:40 -0500 (Fri, 06 Jul 2007) | 5 lines

Fixed a bug wherein agents get stuck busy. (issue 9618, reported by jiddings, patched by moi)

closes issue #9618

........

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

18 years agofix a little spelling error
Russell Bryant [Fri, 6 Jul 2007 03:34:46 +0000 (03:34 +0000)] 
fix a little spelling error

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

18 years agoFix a crash in chan_sip. Don't try to stop the monitor thread if it was never
Russell Bryant [Thu, 5 Jul 2007 23:59:22 +0000 (23:59 +0000)] 
Fix a crash in chan_sip.  Don't try to stop the monitor thread if it was never
started.  (closes issue #10124, reported by gzero, fixed by me)

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

18 years agocopy from the correct buffer when deferring a full frame
Russell Bryant [Thu, 5 Jul 2007 23:05:33 +0000 (23:05 +0000)] 
copy from the correct buffer when deferring a full frame
(related to issue #9937)

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

18 years ago* Store the call number that a thread is processing without the full frame bit
Russell Bryant [Thu, 5 Jul 2007 22:31:31 +0000 (22:31 +0000)] 
* Store the call number that a thread is processing without the full frame bit
  set to ease debugging
* When deferring a full frame for processing, stick it into the queue for the
  thread that is processing frames for that call, not the one that read the
  current frame and is about to go back into the idle list
(related to issue #9937)

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