]>
git.ipfire.org Git - thirdparty/asterisk.git/log
BJ Weschke [Sun, 3 Sep 2006 17:38:22 +0000 (17:38 +0000)]
Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41882
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 3 Sep 2006 17:13:38 +0000 (17:13 +0000)]
Don't keep trying the same member in certain strategies when members of the queue are unavailable (#7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41880
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 3 Sep 2006 14:50:59 +0000 (14:50 +0000)]
Let's NOT spy on Zap/psuedo channels, mmmmmmmmk?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41830
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 3 Sep 2006 14:16:08 +0000 (14:16 +0000)]
Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41827
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 1 Sep 2006 22:49:07 +0000 (22:49 +0000)]
Only wipe the redirected audio & video IP/port if it's specified, and trigger a reinvite.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41768
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 1 Sep 2006 17:35:06 +0000 (17:35 +0000)]
put in proper fix for issue #7294 instead of the broken partial fix that was committed, and thereby also fix issue #7438
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41716
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 1 Sep 2006 16:33:00 +0000 (16:33 +0000)]
Finish up the last commit (was worse then originally reported)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41691
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 1 Sep 2006 16:28:08 +0000 (16:28 +0000)]
Don't treat an unexpected control subclass as voice (issue #7858 reported by PCadach)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41690
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 30 Aug 2006 19:01:55 +0000 (19:01 +0000)]
Issue #7572 - Hangup when receiving a buggy 487 response to an INVITE
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41423
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 30 Aug 2006 18:59:44 +0000 (18:59 +0000)]
Restore original functionality of 1.2 in places where ANI was not set, but was
changed to be set. The original change was done to ensure that the behavior of
the "callerid" option in each channel driver was consistent, but it caused an
unexpected behavior change of CDR records for users, so this change is being
reverted in 1.2. (issue #7695)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41411
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 30 Aug 2006 17:58:31 +0000 (17:58 +0000)]
Properly handle an ETIMEDOUT result from pthread_cond_timedwait (issue #7318 reported by arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41390
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 30 Aug 2006 14:31:47 +0000 (14:31 +0000)]
Issue 7822 - don't use SRV lookups if it's disabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41334
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 29 Aug 2006 13:33:34 +0000 (13:33 +0000)]
clean up last commit ... most notably, there is no reason to do heap
allocations here, and it also included a potential memory leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41269
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 29 Aug 2006 05:49:12 +0000 (05:49 +0000)]
Fixes for bug 7813, via patch submitted by stevens.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41262
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 28 Aug 2006 20:51:08 +0000 (20:51 +0000)]
Removed from the docs the mention of the ! and =~ operators, as these
were knocked out of ast_expr2 because they were new features. Let's hope
I can keep them from getting knocked out of the trunk, too!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41240
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 28 Aug 2006 19:06:55 +0000 (19:06 +0000)]
According to a note added to 7731 by mneuhauser, this
will repair a break caused by the last fix (7731).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41239
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 25 Aug 2006 15:21:18 +0000 (15:21 +0000)]
There, much better.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41069
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 25 Aug 2006 15:13:43 +0000 (15:13 +0000)]
Don't send proceeding twice (#7800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41066
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 25 Aug 2006 15:07:16 +0000 (15:07 +0000)]
Text only - clarify the reason for entry into authentication mode when the skipuser option is ignored
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41065
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 24 Aug 2006 19:41:26 +0000 (19:41 +0000)]
Fix a few issues related to the handling of channel variables
- in pbx_builtin_serialize_variables(), the variable list traversal would stop
on a variables with empty name/values, which is not appropriate
- When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
AST_LIST_REMOVE
- During masquerading, when copying the variables list from one channel to the
other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
It leaves the tail pointer of the list invalid. Introduce a new macro,
AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802, softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40994
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 24 Aug 2006 17:13:04 +0000 (17:13 +0000)]
I can type english. Honest. Thanks Kenny.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40979
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 24 Aug 2006 16:44:41 +0000 (16:44 +0000)]
Minor documentation fix to add the 'dynamic' dialplan option from angler
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40971
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 23 Aug 2006 16:05:26 +0000 (16:05 +0000)]
Revert last change - breaks retrieval of builtin variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40901
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 22 Aug 2006 02:59:37 +0000 (02:59 +0000)]
Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40821
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 21 Aug 2006 22:34:26 +0000 (22:34 +0000)]
Move the load_modules call so that if a module needs
realtime support it will work, none do currently but a good
move none the less.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40798
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 20 Aug 2006 22:09:57 +0000 (22:09 +0000)]
Reformat to match the contribution style of other contributors
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40692
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 20 Aug 2006 04:49:48 +0000 (04:49 +0000)]
Turn media level c= parsing on by default (issue #7725 reported by psm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40601
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sat, 19 Aug 2006 01:03:22 +0000 (01:03 +0000)]
Fix a bug with app_voicemail when trying to use app_directory to leave messages
to another user (options 3, 5, 2).
If the context/extension didn't exist in the dialplan (and why should it have to?),
it would fail, saying that it's an "invalid extension".
Fix was different in svn trunk.
(issue BE-71)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40446
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 18 Aug 2006 19:10:51 +0000 (19:10 +0000)]
make a feeble attempt to avoid the 'how do I enable my hardware echo canceler' questions
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40392
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 17 Aug 2006 22:00:37 +0000 (22:00 +0000)]
rename file per crichter's request
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40310
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Thu, 17 Aug 2006 21:57:19 +0000 (21:57 +0000)]
This rather small ;-) commit merges the changes from my team branch 0.3.0 into t
he 1.2 branch.
These changes include the new mISDN mqueue interface which makes it possible to
compile chan_misdn against the current cvs version of mISDN/mISDNuser.
These changes also contain various additions and numerous bugfixes to chan_misdn
.
Each change is documented in the commit logs in the team/crichter/0.3.0 branch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40306
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 17 Aug 2006 16:36:21 +0000 (16:36 +0000)]
revert bogus change to attempt to fix bug 7506 which actually causes half of
the channels not to get "Newchannel" events at all (issue #7745)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40227
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 17 Aug 2006 16:22:58 +0000 (16:22 +0000)]
Use the last CDR entry instead of the first CDR entry for variable retrieving variables using the CDR dialplan function. (issue #7689 reported by voipgate)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40225
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 17 Aug 2006 16:18:08 +0000 (16:18 +0000)]
Make app_macro compile again
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40223
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 17 Aug 2006 16:07:21 +0000 (16:07 +0000)]
In app_macro, changed the previously changed upper recursion depth limit to a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs. This fix mirrors the changes made in r40200 in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40220
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 16 Aug 2006 18:57:44 +0000 (18:57 +0000)]
don't allow AUEP responses to overflow the stack during a string copy (reported by Mu Security)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40057
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 15 Aug 2006 22:49:41 +0000 (22:49 +0000)]
use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve global
variables (issue #7609)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39935
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 15 Aug 2006 22:13:47 +0000 (22:13 +0000)]
This revision fixes bug 7731, the inability for macros to be called more than one level deep in the 'h' extension.
It also pushes up the limit of recursion depth from 7 to 20.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39931
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 8 Aug 2006 18:39:16 +0000 (18:39 +0000)]
add explicit listing of anthm's contributions (issue #7683)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39379
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 8 Aug 2006 17:04:10 +0000 (17:04 +0000)]
Increase the buffer size for the callid (issue #7675, reported by pssatcs)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39350
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Aug 2006 01:28:29 +0000 (01:28 +0000)]
Fix a crash reported to me by hads on IRC. This crash would occur with the use
of the "distinctiveringaftercid" option. Also, on this user's system, the crash
would only occur when built without optimizations. This is because the bug is
that the code would write past the end of an array that was allocated on the
stack, and the structure of the stack is different with or without optimizations
enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39081
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 7 Aug 2006 00:15:51 +0000 (00:15 +0000)]
Reset our stream and vstream pointers back to NULL so that any generator that uses them (file based MOH) will not try to close them again. (issue #7668 reported by jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@39056
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 09:01:37 +0000 (09:01 +0000)]
Always generate a Newstate event in ast_setstate() instead of making it a
Newchannel event if the state was AST_STATE_DOWN. The Newchannel event will
always be generated in ast_request(), so this just causes a duplicated
Newchannel event in some cases.
(issue #7506, repoted by capouch, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38982
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 08:08:48 +0000 (08:08 +0000)]
remove duplicate queue log entry when the caller exits on a timeout
(issue #7616, ppyy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38972
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 07:21:12 +0000 (07:21 +0000)]
don't advertise that this function can set a SIP header when it can only
do reads
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38950
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 06:37:59 +0000 (06:37 +0000)]
make sure the priv-callerintros directory exists before trying to create a file
there (issue #7659, patch by hads, with some modifications by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38928
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 05:08:50 +0000 (05:08 +0000)]
Fix an issue that would cause a NewCallerID manager event to be generated
before the channel's NewChannel event. This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before. This
function should not be used in the channel driver "new" functions.
(issue #7654, fixed by me)
Also, fix a couple minor bugs in usecount handling. chan_iax2 could have
increased the usecount but then returned an error. The place where chan_sip
increased the usecount did not call ast_update_usecount()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38904
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Aug 2006 05:07:39 +0000 (05:07 +0000)]
suppress a compiler warning about the usage of a potentially uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38903
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 3 Aug 2006 19:54:02 +0000 (19:54 +0000)]
Treat the file as invalid if we have no valid formats for it (issue #7643 reported by KNK)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38825
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 3 Aug 2006 05:22:19 +0000 (05:22 +0000)]
Bug 7648 - Checking wrong count for plurality on new messages for Dutch language
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38761
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Aug 2006 19:29:56 +0000 (19:29 +0000)]
fix brain-damage I introduced when trying to fix the CANCEL/BYE sending mechanism for pending INVITES
accept unknown 1xx responses as 183 responses (as RFC3261 mandates we should do)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38731
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 1 Aug 2006 23:07:06 +0000 (23:07 +0000)]
ensure that the 'feature digit timeout' value is taken into account when deciding how long the bridge should run (this fixes a problem report where a digit press that did not invoke a feature is never passed across the bridge)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38686
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 1 Aug 2006 19:20:05 +0000 (19:20 +0000)]
Close the stream when file based MOH stop. This won't get rid of their position in the file but it will cause the translation path to be setup again. (issue #7634 reported by asimpson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38654
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 31 Jul 2006 21:14:11 +0000 (21:14 +0000)]
don't reissue hangup requests for SIP channels that have expired their RTP timeouts (one time is enough)
don't rescan the SIP private structure list too fast, it can cause channels to not be able to hang up (issue #7495, and probably others)
use ast_softhangup_nolock() since we already hold the channel's lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38611
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 31 Jul 2006 17:09:10 +0000 (17:09 +0000)]
Add missing code to bring transferee channel out of MOH/autoservice under certain circumstance (issue #7611 reported by guillecabeza with minor mods by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38585
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 31 Jul 2006 04:06:16 +0000 (04:06 +0000)]
one more small tweak for thread-safety of TRACE_FRAMES
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38547
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 31 Jul 2006 04:04:02 +0000 (04:04 +0000)]
Make the frame counting done with TRACE_FRAMES defined thread-safe
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38546
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 29 Jul 2006 23:18:00 +0000 (23:18 +0000)]
How many attempts does it take to make a SIP URI parser that works well? I'm up to 5 personally. On to the good stuff - parse the domain first, user second, and get rid of port & options/params last. (issue #7616 reported by andrew)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38501
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 28 Jul 2006 18:49:00 +0000 (18:49 +0000)]
Make a copy of the request URI in check_user_full instead of modifying the one on the structure, and also strip params properly from the user portion of the SIP URI so as to preserve the domain (issue #7552 reported by dan42)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38420
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 22:23:38 +0000 (22:23 +0000)]
use the enum that defines the option arguments, so that the likelihood of mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38370
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 15:40:03 +0000 (15:40 +0000)]
do a better job avoiding translation path teardown/setup when not needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38347
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Jul 2006 04:25:41 +0000 (04:25 +0000)]
Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This was
not reported in the bug tracker but the same bug has been demonstrated in other
places in the code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38328
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 02:43:49 +0000 (02:43 +0000)]
don't do useless translation destroy/build when the channel is already in the correct format
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38310
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Jul 2006 01:58:41 +0000 (01:58 +0000)]
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
would occur when the extension got removed. (fixes issue #7484)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38288
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Jul 2006 15:26:06 +0000 (15:26 +0000)]
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38234
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 25 Jul 2006 19:43:38 +0000 (19:43 +0000)]
This resolves a deadlock that a tech support customer was getting frequently
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38200
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 24 Jul 2006 17:05:56 +0000 (17:05 +0000)]
This fixes a compile problem for s390 as reported in bug 7253.
Tested on both an s390 and non-s390 machine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38167
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 19 Jul 2006 17:10:10 +0000 (17:10 +0000)]
ensure that global 'maxauthreq' is reset to zero during 'reload'
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37949
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 18 Jul 2006 00:41:47 +0000 (00:41 +0000)]
don't crash if the frame has no data, but has a src
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37856
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 17 Jul 2006 23:25:33 +0000 (23:25 +0000)]
if asked to duplicate a frame that has no data, don't set the frame's data
pointer past the end of the allocatted buffer for the new frame
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37828
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Jul 2006 22:36:56 +0000 (22:36 +0000)]
Backport buffer increase to 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37808
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Jul 2006 15:52:15 +0000 (15:52 +0000)]
Overflow bad
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37765
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 15 Jul 2006 23:29:28 +0000 (23:29 +0000)]
Bug 7513 - ensure that each time we do a query, the results are returned in the
same logical order, so that when we iterate over the list, we get all results,
not some results repeated, due to insufficient sorting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37691
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 14 Jul 2006 13:31:11 +0000 (13:31 +0000)]
Bug 7526 - previous commit broke app_sms
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Jul 2006 21:22:11 +0000 (21:22 +0000)]
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37571
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 13 Jul 2006 18:44:17 +0000 (18:44 +0000)]
yeah, ummm... This frame pointer should not be static. This situation only
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37546
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Jul 2006 16:44:23 +0000 (16:44 +0000)]
report address of peer trying to subscribe to unknown hint
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37531
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 13 Jul 2006 15:45:33 +0000 (15:45 +0000)]
Bug 7532 - Typo in enum example
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37516
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 12 Jul 2006 18:29:01 +0000 (18:29 +0000)]
Merge fixup for asterisk startup script to zaptel startup script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37458
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 15:53:53 +0000 (15:53 +0000)]
fix a weird case where a lock file could be left (but would happen almost never)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37442
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 15:46:56 +0000 (15:46 +0000)]
fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
make ast_unlock_path actually report when unlocking fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37441
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 12 Jul 2006 15:23:59 +0000 (15:23 +0000)]
Add support to have maxauthreq as a global option
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37439
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 13:54:10 +0000 (13:54 +0000)]
remove some more bad examples of using printf
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37419
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 13:18:21 +0000 (13:18 +0000)]
get rid of some more printf's (although most of these were ifdef-ed out)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37417
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Wed, 12 Jul 2006 03:55:36 +0000 (03:55 +0000)]
GRRR no fprintf!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37402
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 11 Jul 2006 19:00:50 +0000 (19:00 +0000)]
Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37378
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 10 Jul 2006 21:01:35 +0000 (21:01 +0000)]
do masquerade-behind-proxy checking with better control over locks
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 7 Jul 2006 23:57:53 +0000 (23:57 +0000)]
Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37307
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 6 Jul 2006 21:41:23 +0000 (21:41 +0000)]
patch resolves issue with when to decide if its right time
to native bridge, feature redirect was not being checked.
patch from bug #7296
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37224
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Thu, 6 Jul 2006 20:38:45 +0000 (20:38 +0000)]
Don't do wierd things on a callback agent that has attempted logoff while still on the phone.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37212
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 6 Jul 2006 15:48:07 +0000 (15:48 +0000)]
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37173
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 6 Jul 2006 13:47:23 +0000 (13:47 +0000)]
Fix spelling/grammar (issue 7493)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37143
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 5 Jul 2006 15:31:01 +0000 (15:31 +0000)]
Spell extension correctly in documentation for chan_oss dial (issue #7487 reported by flefoll)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36998
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 4 Jul 2006 14:45:44 +0000 (14:45 +0000)]
Tell clients based on old SIP standard that we only support MD5 digest authentication...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36911
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 3 Jul 2006 15:00:50 +0000 (15:00 +0000)]
issue #7470 - Need larger buffer for record-route headers...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36838
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 05:12:03 +0000 (05:12 +0000)]
fix a race condition that caused asterisk to log a *ton* of warnings on mac
osx about poll returning an error because the polled file descriptor was bad.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36751
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 04:19:09 +0000 (04:19 +0000)]
use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36725
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 03:23:36 +0000 (03:23 +0000)]
fix the build with BUSYDETECT_TONEONLY defined (issue #7414)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36697
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 30 Jun 2006 14:05:53 +0000 (14:05 +0000)]
Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.
Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36377
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 29 Jun 2006 19:23:18 +0000 (19:23 +0000)]
Bug 7388 - compatibility changes for Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36290
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3