aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2010-06-02Ensure the -Wno-strict-aliasing flag makes it, even if ASTCFLAGS has been ↵russell1-1/+1
specified. When ASTCFLAGS was specified with the make command, Makefile.rules was using the specified value from the command line and not the one here, making it so this flag would go missing. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267303 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Add ETSI Call Waiting support.rmudgett8-154/+1054
Add the ability to announce a call to an endpoint when there are no B channels available. A call waiting call is a SETUP message with no B channel selected. Relevant specification: EN 300 056, EN 300 057, EN 300 058 For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the "no_media_path" option. * Returns "0" if there is a B channel associated with the call. * Returns "1" if no B channel is associated with the call. The call is either on hold or is a call waiting call. If you are going to allow incoming call waiting calls then you need to use CHANNEL(no_media_path) do determine if you must drop a call to accept the new call. Review: https://reviewboard.asterisk.org/r/568/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267261 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Update CHANGES and aoc help doc to reflect AOC additionsdvossel2-0/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267181 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Add a CLI command that blocks until Asterisk has fully booted.russell1-0/+24
Review: https://reviewboard.asterisk.org/r/684/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267138 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Prevent use of uninitialized values.mmichelson1-1/+1
Two struct sockaddr_ins are created when applying directmedia host access rules. The addresses of these are passed to the RTP engine to be filled in. However, the RTP engine inspects the fields of the structs before actually taking action. This inspection caused valgrind to be a bit unhappy. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267097 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Generic Advice of Charge.rmudgett19-433/+4553
Asterisk Generic AOC Representation - Generic AOC encode/decode routines. (Generic AOC must be encoded to be passed on the wire in the AST_CONTROL_AOC frame) - AST_CONTROL_AOC frame type to represent generic encoded AOC data - Manager events for AOC-S, AOC-D, and AOC-E messages Asterisk App Support - app_dial AOC-S pass-through support on call setup - app_queue AOC-S pass-through support on call setup AOC Unit Tests - AOC Unit Tests for encode/decode routines - AOC Unit Test for manager event representation. SIP AOC Support - Pass-through of generic AOC-D and AOC-E messages to snom phones via the snom AOC specification. - Creation of chan_sip page3 flags for the addition of the new 'snom_aoc_enabled' sip.conf option. IAX AOC Support - Natively supports AOC pass-through through the use of the new AST_CONTROL_AOC frame type DAHDI AOC Support - ETSI PRI full AOC Pass-through support - 'aoc_enable' chan_dahdi.conf option for independently enabling pass-through of AOC-S, AOC-D, AOC-E. - 'aoce_delayhangup' option for retrieving AOC-E on disconnect. - DAHDI A() dial string option for requesting AOC services. example usage: ;requests AOC-S, AOC-D, and AOC-E on call setup exten=>1111,1,Dial(DAHDI/g1/1112/A(s,d,e)) Review: https://reviewboard.asterisk.org/r/552/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267096 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Silence a compiler warning.russell1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267093 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Fix infinite loop when loading codec speexjpeeler1-60/+36
This changes the sample slinear frame data to contain non-zero data so that translation calculations for speex works when preprocessing and VAD is turned on. The encoder expects samples to be returned, but when attempted with the mentioned two options and silent sample frames everything was discarded. (closes issue #17240) Reported by: seandarcy Review: https://reviewboard.asterisk.org/r/682/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267065 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Merged revisions 267009 via svnmerge from pabelanger1-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r267009 | pabelanger | 2010-06-02 13:14:37 -0400 (Wed, 02 Jun 2010) | 7 lines Cleanup error/warning messages in AEL2 parser (closes issue #16684) Reported by: Silmaril Patches: patch_ael2_logmsg.diff uploaded by Silmaril (license 979) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267041 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Add ETSI Advice Of Charge (AOC) event reporting.rmudgett8-1/+985
This feature generates AMI events in the new aoc event class from the events passed up by libpri. Review: https://reviewboard.asterisk.org/r/537/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267008 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02Add ETSI Explicit Call Transfer (ECT) support.rmudgett8-10431/+11437
Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages to eliminate tromboned calls. Note: Asterisk already supported initiating the transfer of calls to eliminate tromboned calls to libpri so there was nothing to do for the asterisk portion. Review: https://reviewboard.asterisk.org/r/520/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266926 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-02pthread_join to assure the thread is really gonepabelanger1-1/+6
(closes issue #15465) Reported by: fnordian Patches: bridging.patch uploaded by fnordian (license 110) Tested by: lmadsen, fnordian, peterh Review: https://reviewboard.asterisk.org/r/679/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266877 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Use the correct ical.h filetwilson1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266832 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Support setting locale per-mailbox (changes date/time languages for email, ↵tilghman9-7304/+30146
pager messages). (closes issue #14333) Reported by: klaus3000 Patches: 20090515__issue14333.diff.txt uploaded by tilghman (license 14) app_voicemail.c-svn-trunk-rev211675-patch.txt uploaded by klaus3000 (license 65) Tested by: klaus3000 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266828 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Set app and appdata fields when a Dial is redirectedtwilson2-0/+5
(closes issue #17204) Reported by: one47 Tested by: twilson, one47 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266786 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Don't register functions until the last possible point, so they're not ↵tilghman1-12/+19
unloaded unnecessarily. (closes issue #15996) Reported by: junky Patches: sdmi_wait.diff uploaded by junky (license 177) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266735 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Eliminate stale manager events after a set interval, even if AMI clients ↵tilghman1-40/+52
don't query for them. Actions (or failures to act) by external clients should not cause memory leaks in Asterisk, especially when those continued leaks could cause Asterisk to misbehave later. (closes issue #17234) Reported by: mav3rick Patches: 20100510__issue17234.diff.txt uploaded by tilghman (license 14) 20100517__issue17234__trunk.diff.txt uploaded by tilghman (license 14) Tested by: mav3rick, davidw (closes issue #17365) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266682 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-01Merged revisions 266585 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r266585 | tilghman | 2010-06-01 10:17:46 -0500 (Tue, 01 Jun 2010) | 11 lines Prevent CLI prompt from distorting output of lines shorter than the prompt. Uses the VT100 method of clearing the line from the cursor position to the end of the line: Esc-0K (closes issue #17160) Reported by: coolmig Patches: 20100531__issue17160.diff.txt uploaded by tilghman (license 14) Tested by: coolmig ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266592 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-30Needs to be wrapped in <para>tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266522 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-30Merged revisions 266437 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r266437 | tilghman | 2010-05-29 23:43:28 -0500 (Sat, 29 May 2010) | 2 lines Reverting patch and reopening issue #16784, as patch breaks color display. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266438 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28Fix ical library handling (again)twilson4-167/+124
Newer versions of libical (which we require) store the header file in a libical/ subfolder and include an ical.h file that does a #warning for deprecation and then #includes <libical/ical.h>. Since we now test for libical/ical.h, we can change the #includes back to <libical/ical.h> and remove the test which specifically adds /usr/include/libical as an include directory. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266386 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28Setup environment variables for the benefit of child processes and disallow ↵tilghman3-1/+18
changing them. (closes issue #14899) Reported by: jmls Patches: 20090916__issue14899.diff.txt uploaded by tilghman (license 14) Tested by: jmls git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266385 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28Only report swap on platforms which can examine those statisticstilghman1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266337 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28fixes crash when creation of UDPTL failsdvossel1-12/+27
(closes issue #17264) Reported by: falves11 Patches: issue_17264_reviewboard_fix.diff uploaded by dvossel (license 671) issue_17264_1.6.2_reviewboard_fix.diff uploaded by dvossel (license 671) Tested by: falves11 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266292 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-28More build fixes for ical/neon and res_calendar_ewstwilson3-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266289 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-27fix compile errorjpeeler1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266240 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-27Cache query results for one second.tilghman2-1/+127
Queries from the PBX core come in 3's. Caching avoids the additional performance penalty from those two additional queries hitting the database. (closes issue #16521) Reported by: tilghman Patches: 20091229__issue16521.diff.txt uploaded by tilghman (license 14) Tested by: Hubguru, tilghman git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266238 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Merged revisions 266142 via svnmerge from tilghman3-30/+56
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r266142 | tilghman | 2010-05-26 16:11:44 -0500 (Wed, 26 May 2010) | 14 lines Use sigaction for signals which should persist past the initial trigger, not signal. If you call signal() in a Solaris signal handler, instead of just resetting the signal handler, it causes the signal to refire, because the signal is not marked as handled prior to the signal handler being called. This effectively causes Solaris to immediately exceed the threadstack in recursive signal handlers and crash. (closes issue #17000) Reported by: rmcgilvr Patches: 20100526__issue17000.diff.txt uploaded by tilghman (license 14) Tested by: rmcgilvr ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266146 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Remove redundant ast_conntected_line_free call.mmichelson1-1/+0
This wouldn't cause any problems, but it's certainly not needed either. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266098 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Remove unrelated MOH change from previous commit.mmichelson1-4/+0
Thanks Kevin! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266094 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Fix misspelling of macro args.mmichelson2-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266092 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26do all sip registry parsing before transmit_registerdvossel4-96/+244
This patch breaks up every part of the sip registry string during config parsing and removes all parsing from transmit_register(). Thanks to Nick_Lewis for contributing this patch! (closes issue #14331) Reported by: Nick_Lewis Patches: chan_sip.c-domparse.patch uploaded by Nick Lewis (license 657) chan_sip.c.patch uploaded by Nick Lewis (license 657) chan_sip.c.domainparse3.patch uploaded by Nick Lewis (license 657) chan_sip.c-domparse4.patch uploaded by Nick Lewis (license 657) chan_sip.c-domparse5.patch uploaded by Nick Lewis (license 657) nicklewispatch.diff uploaded by dvossel (license 671) Tested by: Nick_Lewis, dvossel Review: https://reviewboard.asterisk.org/r/628/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266090 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26fixes failed SIP Directed pickup resulting in dead channeldvossel1-0/+1
(closes issue #17339) Reported by: one47 Patches: sip_magic_pickup2 uploaded by one47 (license 23) Tested by: one47, dvossel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266006 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Blocked revisions 266004 via svnmergemmichelson0-0/+0
........ r266004 | mmichelson | 2010-05-26 13:21:10 -0500 (Wed, 26 May 2010) | 12 lines Make AgentComplete message more consistent. At times, the "Member" field was not specified during the event. It's there now. (closes issue #15638) Reported by: elbriga Patches: patchAppQueueAgentComplete.diff uploaded by elbriga (license 482) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266005 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Merged revisions 265910 via svnmerge from tilghman1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r265910 | tilghman | 2010-05-26 11:21:00 -0500 (Wed, 26 May 2010) | 7 lines Not finding rows in the DB does not rise to the level of a warning. (closes issue #17062) Reported by: drookie Patches: 20100525__issue17062.diff.txt uploaded by tilghman (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265923 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26Construct socket name, according to the Postgres docs, and document as such.tilghman2-3/+10
(closes issue #17392) Reported by: dps Patches: 20100525__issue17392.diff.txt uploaded by tilghman (license 14) Tested by: dps git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265894 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-26.......mmichelson1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265844 f38db490-d61c-443f-a65b-d21fe96a405b