aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-06-08Add High Resolution Times to CDRs for Asterisksnuffy14-12/+258
People expressed an interest in having access to the exact length of calls to a finer degree than seconds. See the CHANGES and UPGRADE.txt for usage also updated the sample configs to note the change. Patch by snuffy. (closes issue #16559) Reported by: cianmaher Tested by: cianmaher, snuffy Review: https://reviewboard.asterisk.org/r/461/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269153 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Fix build on Mac OS X (and maybe FreeBSD, too)tilghman4-7498/+31042
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269119 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Don't pass null to manager_event()mnicholson1-2/+2
(closes issue #17087) Reported by: bklang Patches: app-fax-null-sprintf1.diff uploaded by mnicholson (license 96) Tested by: bklang git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269083 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Ensure CONFIG_FLAGS makes it into the build rules when doing out of tree builds.russell1-0/+4
(closes issue #16685) Reported by: pprindeville git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269008 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Merged revisions 269006 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r269006 | seanbright | 2010-06-08 11:28:49 -0400 (Tue, 08 Jun 2010) | 11 lines Reduce startup time for cdr_tds with large CDR tables. Since we are just checking for table existence, add a WHERE clause that will return no rows but will raise an error if the table doesn't exist. (closes issue #17380) Reported by: kkwong Patches: issue17380-01.patch uploaded by seanbright (license 71) Tested by: kkwong ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269007 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Update note in sip.conf.sample.lmadsen1-4/+3
Update note in sip.conf.sample about externip and externhost with STUN. (closes issue #16323) Reported by: klaus3000 Patches: sip.conf.sample-patch.txt uploaded by klaus3000 (license 65) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268988 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Fix some doxygen warnings.lmadsen34-83/+134
(closes issue #17336) Reported by: snuffy Patches: doxygen-fixes1.diff uploaded by snuffy (license 35) Tested by: russell git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268969 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Release list lock before returning on error.tilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268933 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Fix trunk build on Mac OS X.tilghman1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268896 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Add SRTP support for Asterisktwilson28-30766/+9200
After 5 years in mantis and over a year on reviewboard, SRTP support is finally being comitted. This includes generic CHANNEL dialplan functions that work for getting the status of whether a call has secure media or signaling as defined by the underlying channel technology and for setting whether or not a new channel being bridged to a calling channel should have secure signaling or media. See doc/tex/secure-calls.tex for examples. Original patch by mikma, updated for trunk and revised by me. (closes issue #5413) Reported by: mikma Tested by: twilson, notthematrix, hemanshurpatel Review: https://reviewboard.asterisk.org/r/191/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268894 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-08Make SIP tests compile again.rmudgett1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268857 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Use the mailbox destructor function, instead.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268818 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Mailbox list would previously grow at each reload, containing duplicates.tilghman2-12/+45
Also, optimize the allocation of mailboxes to avoid additional memory structures. (closes issue #16320) Reported by: Marquis Patches: 20100525__issue16320.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268817 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Extract sig_ss7 out of chan_dahdi.rmudgett6-1581/+2623
Extract the SS7 specific code out of chan_dahdi like what was done to ISDN/PRI and analog signaling. The new SS7 structures were modeled on sig_pri. The changes to sig_pri are an enhancement and a bug fix made possible because SS7 was extracted. 1) The sig_pri TRANSFERCAPABILITY channel variable should have been set unconditionally in sig_pri_new_ast_channel(). 2) SS7/PRI transfer capability interaction in dahdi_new() fixed because of SS7 extraction. 3) Module ref count error in dahdi_new() if startpbx failed to start the PBX for some reason. Review: https://reviewboard.asterisk.org/r/661/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268774 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Seems strange (and the code backs up) that if the max and min of a statistic ↵tilghman4-8/+8
is expressed as a double, the last value would not also need to be a double. (closes issue #15807) Reported by: klaus3000 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268773 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Moved AOC request code out of the middle of code parsing the dialed number.rmudgett1-15/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268734 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Event well was going dry.tilghman1-0/+5
(issue #17234) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268731 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Set threshold for silence detection defaults to 256pabelanger1-5/+17
(closes issue #15685) Reported by: david_s5 Patches: dsp-silence-threshold-init.diff uploaded by dant (license 670) issue15685.patch.v5 uploaded by pabelanger (license 224) Tested by: danti Review: https://reviewboard.asterisk.org/r/670/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268690 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Avoid unloading res_smdi twice.tilghman1-0/+7
(closes issue #17237) Reported by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268653 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-07Suppress warning in waitstream_core().rmudgett1-0/+3
Suppress the warning about unexpected control subclass frames for AST_CONTROL_CONNECTED_LINE, AST_CONTROL_REDIRECTING, and AST_CONTROL_AOC in file.c:waitstream_core(). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268578 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-06Take advantage of variable substitution already in the Makefile to specify ↵tilghman1-3/+3
the correct location for files in init.d. (closes issue #16979) Reported by: jw-asterisk (issue #15691) Reported by: itamarjp git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268534 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-06Finally track down and eliminate the "FRACK! warnings from chan_iax2".tilghman1-0/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268495 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-05Fix crash in DTMF detection.tilghman1-9/+4
What I did not originally see in my previous commit was that even though the next digit could be detected before the previous was considered ended, the detection of the next digit effectively ends the detection of the previous. Therefore, the length moves in lockstep with the digit, and no separate counter is needed for the length alone. (closes issue #17371) Reported by: alecdavis (closes issue #17474) Reported by: kenner git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268456 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-05Verify event is not NULL before attempting to lower its usecount.tilghman1-1/+3
(closes issue #17234) Reported by: mav3rick git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268454 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-05Typo fix.kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268417 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-05Grammatical error fix.kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268395 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-05Merged revisions 268320 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r268320 | tilghman | 2010-06-04 21:49:52 -0500 (Fri, 04 Jun 2010) | 3 lines Rest In Peace http://www.outandaboutnewspaper.com/article/4061 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268321 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04fixes compile error from uninitialized variabledvossel1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268281 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04RFC3261 compliant sip unreliable retransmit timing + 'registerattempts' ↵dvossel1-6/+9
option tweak Changes. 1. RFC 3261 states in section 17.1.2.2 and 17.1.1.2 that retransmission timers should initially be set to timer T1. T1 by default is 500ms. Asterisk was starting the retransmission timers at T1*2 which shouldn't cause any problems, but is not RFC compliant. 2. RFC 3261 states in section 17.1.2.2 that for a non-INVITE client transaction, if the retransmit timer fires while in the proceeding state that the request must be retransmitted. Asterisk currently ack's requests for both INVITE and non-INVITE transactions when a 1XX response is received, this patch changes this for non-INVITE requests. 3. The 'registerattempts' option in sip.conf is supposed to set how many registry attempts will be made before giving up. When this option is set to 1, I would expect only one registry attempt to be made before stopping because of a failure, but instead two are made. In my opinion this is not expected behavior. This option does not indicate that these are re-attempts. The logic behind this option has been changed to only attempt registers the exact number of times this option is set to. If this option is 0, it still continues to re-attempt the registration forever. Review: https://reviewboard.asterisk.org/r/687/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268205 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Merged revisions 268126 via svnmerge from tilghman2-198/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r268126 | tilghman | 2010-06-04 15:41:24 -0500 (Fri, 04 Jun 2010) | 2 lines AC_CONFIG_SUBDIRS has a bad side-effect on cross-compiles. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268127 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Merged revisions 268050 via svnmerge from tilghman2-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r268050 | tilghman | 2010-06-04 14:38:57 -0500 (Fri, 04 Jun 2010) | 6 lines Build menuselect with the build environment's compiler, not the host (target)'s compiler. (closes issue #17464) Reported by: pprindeville Tested by: tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@268051 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Merged revisions 267971 via svnmerge from tilghman3-51/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r267971 | tilghman | 2010-06-04 11:27:02 -0500 (Fri, 04 Jun 2010) | 2 lines As-fixiate the build process ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267972 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Incoming overlap dialing no longer works after sig_pri extraction.rmudgett1-8/+1
The problem would manifest itself if your dialplan matching could accept more digits to match than were actually dialed. The time out waiting for overlap digits disconnected the call instead of matching any accumulated digits to the dialplan. Accidental conversion of a break out of loop as a break out of switch. (closes issue #17401) Reported by: avalentin Patches: issue17401_digit_timeout.patch uploaded by rmudgett (license 664) Tested by: avalentin, rmudgett git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267928 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04As signed linear audio data is accessed as 16-bit values, certain processors ↵tilghman1-41/+41
require the values to be aligned in memory. (closes issue #16912) Reported by: michaelevdokimov Patches: asterisk.patch uploaded by michaelevdokimov (license 997) Tested by: michaelevdokimov git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267877 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Send an ACK for every final response received for an INVITEtwilson1-0/+5
From issue ABE-2247. RFC 3261 compliance for sections 13.2.24 and 17.1.1.2. Review: https://reviewboard.asterisk.org/r/692/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267863 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04As signed linear audio data is accessed as 16-bit values, certain processors ↵tilghman1-2/+2
require the values to be aligned in memory. (closes issue #16912) Reported by: michaelevdokimov git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267862 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04If there's a default, turn it on, even when the option isn't specified.tilghman2-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267819 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-04Merged revisions 267759 via svnmerge from tilghman3-12404/+11920
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r267759 | tilghman | 2010-06-03 20:16:26 -0500 (Thu, 03 Jun 2010) | 7 lines Make the default install path appear to be /usr on Linux, instead of /usr/local. Also, reorganize the options, so that they're more alphabetical. (closes issue #17013) Reported by: klaus3000 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267775 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Remove a LOG_WARNING.russell1-1/+0
This came up when using the sample configs, and just indicates expected behavior. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267714 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Handle OOM errors more gracefully.tilghman1-2/+22
(closes issue #17084) Reported by: falves11 Patches: issue17084_162_A.diff uploaded by falves11 (license 374) Tested by: falves11 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267669 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Update UPGRADE.txt and CHANGE for CDR functionality changes.lmadsen2-1/+10
Updated the UPGRADE.txt and CHANGES file stating that CDR records will not be explicity written unless cdr.conf exists and is configured. (closes issue #17373) Reported by: wdoekes Tested by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267624 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Make compile again.rmudgett1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267622 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Don't stop Asterisk if chan_usbradio isn't configured.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267537 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Remove unnecessary code relating to PLC.mmichelson10-257/+5
The logic for handling generic PLC is now handled in ast_write in channel.c instead of in translation code. Review: https://reviewboard.asterisk.org/r/683/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267492 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Remove a line that was killing Asterisk on startup.russell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267490 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Comment out a rule that likes to run implicitly unnecessarily, breaking buildsrussell1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267445 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-03Add ETSI Message Waiting Indication (MWI) support.rmudgett8-2/+555
Add the ability to report waiting messages to ISDN endpoints (phones). Relevant specification: EN 300 650 and EN 300 745 Review: https://reviewboard.asterisk.org/r/599/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267399 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02try to fix some random chan_h323 compilation failuresrussell2-2/+1
After some debugging, the random chan_h323 build failures appear to be due to complications introduced by some chan_h323 specific build stuff getting triggered during a clean. Simplify this by moving the h323 clean commands down into channels/makefile. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267352 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Add ETSI Malicious Call ID support.rmudgett7-19/+429
Add the ability to report malicious callers as an AMI event in the call event class. Relevant specification: EN 300 180 Review: https://reviewboard.asterisk.org/r/576/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267350 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Fix a build error on mac.russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267305 f38db490-d61c-443f-a65b-d21fe96a405b