]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoMerged revisions 67938 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 00:10:48 +0000 (00:10 +0000)] 
Merged revisions 67938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67938 | file | 2007-06-06 20:09:13 -0400 (Wed, 06 Jun 2007) | 2 lines

Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)

........

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

18 years agoProperly handle cases where a stream can't be written to. (issue #9757 reported by...
Joshua Colp [Wed, 6 Jun 2007 23:38:15 +0000 (23:38 +0000)] 
Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)

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

18 years agoDisable reload functionality in res_snmp. It is not possible to initialize the
Russell Bryant [Wed, 6 Jun 2007 22:08:02 +0000 (22:08 +0000)] 
Disable reload functionality in res_snmp.  It is not possible to initialize the
snmp library more than once without completely unloading the module and loading
it again.
(issue #9571, reported by hristo, additional helpful debug information from festr,
 patch from me)

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

18 years agoFix a crash when doing call pickups with SIP phones. The code unlocked the
Russell Bryant [Wed, 6 Jun 2007 21:14:46 +0000 (21:14 +0000)] 
Fix a crash when doing call pickups with SIP phones.  The code unlocked the
channel when it should not have.
(issue #9652, reported by corruptor, fixed by me)

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

18 years agoFix for Issue 9810. There was a segfault under a specific set of circumstances:
Mark Michelson [Wed, 6 Jun 2007 19:26:55 +0000 (19:26 +0000)] 
Fix for Issue 9810. There was a segfault under a specific set of circumstances:

1. VoiceMailMain was configured in the dialplan with an extension as its argument
2. A message was left for this mailbox
3. Tried to call VoiceMailMain but hung up before entering password.

This was fixed by checking that a pointer was non-null prior to trying to dereference it.
(Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me).

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

18 years agoMerged revisions 67715 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 16:55:59 +0000 (16:55 +0000)] 
Merged revisions 67715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) | 5 lines

We have some bug reports showing crashes due to a double free of a channel.
Add a sanity check to ast_channel_free() to make sure we don't go on trying
to free a channel that wasn't found in the channel list.
(issue #8850, and others...)

........

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

18 years agoMerged revisions 67649 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:30:25 +0000 (13:30 +0000)] 
Merged revisions 67649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67649 | file | 2007-06-06 09:28:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Reinvite the RTP back to the Asterisk machine when the timeout happens. (issue #9888 reported by gasparz)

........

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

18 years agoFix plc_samples warning when registering a translator. (issue #9897 reported by xylome)
Joshua Colp [Wed, 6 Jun 2007 13:18:39 +0000 (13:18 +0000)] 
Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)

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

18 years agoInclude macroexten while searching for a channel to pick up in case they are in a...
Joshua Colp [Wed, 6 Jun 2007 13:16:34 +0000 (13:16 +0000)] 
Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)

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

18 years agoMake the new "agi debug off" CLI command work. (issue #9890 reported by eliel)
Joshua Colp [Wed, 6 Jun 2007 12:34:06 +0000 (12:34 +0000)] 
Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

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

18 years agoMerged revisions 67593 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:20:27 +0000 (12:20 +0000)] 
Merged revisions 67593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67593 | file | 2007-06-06 08:18:36 -0400 (Wed, 06 Jun 2007) | 2 lines

Revert channel name splitting fix for Zap. The moral of the story is don't use - in your user/peer names. (issue #9668 reported by stevedavies)

........

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

18 years agoFix some crashes related to the use of the "meetme" CLI command. The code for
Russell Bryant [Tue, 5 Jun 2007 23:01:44 +0000 (23:01 +0000)] 
Fix some crashes related to the use of the "meetme" CLI command.  The code for
this command was not locking the conference list at all.
(issue #9351, reported by and patch submitted by Junk-Y, committed patch
 is different and by me)

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

18 years agothis fixes bug 9883, wherein macros were not allowing the includes construct. fixed...
Steve Murphy [Tue, 5 Jun 2007 21:30:18 +0000 (21:30 +0000)] 
this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.

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

18 years agoThis bug has been hanging over my head ever since I wrote this SLA code.
Russell Bryant [Tue, 5 Jun 2007 20:53:28 +0000 (20:53 +0000)] 
This bug has been hanging over my head ever since I wrote this SLA code.
Every time I tried to go debug it by adding some debug output, the behavior
would change.  It turns out I wasn't crazy.  I had the following piece of code:

   if (remove)
      AST_LIST_REMOVE_CURRENT(...);

Well, AST_LIST_REMOVE_CURRENT was not wrapped in braces, so my conditional
statement didn't do much good at all.  It always ran at least all of the
macro minus the first statement, so I was seeing list entries magically
disappear when they weren't supposed to.

After many hours of debugging, I have come to this extremely irritating fix. :)

(issues #9581, #9497)

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

18 years agoSuppress a bunch of debug output unless option_debug is on
Russell Bryant [Tue, 5 Jun 2007 19:48:02 +0000 (19:48 +0000)] 
Suppress a bunch of debug output unless option_debug is on

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

18 years agoFix for bug number 9786, wherein voicemails saved to IMAP storage using extensions...
Mark Michelson [Tue, 5 Jun 2007 18:32:50 +0000 (18:32 +0000)] 
Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).

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

18 years agoCorrectly update date/time on devices throughout the life of the device, instead...
Jason Parker [Tue, 5 Jun 2007 18:18:24 +0000 (18:18 +0000)] 
Correctly update date/time on devices throughout the life of the device, instead of just at registration.

Issue 9152, yet another patch by DEA.

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

18 years agoAdded code to automatically add a default case to switches that don't have one. In...
Steve Murphy [Tue, 5 Jun 2007 18:17:28 +0000 (18:17 +0000)] 
Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881

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

18 years agoHandle a failure in malloc() in ast_safe_string_alloc()
Russell Bryant [Tue, 5 Jun 2007 17:07:30 +0000 (17:07 +0000)] 
Handle a failure in malloc() in ast_safe_string_alloc()

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

18 years agoFix a problem that showed itself by causing Zap channel names to be completely
Russell Bryant [Tue, 5 Jun 2007 16:56:36 +0000 (16:56 +0000)] 
Fix a problem that showed itself by causing Zap channel names to be completely
bogus on my machine.  ast_safe_string_alloc() was broken.  It called
vsnprintf() on a va_args list twice without re-initializing it.  After the first
usage, va_end() and va_start() must be called again.

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

18 years agoMerged revisions 67307 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:14:07 +0000 (16:14 +0000)] 
Merged revisions 67307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67307 | crichter | 2007-06-05 17:42:03 +0200 (Di, 05 Jun 2007) | 1 line

briding is a bool, fixed copy and paste issue.
........

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

18 years agoMerged revisions 67306 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 16:11:57 +0000 (16:11 +0000)] 
Merged revisions 67306 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67306 | crichter | 2007-06-05 17:39:43 +0200 (Di, 05 Jun 2007) | 1 line

simplified the EVENT_SETUP handling in the cb_events function a lot. Commented the different possibilities a bit and made functions of shared code. When the dialed extension does not exist in the extensions.conf we'll jump into the 'i' extension if this does exist, else we disconnect the call with the cause:1 = No Route to Destination.
........

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

18 years agoWhen shutting down "gracefully", go through and run the unload() callbacks for
Russell Bryant [Tue, 5 Jun 2007 15:51:53 +0000 (15:51 +0000)] 
When shutting down "gracefully", go through and run the unload() callbacks for
all of the modules.  "stop now" is considered a non-graceful shutdown and will
not go through this process.
(issue #9804, reported by chrisost, patch by me)

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

18 years agoOnly muck with the thread structure if an idle one was found/created.
Joshua Colp [Tue, 5 Jun 2007 15:22:30 +0000 (15:22 +0000)] 
Only muck with the thread structure if an idle one was found/created.

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

18 years agoensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will...
Kevin P. Fleming [Tue, 5 Jun 2007 14:35:52 +0000 (14:35 +0000)] 
ensure that a burst of full frames (AST_FRAME_DTMF being the prime example) will not be processed out of order... this is a brute force fix, but seems to be the safest fix for now (thanks to the Digium PQ department for finding this bug)

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

18 years agoMerged revisions 67209 via svnmerge from
Christian Richter [Tue, 5 Jun 2007 10:25:32 +0000 (10:25 +0000)] 
Merged revisions 67209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67209 | crichter | 2007-06-05 12:05:45 +0200 (Di, 05 Jun 2007) | 1 line

added possibility to deactivate bridging per port
........

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

18 years agoMerged revisions 67161 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 23:43:01 +0000 (23:43 +0000)] 
Merged revisions 67161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67161 | tilghman | 2007-06-04 18:41:49 -0500 (Mon, 04 Jun 2007) | 2 lines

According to MATH, 0+1181000386 = 1181000448.  Oops.

........

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

18 years agoFix up a bunch of places where the iax2 pvt structure can disappear and the
Russell Bryant [Mon, 4 Jun 2007 23:31:40 +0000 (23:31 +0000)] 
Fix up a bunch of places where the iax2 pvt structure can disappear and the
code did not account for it and crashes.
(issues #9642, #9569, #9666, probably others ... based on the work by
 stevedavies and mihai, with additional changes from me)

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

18 years agoFix for skinny keepalives.
Jason Parker [Mon, 4 Jun 2007 23:26:28 +0000 (23:26 +0000)] 
Fix for skinny keepalives.
If there is no traffic from the phone for (keep_alive * 1100) ms (arbitrarily
 adding 10% for network issues, etc),  unregister the device.

Issue 8394, patch by DEA.

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

18 years agoFixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)
Jason Parker [Mon, 4 Jun 2007 22:36:57 +0000 (22:36 +0000)] 
Fixes for dtmf/dialing with mgcp (similar to the recent fix for chan_skinny)

Issue 9855, patch by DEA.

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

18 years agoAdd comments for two functions that get called with the appropriate call locked,
Russell Bryant [Mon, 4 Jun 2007 22:28:55 +0000 (22:28 +0000)] 
Add comments for two functions that get called with the appropriate call locked,
but perform operations that could result in the pvt structure getting destroyed
before returning again, causing numerous seg faults all over the module.
(inspired by issues #9642, #9569, and #9666, and the work done by stevedavies
 and mihai)

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

18 years agoThis typo has been here since 1.4 forked. It has been the source of heartburn to...
Steve Murphy [Mon, 4 Jun 2007 21:59:34 +0000 (21:59 +0000)] 
This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.

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

18 years agoAdd a missing \n. (pointed out by jcmoore on IRC)
Russell Bryant [Mon, 4 Jun 2007 21:47:36 +0000 (21:47 +0000)] 
Add a missing \n.  (pointed out by jcmoore on IRC)

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

18 years agoBetter handle SIP devices that say they have SDP content... but really don't. (issue...
Joshua Colp [Mon, 4 Jun 2007 19:31:09 +0000 (19:31 +0000)] 
Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)

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

18 years agoInitialize cidname variable to nothing since it may be used without having been touch...
Joshua Colp [Mon, 4 Jun 2007 17:59:14 +0000 (17:59 +0000)] 
Initialize cidname variable to nothing since it may be used without having been touched. (issue #9661 reported by dimas)

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

18 years agoReturning a value that indicates the parking of a call was a success when it really...
Joshua Colp [Mon, 4 Jun 2007 17:41:59 +0000 (17:41 +0000)] 
Returning a value that indicates the parking of a call was a success when it really wasn't (because the parking slot selected was in use) is the wrong thing to do. (issue #9723 reported by mdu113)

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

18 years agoMerged revisions 67060 via svnmerge from
Tilghman Lesher [Mon, 4 Jun 2007 17:11:43 +0000 (17:11 +0000)] 
Merged revisions 67060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines

Add revision Id tags (by request of tzafrir)

........

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

18 years agoChange the configure script to build a test program against libcurl to make
Russell Bryant [Mon, 4 Jun 2007 16:02:31 +0000 (16:02 +0000)] 
Change the configure script to build a test program against libcurl to make
sure the results from curl-config can be used to compile successfully.  This is
intended to help prevent a situation where you are cross compiling, and the
configure script finds the curl library installed on the host.
(issue #9865, reported and patched by zandbelt)

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

18 years agoIssue 9739 - Malformed jid causes a crash
Tilghman Lesher [Mon, 4 Jun 2007 15:50:16 +0000 (15:50 +0000)] 
Issue 9739 - Malformed jid causes a crash

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

18 years agoResolve a deadlock in chan_iax2. When handling an implicit ACK to a frame that
Russell Bryant [Mon, 4 Jun 2007 15:47:40 +0000 (15:47 +0000)] 
Resolve a deadlock in chan_iax2.  When handling an implicit ACK to a frame that
was marked as the final transmission for a call, don't call iax2_destroy() for
that call while the global frame queue is still locked.  There is a very nice
explanation of the deadlock in the report.
(issue #9663, thorough report and patch from stevedavies, additional positive
 test reports from mihai and joff_oconnell)

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

18 years agoFix some compiler warnings in C++ modules.
Russell Bryant [Mon, 4 Jun 2007 15:28:33 +0000 (15:28 +0000)] 
Fix some compiler warnings in C++ modules.
(issue #9866, reported by osk, patch by Corydon76)

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

18 years agoOn some drivers, deallocating the statement handle isn't enough. We also have to...
Tilghman Lesher [Fri, 1 Jun 2007 21:45:44 +0000 (21:45 +0000)] 
On some drivers, deallocating the statement handle isn't enough.  We also have to clear the cursor (nice, Oracle)

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

18 years agoRemoving extraneous debugging lines from revision 66897. Sorry :)
Mark Michelson [Fri, 1 Jun 2007 21:31:49 +0000 (21:31 +0000)] 
Removing extraneous debugging lines from revision 66897. Sorry :)

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

18 years agoSubmitting a fix for voicemail with IMAP storage. Attachments with format specified...
Mark Michelson [Fri, 1 Jun 2007 21:09:30 +0000 (21:09 +0000)] 
Submitting a fix for voicemail with IMAP storage. Attachments with format specified as gsm were duplicated (i.e. two attachments) were left.
Thank you very much to xmarksthespot for submitting the patch that fixed this. (Issues 9787 and 8873, Reported by xmarksthespot and jerjer, patched by xmarksthespot)

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

18 years agoChanges to the way DTMF is handled in the core broke dialing in chan_skinny.
Russell Bryant [Fri, 1 Jun 2007 19:41:30 +0000 (19:41 +0000)] 
Changes to the way DTMF is handled in the core broke dialing in chan_skinny.
This patch makes chan_skinny usable again.  I did not end up testing this,
but there are multiple positive test reports listed in the bug report.
(issue #9596, reported by pj, testing by pj and mvanbaak, and the fix was
 written by DEA)

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

18 years agoList app_meetme as a module that app_page depends on.
Russell Bryant [Fri, 1 Jun 2007 19:35:13 +0000 (19:35 +0000)] 
List app_meetme as a module that app_page depends on.

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

18 years agoIssue 9850 - update preferred command line syntax
Tilghman Lesher [Thu, 31 May 2007 23:03:28 +0000 (23:03 +0000)] 
Issue 9850 - update preferred command line syntax

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

18 years agoChange a couple of header files to not use "new", which is a reserved keyword
Russell Bryant [Thu, 31 May 2007 18:41:58 +0000 (18:41 +0000)] 
Change a couple of header files to not use "new", which is a reserved keyword
in C++.  (issue #9830, reported by osk)

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

18 years agoMerged revisions 66744 via svnmerge from
Tilghman Lesher [Thu, 31 May 2007 17:15:09 +0000 (17:15 +0000)] 
Merged revisions 66744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66744 | tilghman | 2007-05-31 10:58:45 -0500 (Thu, 31 May 2007) | 2 lines

Issue 9818 - Fix for issue 8329 breaks pbx_realtime.  Issue 8329 will remain unfixed for pbx_realtime, but only because we lack core API to do it.

........

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

18 years agoMerged revisions 66764 via svnmerge from
Joshua Colp [Thu, 31 May 2007 16:14:48 +0000 (16:14 +0000)] 
Merged revisions 66764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66764 | file | 2007-05-31 12:12:39 -0400 (Thu, 31 May 2007) | 2 lines

It is now possible for this path of execution to have the frame pointer be NULL, therefore we need to check for it before trying to access it. (issue #9836 reported by barthpbx)

........

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

18 years agoFixed seg-faults when recording greetings in voicemail with IMAP enabled. (Issue...
Mark Michelson [Wed, 30 May 2007 23:26:39 +0000 (23:26 +0000)] 
Fixed seg-faults when recording greetings in voicemail with IMAP enabled. (Issue No. 9735, reported by xmarksthespot, patched by me)

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

18 years agoSilly me for having out of date source! Oh well... I'm still leaving my comment.
Joshua Colp [Wed, 30 May 2007 17:28:12 +0000 (17:28 +0000)] 
Silly me for having out of date source! Oh well... I'm still leaving my comment.

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

18 years agoWhen calling some peer/host that may not exist/reply back... don't keep the dialog...
Joshua Colp [Wed, 30 May 2007 17:21:06 +0000 (17:21 +0000)] 
When calling some peer/host that may not exist/reply back... don't keep the dialog in memory for all of eternity.

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

18 years agoChange how channel names are generated a bit. (issue #9825 reported by eldadran)
Joshua Colp [Wed, 30 May 2007 16:06:37 +0000 (16:06 +0000)] 
Change how channel names are generated a bit. (issue #9825 reported by eldadran)

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

18 years agoMerged revisions 66537 via svnmerge from
Tilghman Lesher [Tue, 29 May 2007 21:56:07 +0000 (21:56 +0000)] 
Merged revisions 66537 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66537 | tilghman | 2007-05-29 16:49:35 -0500 (Tue, 29 May 2007) | 2 lines

If the value of a variable passed to FIELDQTY is blank, then FIELDQTY should return 0, not 1.

........

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

18 years agoProperly handle 408 request timeout - according to the RFC, the dialog dies if a...
Olle Johansson [Tue, 29 May 2007 19:32:57 +0000 (19:32 +0000)] 
Properly handle 408 request timeout - according to the RFC, the dialog dies if a request in a dialog gets this response.

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

18 years agoDon't issue hangup on hangup on hangup on hangup (for jcmoore)
Olle Johansson [Tue, 29 May 2007 19:02:04 +0000 (19:02 +0000)] 
Don't issue hangup on hangup on hangup on hangup (for jcmoore)

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

18 years agoHandle cases where a frame may have no data. (issue #9519 reported by dmb)
Joshua Colp [Tue, 29 May 2007 16:44:34 +0000 (16:44 +0000)] 
Handle cases where a frame may have no data. (issue #9519 reported by dmb)

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

18 years agoDon't reset hangupcause if we already have one
Olle Johansson [Tue, 29 May 2007 16:07:44 +0000 (16:07 +0000)] 
Don't reset hangupcause if we already have one

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

18 years agoTracking down hanging channels, killing them one by one. Issue #9235 and related
Olle Johansson [Tue, 29 May 2007 16:02:50 +0000 (16:02 +0000)] 
Tracking down hanging channels, killing them one by one. Issue #9235 and related

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

18 years agoUpdate datastores documentation. (issue #9801 reported by mnicholson)
Joshua Colp [Tue, 29 May 2007 15:43:16 +0000 (15:43 +0000)] 
Update datastores documentation. (issue #9801 reported by mnicholson)

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

18 years agoMerged revisions 66349 via svnmerge from
Olle Johansson [Tue, 29 May 2007 09:41:40 +0000 (09:41 +0000)] 
Merged revisions 66349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66349 | oej | 2007-05-29 09:53:14 +0200 (Tue, 29 May 2007) | 2 lines

Issue #9802 - Change inuse counter on CANCEL

........

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

18 years agoMake the usedistinctiveringdetection option work again. (issue #9823 reported by...
Joshua Colp [Mon, 28 May 2007 23:16:56 +0000 (23:16 +0000)] 
Make the usedistinctiveringdetection option work again. (issue #9823 reported by premeau)

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

18 years agoI don't know what this was trying to do, but it's clearly incorrect.
Jason Parker [Sun, 27 May 2007 04:12:37 +0000 (04:12 +0000)] 
I don't know what this was trying to do, but it's clearly incorrect.

Issues 9808 and 9809.

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

18 years agohave to check for OSP toolkit _after_ checking for OpenSSL
Kevin P. Fleming [Fri, 25 May 2007 14:43:54 +0000 (14:43 +0000)] 
have to check for OSP toolkit _after_ checking for OpenSSL

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

18 years agoMerged revisions 66127 via svnmerge from
Tilghman Lesher [Fri, 25 May 2007 14:41:27 +0000 (14:41 +0000)] 
Merged revisions 66127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r66127 | tilghman | 2007-05-25 08:46:35 -0500 (Fri, 25 May 2007) | 2 lines

Issue 9791 - Fix pronunciation of seconds in Dutch

........

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

18 years agohandle the GNUTLS library properly in the configure script and build system
Kevin P. Fleming [Fri, 25 May 2007 14:28:46 +0000 (14:28 +0000)] 
handle the GNUTLS library properly in the configure script and build system
don't build in OSP support unless we have found and are allowed to use SSL support

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

18 years agoif the string field init fails, clean up the stuff that was allocated already
Russell Bryant [Thu, 24 May 2007 22:23:59 +0000 (22:23 +0000)] 
if the string field init fails, clean up the stuff that was allocated already

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

18 years agoFix slinfactory logic when dealing with frames coming in that may already be in the...
Joshua Colp [Thu, 24 May 2007 22:16:58 +0000 (22:16 +0000)] 
Fix slinfactory logic when dealing with frames coming in that may already be in the signed linear format.

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

18 years agoCheck the result of ast_string_field_init() in ast_channel_alloc()
Russell Bryant [Thu, 24 May 2007 22:07:39 +0000 (22:07 +0000)] 
Check the result of ast_string_field_init() in ast_channel_alloc()

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

18 years agoMake 1.4 build on my machine, too..
Russell Bryant [Thu, 24 May 2007 22:06:13 +0000 (22:06 +0000)] 
Make 1.4 build on my machine, too..

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

18 years agoRebuild configure script for previous ar fix.
Jason Parker [Thu, 24 May 2007 20:54:16 +0000 (20:54 +0000)] 
Rebuild configure script for previous ar fix.

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

18 years agoFollowing moving strip to AC_PATH_TOOL, we need to do something similar for ar.
Jason Parker [Thu, 24 May 2007 20:53:18 +0000 (20:53 +0000)] 
Following moving strip to AC_PATH_TOOL, we need to do something similar for ar.

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

18 years agoChecking for the strip application needs to be done with AC_PATH_TOOL
Russell Bryant [Thu, 24 May 2007 20:42:53 +0000 (20:42 +0000)] 
Checking for the strip application needs to be done with AC_PATH_TOOL
instead of AC_PATH_PROG to properly handle cross compilation environments.

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

18 years agoClear CFLAGS before running make for menuselect.
Russell Bryant [Thu, 24 May 2007 19:05:08 +0000 (19:05 +0000)] 
Clear CFLAGS before running make for menuselect.
(issue #9784, reported by ovi, patch by me)

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

18 years agooops, use #ifdef instead of #if
Kevin P. Fleming [Thu, 24 May 2007 18:28:48 +0000 (18:28 +0000)] 
oops, use #ifdef instead of #if

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

18 years agodon't reference GnuTLS headers and functions unless the configure script found it
Kevin P. Fleming [Thu, 24 May 2007 18:25:21 +0000 (18:25 +0000)] 
don't reference GnuTLS headers and functions unless the configure script found it

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

18 years agodon't use uninitialized variables
Kevin P. Fleming [Thu, 24 May 2007 18:24:55 +0000 (18:24 +0000)] 
don't use uninitialized variables

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

18 years agoAdd the ability to blacklist certain commands from being executed using the Command...
Joshua Colp [Thu, 24 May 2007 15:27:23 +0000 (15:27 +0000)] 
Add the ability to blacklist certain commands from being executed using the Command AMI action. (issue #9240 reported by junky)

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

18 years agoIssue 7672 - fix by zandbelt - Asterisk core dump since the GnuTLS interface did...
Olle Johansson [Thu, 24 May 2007 15:26:10 +0000 (15:26 +0000)] 
Issue 7672 - fix by zandbelt - Asterisk core dump since the GnuTLS interface did not support multithreading correctly.

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

18 years agoIssue 8193 - NAT issues with gtalk/STUN. Patch by phsultan. Thanks!
Olle Johansson [Thu, 24 May 2007 15:20:54 +0000 (15:20 +0000)] 
Issue 8193 - NAT issues with gtalk/STUN. Patch by phsultan. Thanks!

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

18 years agoUpdate cleancount for that last commit - just for good measure.
Jason Parker [Thu, 24 May 2007 15:16:52 +0000 (15:16 +0000)] 
Update cleancount for that last commit - just for good measure.

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

18 years agoFix handling of zero-length frames when a codec is capable of native PLC.
Jason Parker [Thu, 24 May 2007 15:14:02 +0000 (15:14 +0000)] 
Fix handling of zero-length frames when a codec is capable of native PLC.

Issue 9183, patch by Mihai.

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

18 years agomerged qwell's func_math patch for issue 9507
Dwayne M. Hubbard [Thu, 24 May 2007 15:08:56 +0000 (15:08 +0000)] 
merged qwell's func_math patch for issue 9507

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

18 years agoI like it when the RTP stack compiles myself...
Joshua Colp [Thu, 24 May 2007 15:08:17 +0000 (15:08 +0000)] 
I like it when the RTP stack compiles myself...

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

18 years agoIssue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.
Olle Johansson [Thu, 24 May 2007 15:05:10 +0000 (15:05 +0000)] 
Issue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.

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

18 years agoEnsure that frames are fully initialized. This will probably fix getting
Russell Bryant [Thu, 24 May 2007 15:04:14 +0000 (15:04 +0000)] 
Ensure that frames are fully initialized.  This will probably fix getting
weird timestamp log messages in logs when using the Festival app.
(issue #9781, patch by me)

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

18 years agoFix the calculation of the RTT for RTCP. The previous code would result in
Russell Bryant [Thu, 24 May 2007 14:49:05 +0000 (14:49 +0000)] 
Fix the calculation of the RTT for RTCP.  The previous code would result in
oscillating and incorrect data.  Additionally, the RTT would sometimes report
negative values due to incorrect calculations.
(issue #9601, patch from davetroy)

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

18 years agoIssue #8536 - Caller ID not set in CDR for jingle
Olle Johansson [Thu, 24 May 2007 14:48:55 +0000 (14:48 +0000)] 
Issue #8536 - Caller ID not set in CDR for jingle

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

18 years agoMerged revisions 65837 via svnmerge from
Joshua Colp [Thu, 24 May 2007 14:42:12 +0000 (14:42 +0000)] 
Merged revisions 65837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r65837 | file | 2007-05-24 10:40:38 -0400 (Thu, 24 May 2007) | 2 lines

Allow RFC2833 to be negotiated when an INVITE comes in without SDP and is not matched to a user or peer. (issue #9546 reported by mcrawford)

........

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

18 years agoIssue 8409 - phsultan - Fix "login" as component to jabber server.
Olle Johansson [Thu, 24 May 2007 14:38:30 +0000 (14:38 +0000)] 
Issue 8409 - phsultan - Fix "login" as component to jabber server.
...and, by accident, fix a bug in chan_sip for stopping a loop on retransmits
   of BYE requests.

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

18 years agoMerged revisions 65767 via svnmerge from
Christian Richter [Thu, 24 May 2007 09:37:32 +0000 (09:37 +0000)] 
Merged revisions 65767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r65767 | crichter | 2007-05-24 11:19:58 +0200 (Do, 24 Mai 2007) | 1 line

we should only activate the generator in chan_misdn, when asterisk hask not yet taken the call (WAITING4DIGS state). Alerting audio will be generated fomr asterisk for example.
........

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

18 years agostart the delayed PBX when receive voice or video full frames as well, and comment...
Kevin P. Fleming [Wed, 23 May 2007 20:59:19 +0000 (20:59 +0000)] 
start the delayed PBX when receive voice or video full frames as well, and comment this delayed-PBX activity

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

18 years agoMerged revisions 65682 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:51:56 +0000 (20:51 +0000)] 
Merged revisions 65682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r65682 | kpfleming | 2007-05-23 16:46:22 -0400 (Wed, 23 May 2007) | 2 lines

ensure that variables are set on a newly created channel before we start a PBX on it

........

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

18 years agoclear the 'delay PBX' flag when we are ready to start the PBX
Kevin P. Fleming [Wed, 23 May 2007 20:35:50 +0000 (20:35 +0000)] 
clear the 'delay PBX' flag when we are ready to start the PBX

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

18 years agodon't start a PBX on a new incoming IAX2 channel until we have some sort of response...
Kevin P. Fleming [Wed, 23 May 2007 20:30:24 +0000 (20:30 +0000)] 
don't start a PBX on a new incoming IAX2 channel until we have some sort of response to our ACCEPT (ACK or anything else)

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

18 years agoMerged revisions 65676 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:07:59 +0000 (20:07 +0000)] 
Merged revisions 65676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r65676 | kpfleming | 2007-05-23 16:06:13 -0400 (Wed, 23 May 2007) | 2 lines

if we are going to set variables on a newly created channel, it should be done *before* we start the PBX on it

........

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

18 years agoMerged revisions 65588 via svnmerge from
Russell Bryant [Wed, 23 May 2007 13:07:13 +0000 (13:07 +0000)] 
Merged revisions 65588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r65588 | russell | 2007-05-23 08:06:17 -0500 (Wed, 23 May 2007) | 3 lines

Revert revision 62417 as someone reported problems with it to Mark.  This was
related to issue #9588.

........

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

18 years agowhen building a version string for a developer branch, include the base branch in...
Kevin P. Fleming [Tue, 22 May 2007 20:25:41 +0000 (20:25 +0000)] 
when building a version string for a developer branch, include the base branch in the version string

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

18 years agoList res_smdi as a dependency for app_voicemail and chan_zap
Russell Bryant [Tue, 22 May 2007 18:40:38 +0000 (18:40 +0000)] 
List res_smdi as a dependency for app_voicemail and chan_zap
(Thanks to mnicholson for pointing it out)

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