aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-07-03Fix a crash when attempting to spy on an unbridged channel.mmichelson1-6/+9
(closes issue #12986) Reported by: andrew53 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127831 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Merged revisions 127663 via svnmerge from murf7-215/+137
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines The CDRfix4/5/6 omnibus cdr fixes. (closes issue #10927) Reported by: murf Tested by: murf, deeperror (closes issue #12907) Reported by: falves11 Tested by: murf, falves11 (closes issue #11849) Reported by: greyvoip As to 11849, I think these changes fix the core problems brought up in that bug, but perhaps not the more global problems created by the limitations of CDR's themselves not being oriented around transfers. Reopen if necc, but bug reports are not the best medium for enhancement discussions. We need to start a second-generation CDR standardization effort to cover transfers. (closes issue #11093) Reported by: rossbeer Tested by: greyvoip, murf ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Make sure we stop session timers as soon as we start hanging up an active call.oej1-0/+4
May fix issue 12919. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Revert some logic for session timers. We do send in-dialog requests that ↵oej1-5/+7
should not have session-timer require headers, like MESSAGE and REFER. So in the future, only add them on requests and responses that are related to INVITEs and re-INVITEs. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127779 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03some minor fixes found while working on issue #12911 (and block the rev from ↵kpfleming3-107/+99
1.4 since the equivalent is already here) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Added a new option, "timeoutpriority" to queues.conf. A detailedmmichelson3-6/+59
explanation of the change may be found in configs/queues.conf.sample (closes issue #12690) Reported by: atis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127720 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03Fix bad formatting in a very confusing function. Who added the sipdb sql output?oej1-78/+80
It's mixing peers and users in a strange way and should really not be a CLI command, since it's not meant for human output. It should be done with an app connecting to manager. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127685 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Oopstilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127622 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Update transport= in sip so that the option is not broken from a recent commit.bbryant1-9/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127621 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Keep ast_app_inboxcount API compatible with 1.6.0.tilghman7-49/+104
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127609 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Add a janitor project to use ARRAY_LEN instead of in-linemmichelson1-0/+8
sizeof() and division. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127566 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Fix some crashlike bugs because flag could be NULL in play_record_review().tilghman1-8/+14
(Closes issue #12892) Reported by: jaroth Patch originally by jaroth, fixed by me. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127564 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Merged revisions 127560 via svnmerge from mmichelson1-0/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127560 | mmichelson | 2008-07-02 15:47:38 -0500 (Wed, 02 Jul 2008) | 3 lines Fix thread-safety of some of the pbx_builtin_getvar_helper calls ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127562 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02The ackcall and endcall options in agents.conf now have supplemental optionsmmichelson3-12/+49
acceptdtmf and enddtmf. These allow for the DTMF pressed to be configurable instead of being hardcoded to '#' and '*'. (AST-86) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127558 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Expose the prefix variable so that it can be used by modules depending on ↵twilson2-0/+10
http support git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127545 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Blocked revisions 127501 via svnmergetilghman0-0/+0
................ r127501 | tilghman | 2008-07-02 14:47:15 -0500 (Wed, 02 Jul 2008) | 14 lines Merged revisions 127466 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines Solaris fix (closes issue #12949) Reported by: snuffy Patches: bug_12949.diff uploaded by snuffy (license 35) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127502 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Solaris fixtilghman1-1/+1
(closes issue #12949) Reported by: snuffy Patches: bug_12949.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127466 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Fix to sip_parse_host so that it passes the correct information to sip_registry.bbryant1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127434 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Fix a bunch of places where \arg was used instead of \param. Using \argrussell10-80/+75
to document arguments seems logical, and does work, but is not the best thing to use. \arg in doxygen is simply for creating non-nested unordered lists. \param is the correct tag to use to document function parameters, and will come out better in the generated documentation. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127401 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Fix a bug I noticed while doing the previous mergeseanbright1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127398 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Add a locking section to the coding guidelines document.russell1-0/+226
This section covers some locking fundamentals, as well as some information on locking as it is used in Asterisk. It describes some of the ways that are used and could be used to achieve deadlock avoidance. It also demonstrates the unfortunate conclusion that with the use of recursive locks, none of the constructs in use today are failsafe from deadlocks. Finally, it makes some recommendations for new code being written. As proper locking strategies is a complex subject, this section still has room for expansion and improvement. This is a result of collaboration between Luigi Rizzo and myself on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127363 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02plug another panic when the gui cannot be started.rizzo1-1/+3
We can still send video, just don't try to use what is not available. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127362 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02prevent a segfault when trying to start the gui without anyrizzo1-1/+1
specific configuration in oss.conf (reported by Klaus Darillion on the -video mailing list). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127330 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02Change the global timer B to be dependent on the value of the T1 timer, astilghman1-0/+18
recommended in RFC 3261, instead of being hardcoded to 32 seconds. This is important for LANs, as it allows autocongestion to occur much more quickly, if desired by the local PBX administrator. It also corrects a bug: if the T1 timer was increased beyond 500ms, then timer B would have been set at a much lower value than recommended. (closes issue #12544) Reported by: kactus Patches: 20080616__bug12544.diff.txt uploaded by Corydon76 (license 14) Tested by: kactus git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127297 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 127244 via svnmerge from mmichelson1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127244 | mmichelson | 2008-07-01 18:36:40 -0500 (Tue, 01 Jul 2008) | 5 lines Add error message to failed open(2) calls inside the copy() function of app_voicemail. This idea came as part of my work in helping to resolve issue #12764. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Add a \todorussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127210 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Add AMI events for start/stop of MOHtilghman1-0/+13
(closes issue #12909) Reported by: chris-mac Patches: res_musiconhold-event.patch uploaded by chris-mac (license 506) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127169 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Place the delay in __ast_answer prior to the channel-specific answermmichelson1-1/+1
callback. This change differs from commit 127113 in that now the channel is not set to AST_STATE_UP until after the answer callback. (closes issue #12924) Reported by: snyfer git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127157 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Add a configuration option so the global outboundproxy can use tcptls ↵bbryant2-54/+93
without it being defined by each sip user. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Fix a typo that caused this asterisk.conf to not get correctly generated.qwell1-1/+1
(closes issue #12966) Reported by: ibc Patches: 12966.patch uploaded by bkruse (license 132) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 127133 via svnmerge from tilghman2-0/+15
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127133 | tilghman | 2008-07-01 15:25:37 -0500 (Tue, 01 Jul 2008) | 2 lines Disable the old, slow search for matching callno in chan_iax2 (but allow it to be reenabled for debugging) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127143 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01change the process of inserting a delay into the ast_answer() path so that ↵kpfleming1-7/+23
we don't tell the calling channel that it has been answered unutil after the delay; for a single-thread call this won't matter all, but for a dual-thread call (using chan_local) this may fix the problem in issue 12924 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127113 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Blocked revisions 127069 via svnmergetilghman0-0/+0
........ r127069 | tilghman | 2008-07-01 14:05:28 -0500 (Tue, 01 Jul 2008) | 2 lines Oops ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127089 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 127068 via svnmerge from tilghman1-24/+22
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r127068 | tilghman | 2008-07-01 13:52:53 -0500 (Tue, 01 Jul 2008) | 8 lines Change around how we schedule pings and lagrqs, and fix a reason why the jobs were not getting properly cancelled. (closes issue #12903) Reported by: stevedavies Patches: 20080620__bug12903__2.diff.txt uploaded by Corydon76 (license 14) Tested by: stevedavies ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127074 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01make the AIS checking a little more generic, and have a more useful ↵kpfleming8-894/+118
configure script command line option for OpenAIS git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127017 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126999 via svnmerge from tilghman1-0/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126999 | tilghman | 2008-07-01 11:50:46 -0500 (Tue, 01 Jul 2008) | 2 lines Suppress annoying warning by finding the remaining cases where the callno is not in the hash. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127000 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01even uglier gui with more buttonsrizzo1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126991 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01another minor ast_channel memory size decrease... for nearly all channels, ↵kpfleming3-11/+5
'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126960 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01add documentation on video console supportrizzo2-0/+160
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126959 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126902 via svnmerge from oej1-1/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126902 | oej | 2008-07-01 16:59:31 +0200 (Tis, 01 Jul 2008) | 7 lines Use domain part of SIP uri in register= configuration as fromdomain. Reported by: one47 Patches: sip-reg-fromdom2.dpatch uploaded by one47 (license 23) (closes issue #12474) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126903 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126899 via svnmerge from oej1-7/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126899 | oej | 2008-07-01 16:27:33 +0200 (Tis, 01 Jul 2008) | 8 lines Handle escaped URI's in call pickups. Patch by oej and IgorG. Reported by: IgorG Patches: bug12299-11062-v2.patch uploaded by IgorG (license 20) Tested by: IgorG, oej (closes issue #12299) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126844 via svnmerge from oej1-4/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126844 | oej | 2008-07-01 14:53:01 +0200 (Tis, 01 Jul 2008) | 5 lines Clear up documentation on "domain=" setting in sip.conf Reported by: davidw (closes issue #12413) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126845 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01use %p to print a pointerrizzo1-5/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126835 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126789 via svnmerge from oej1-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126789 | oej | 2008-07-01 13:51:38 +0200 (Tis, 01 Jul 2008) | 6 lines Report 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog exist). Don't bother checking the request URI. (closes issue #11264) Reported by: ibc ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126790 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Merged revisions 126735 via svnmerge from oej1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126735 | oej | 2008-07-01 09:49:15 +0200 (Tis, 01 Jul 2008) | 7 lines Fix bad XML for hold notification. Reported by: gowen72 Patches: hold.patch uploaded by gowen72 (license 432) (closes issue #12942) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126755 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30Blocked revisions 126680 via svnmergejpeeler0-0/+0
........ r126680 | jpeeler | 2008-06-30 18:11:16 -0500 (Mon, 30 Jun 2008) | 3 lines Load the proper channel configuration file based on which driver was detected. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126681 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30rename zapata.conf.sample to chan_dahdi.conf.samplejpeeler1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126675 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30Add support to see MTP2 down events when the link layer drops in SS7mattf1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126637 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30Merged revisions 126573 via svnmerge from russell1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r126573 | russell | 2008-06-30 11:05:08 -0500 (Mon, 30 Jun 2008) | 10 lines Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE() macro. This caused the lock to not actually be released, and as a result, not avoid deadlocks at all. This resolves the issues reported in the last while about Asterisk locking up all over the place (and most commonly, in chan_iax2). (closes issue #12927) (closes issue #12940) (closes issue #12925) (potentially closes others ...) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126574 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-30implement the 'freeze' function for incoming frames;rizzo4-23/+56
fix a bug which caused a crash when a videodevice was specified after startgui=1 in the config file. This also involves a slightly different method to determine if the gui is active or not. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126572 f38db490-d61c-443f-a65b-d21fe96a405b