aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-02-09Update ChangeLog and .version files.v1.4.30-rc2lmadsen2-21/+9
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245791 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Copy .version file.lmadsen1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245790 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Add ChangeLog.lmadsen1-0/+27516
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245789 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Use autotagged externalslmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245788 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Importing release summary for 1.4.30-rc2 release.lmadsen2-0/+508
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245787 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Create Asterisk 1.4.30-rc2.lmadsen1-32/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245786 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Create Asterisk 1.4.30-rc2.lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.30-rc2@245784 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-04Change channel state on local channels for busy,answer,ring.jpeeler1-0/+32
Previously local channels channel state never changed. This became problematic when the state of the other side of the local channel was lost, for example during a masquerade. Changing the state of the local channel allows for the scenario to be detected when the channel state is set to ringing, but the peer isn't ringing. The specific problem scenario is described in 164201. Although this was noted on one of the issues, here is the tested dialplan verified to work: exten => 9700,1,Dial(Local/*9700@default&Local/#9700@default) exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1) exten => *9700,n,wait(3) ;3 works, 1 did not exten => *9700,n,Dial(SIP/5001) exten => #9700,1,Wait(1) ;1 works, 3 did not exten => #9700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1) (closes issue #14992) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@244785 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-01Backup and restore original textfile, for prosthesis (gerund of prepend).tilghman1-6/+30
Also, fix menuselect such that changing voicemail build options correctly causes rebuild. (closes issue #16415) Reported by: tomo1657 Patches: prepention.patch uploaded by tomo1657 (license 484) (with modifications by me to backport to 1.4) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@244242 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-01When a transferer hangs up during an attended transfer BEFORE the transfer ↵tilghman1-16/+49
is answered, don't stop playing MOH. (closes issue #16513) Reported by: litnimax Patches: atxfer_moh_16513.patch uploaded by gknispel proformatique (license 261) Tested by: litnimax git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@244151 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-01Revert previous chan_local fix (r236981) and fix instead by destroying ↵tilghman2-18/+16
expired frames in the queue. (closes issue #16525) Reported by: kobaz Patches: 20100126__issue16525.diff.txt uploaded by tilghman (license 14) 20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license 14) Tested by: kobaz, atis (closes issue #16581) Reported by: ZX81 (closes issue #16681) Reported by: alexr1 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@244070 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-28Oops, correct wrong link (https vs. http) in previous commit.lmadsen1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243863 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-28Update location of bug tracker in documentation.lmadsen1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243862 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-28Fix a bogus third argument to ast_copy_string().russell1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243779 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-27Revert 243570, I should have looked at this closer. Will reopen the issue, butjpeeler1-1/+1
am leaving the review closed as the change was pointless. (issue #16488) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243691 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-27Extend announcement URL used with Queue from 80 chars to PATH_MAX.jpeeler1-1/+1
(closes issue #16488) Reported by: syspert Patches: soundfilelen.pacth-2 uploaded by syspert (license 938) Review: https://reviewboard.asterisk.org/r/475/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243570 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-27Use a safe list traversal while checking for duplicate vars in ↵mmichelson1-2/+3
pbx_builtin_setvar_helper. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243486 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-26fixes bug with channel receiving wrong privileges after call parking dvossel1-1/+5
(closes issue #16429) Reported by: Yasuhiro Konishi Patches: features.c.diff uploaded by Yasuhiro Konishi (license 947) Tested by: dvossel git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243390 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-26Remove unnecessary code in ast_read as issue 16058 has been fully solved now.jpeeler1-13/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@243258 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Err, and use the new menuselect define, too.tilghman2-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242969 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Only rebuild parsers by an option in menuselecttilghman4-8/+39
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242966 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Restore FreeBSD to able-to-compile-ish-modetilghman4-5/+79
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242852 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Remove debugging that indeed should have been gone before commit. Sorry.oej1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242851 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Report error when writing to functions returns error in AMI setvar actionoej1-3/+14
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242850 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Buildbot pointed out an error (thanks, buildbot!)tilghman2-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242728 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Oops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.tilghman2-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242723 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Make the build of the Asterisk expression parser match that of the AEL parser.tilghman1-5/+15
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242683 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-24Only rebuild bison and flex source files on demand, if bison and flex are ↵tilghman6-6229/+19441
detected by the configure script. Changed after discussion on the -dev list about possible unnecessary build failures, due to checkouts/untars causing these special source files to possibly be newer than their resulting C files. This should additionally ensure that nobody need learn about extra Makefile arguments to ensure the proper files get rebuilt when changes are made to these special source files. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242520 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-22Rebuild from flex, bison sources when necessary.tilghman1-2/+4
(issue #14629) Reported by: Marquis Patches: 20100121__issue14629.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242423 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-22Initialize notify_types to NULLoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242226 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-22Add Dialed Number Identifier (DNID) field to cdr.alecdavis1-0/+1
Branch support, retains ABI, if backend CDR collector is adaptive then database requires 'dnid' field to be added, otherwise no functional changes. Reported by: alecdavis Tested by: alecdavis Patch cdr_dnid.diff2.txt uploaded by alecdavis (license 585) Review: https://reviewboard.asterisk.org/r/455/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242142 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-21Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.seanbright2-4/+6
(closes issue #16666) Reported by: romain_proformatique git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241932 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-21Guard against division by zero.tilghman1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241765 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-20fixes parsing error in Makefile.dvossel1-5/+5
Some echo lines were missing "; . Thanks to jparker for pointing out the problem. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241626 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-20Modify fix for issue 16554 to be more inline with what is already in trunk.seanbright1-8/+9
I should have taken a closer look at trunk/1.6.x, as this bug has already been fixed in a much more simple manner, by just settings o->vars to NULL after the ast_pbx_outgoing_* calls. (issue #16554) Reported by: mav3rick git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241544 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-20Fix a memory leak in pbx_spool when using SetVar in a call file.seanbright1-7/+10
In pbx_spool, when we are freeing our 'outgoing' struct, we weren't deallocating the ast_variable list we had built from SetVars in a call file. Adding a call to ast_variables_destroy in our deallocation routine works, but only if the variables have not already been passed into ast_pbx_outgoing_app() or _exten(), both of which take care of destroying the variable list for us. (closes issue #16554) Reported by: mav3rick Patches: issue16554_20100119.patch uploaded by seanbright (license 71) Tested by: mav3rick git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241543 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-20Update CDR variables as pbx startsalecdavis1-0/+4
Allows CDR variables added in cdr.c:set_one_cid to become visable during the call, by executing ast_cdr_update() early in __ast_pbx_run. Based on cdr_update.diff3.txt (issue #16638) Reported by: alecdavis Patches: cdr_update.diff3.txt uploaded by alecdavis (license 585) Tested by: alecdavis git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241458 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-19Allow parallel make (-j) to work properly.qwell1-2/+2
1.4 changes are quite different from the others. (issue #16489) Reported by: Chainsaw Tested by: qwell git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241228 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-19Fix deadlock in agent_read by removing call to agent_logoff.jpeeler1-1/+22
One must always lock the agents list lock before the agent private. agent_read locks the private immediately, so locking the agents list lock is not an option (which is what agent_logoff requires). Because agent_read already has access to the agent private all that is necessary is to do the required hanging up that agent_logoff performed. (closes issue #16321) Reported by: valon24 Patches: bug16321.patch uploaded by jpeeler (license 325) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241227 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18Plug a memory leak when reading configs with their comments.seanbright1-8/+15
While reading through configuration files with the intent of returning their full contents (comments specifically) we allocated some memory and then forgot to free it. This doesn't fix 16554 but clears up a leak I had in the lab. (issue #16554) Reported by: mav3rick Patches: issue16554_20100118.patch uploaded by seanbright (license 71) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@241015 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18updated transmit_silence option documentation in asterisk.confdvossel1-1/+5
This patch updates the transmit_silence option to better document why the option exists, and what it affects. Thanks to russell for providing the verbage for this update. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240891 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18Fix muted compilation in 1.4 onlyoej1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240768 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15Fix a spelling error in the asterisk.conf sample.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240547 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15Disallow leaving more than maxmsg voicemails.tilghman1-5/+72
This is a possibility because our previous method assumed that no messages are left in parallel, which is not a safe assumption. Due to the vmu structure duplication, it was necessary to track in-process messages via a separate structure. If at some point, we switch vmu to an ao2-reference-counted structure, which would eliminate the prior noted duplication of structures, then we could incorporate this new in-process structure directly into vmu. (closes issue #16271) Reported by: sohosys Patches: 20100108__issue16271.diff.txt uploaded by tilghman (license 14) 20100108__issue16271__trunk.diff.txt uploaded by tilghman (license 14) 20100108__issue16271__1.6.0.diff.txt uploaded by tilghman (license 14) Tested by: jsutton git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@240414 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13Fix regression for timed out parked call returning to callerjpeeler1-0/+5
This issue seems to have been exposed by the fix in 160390 whereby using a masquerade prevented a crash. The new channel used in the masquerade was not copying the macro information from the old channel. (closes issue #15459) Reported by: djrodman Patches: patch_15459.txt uploaded by mnick (license ) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@239838 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13add silence gen to wait appsdvossel4-8/+43
asterisk.conf's 'transmit_silence' option existed before this patch, but was limited to only generating silence while recording and sending DTMF. Now enabling the transmit_silence option generates silence during wait times as well. To achieve this, ast_safe_sleep has been modified to generate silence anytime no other generators are present and transmit_silence is enabled. Wait apps not using ast_safe_sleep now generate silence when transmit_silence is enabled as well. (closes issue 0016524) Reported by: kobaz (closes issue 0016523) Reported by: kobaz Tested by: dvossel Review: https://reviewboard.asterisk.org/r/456/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@239718 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12Portability and other fixes for the safe_asterisk scripttilghman1-38/+32
(closes issue #16416) Reported by: bklang Patches: safe_asterisk-compat-1.patch uploaded by bklang (license 919) 20100106__issue16416__trunk.diff.txt uploaded by tilghman (license 14) Tested by: bklang git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@239307 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-09-1 is interpreted as an error, intead of the maximum mask.tilghman1-1/+1
(closes issue #16241) Reported by: vnovy Patches: manager.c.patch uploaded by vnovy (license 922) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238915 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Stop a crash when no peer is passed to masq_park_call.jpeeler1-1/+1
(distantly related to issue #16406) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238834 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Properly calculate the remaining space in the output string when reducing ↵mnicholson1-4/+7
format strings. (closes issue #16560) Reported by: goldwein git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238629 f38db490-d61c-443f-a65b-d21fe96a405b