aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-01-31Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101648 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Importing files for 1.4.18 releaserussell3-0/+15430
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Creating tag for the release of asterisk-1.4.18russell10-15400/+52
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101646 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Fix a couple of places where ast_frfree() was not called on a frame that camerussell2-0/+3
from a translator. This showed itself by g729 decoders not getting released. Since the flag inside the translator frame never got unset by freeing the frame to indicate it was no longer in use, the translators never got destroyed, and thus the g729 licenses were not released. (closes issue #11892) Reported by: xrg Patches: 11892.diff uploaded by russell (license 2) Tested by: xrg, russell git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101601 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-311. Prevent the addition of an extra '/' to the beginning of an absolute ↵mmichelson1-7/+22
pathname. 2. If ast_monitor_change_fname is called and the new filename is the same as the old, then exit early and don't set the filename_changed field in the monitor structure. Setting it in this case was causing ast_monitor_stop to erroneously delete them. (closes issue #11741) Reported by: garlew Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101531 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Solaris compat fixes for struct in_addr funkiness.qwell2-3/+6
Issue #11885, patch by snuffy. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101482 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31closes issue #11845; that's the one where there's a 1004 byte cdr leak with ↵murf1-1/+2
every AMI Redirect to a zap channel git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101480 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Add more missing locking of the agents list ...russell1-3/+11
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101433 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Move the locking from find_agent() into the agent dialplan function handler torussell1-2/+8
ensure that the agent doesn't disappear while we're looking at it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101414 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31Add missing locking to the find_agent() function.russell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101413 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101320 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Importing files for 1.4.18 releaserussell3-0/+15386
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101319 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Creating tag for the release of asterisk-1.4.18russell12-15334/+30
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@101318 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Fix an issue where if a frame of higher sample size preceeded a frame of ↵file1-2/+2
lower sample size and ast_slinfactory_read was called with a sample size of the combined values or higher a crash would happen. (closes issue #11878) Reported by: stuarth git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101222 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Change default config to use descending channel order of groups, rather than ↵qwell1-4/+4
ascending. Fixes a potential source of confusion in glare-type situations. Issue 11875, reported by JimVanM. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101219 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Fix a logic error with regards to autofill. Prior to this change, it was ↵mmichelson1-2/+3
possible for a caller to go out of turn if autofill were enabled and callers ahead in the queue were attempting to call a member. This change fixes this. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101216 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30Stop musiconhold on attended transfer.oej1-1/+3
(closes issue #11872) Reported by: gareth Patches: svn-101018.patch uploaded by gareth (license 208) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29updated build_tools to handle the autotag directory structure changes; ↵dhubbard1-0/+6
changes related to BE-353. Patch by Russell and reviewed by Me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101080 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Remove a memory leak from updating realtime queuesmmichelson1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101035 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Fixing an erroneous return value returned when attempting to pause or ↵mmichelson1-2/+2
unpause a queue member fails. Fixes BE-366, thanks to John Bigelow for writing the patch. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100973 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Don't forget to record the channel so we know whether it is bridged or not ↵file1-0/+1
later. (closes issue #11811) Reported by: slavon git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100934 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Fix the last couple of issues related to building from a path that contains ↵russell1-2/+2
spaces. (closes issue #11834) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100932 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Initialize an array to 0s if config option not specified.qwell1-1/+2
(closes issue #11860) Patches: misdn_get_config.v1.diff uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100930 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Use GNU make magic instead of shell magic to escape spaces in the working ↵russell1-1/+3
directory. (related to issue #11834) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100922 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Fix building Asterisk when the working path has spaces in it.russell1-1/+1
(closes issue #11834) Reported by: spendergrass Patched by: me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100882 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100880 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Importing files for 1.4.18 releaserussell3-0/+15317
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100879 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Creating tag for the release of asterisk-1.4.18russell6-15310/+37
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100878 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29Allow zap groups above 30 to work properly.qwell1-3/+3
(closes issue #11590) Reported by: tbsky git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100835 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29fixed potential segfault in misdn show channels CLI commandcrichter1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29(closes issue #11736)oej1-6/+25
Reported by: MVF Patches: bug11736-2.diff uploaded by oej (license 306) Tested by: oej, MVF, revolution (russellb: This was the showstopper for the release.) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100740 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100736 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Importing files for 1.4.18 releaserussell3-0/+15300
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100735 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Creating tag for the release of asterisk-1.4.18russell3-15300/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100734 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Use autotagged externalsrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100732 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Importing files for 1.4.18 releaserussell3-0/+15300
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100731 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Creating tag for the release of asterisk-1.4.18russell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.18@100730 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28WaitExten didn't handle AbsoluteTimeout properly (went to 't' instead of 'T')tilghman1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100675 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Undoing the deprecation of chan_vpb. It is alive and well.mmichelson2-11/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100673 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28When using ODBC_STORAGE, make sure we put greeting files into the database ↵qwell1-33/+40
like we do with the others. Issue #11795 Reported by: dimas Patches: vmgreet.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100672 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28For some reason, the use of this strdupa() is leading to memory corruption onrussell1-3/+3
freebsd sparc64. This trivial workaround fixes it. (closes issue #10300, closes issue #11857, reported by mattias04 and Home-of-the-Brave) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100629 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Fix a crash in ast_masq_park_call()russell1-1/+5
(issue #11342) Reported by: DEA Patches: res_features-park.txt uploaded by DEA (license 3) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100626 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Correct a comment which made little/no sense.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100624 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28Make some deadlock related fixes. These bugs were discovered and reportedrussell3-22/+35
internally at Digium by Steve Pitts. - Fix up chan_local to ensure that the channel lock is held before the local pvt lock. - Don't hold the channel lock when executing the timing function, as it can cause a deadlock when using chan_local. This actually changes the code back to be how it was before the change for issue #10765. But, I added some other locking that I think will prevent the problem reported there, as well. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100581 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-27When deleting a task from the scheduler, ignoring the return value couldtilghman11-254/+151
possibly cause memory to be accessed after it is freed, which causes all sorts of random memory corruption. Instead, if a deletion fails, wait a bit and try again (noting that another thread could change our taskid value). (closes issue #11386) Reported by: flujan Patches: 20080124__bug11386.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76, flujan, stuarth` git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100465 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25Deprecating chan_vpb. It is now preferred that users of Voicetronix productsmmichelson2-0/+11
use chan_zap in combination with their zaptel drivers. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100418 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25This would have never been true, since we're passing (sizeof(req.data) - 1) ↵qwell1-4/+3
as the len to recvfrom(). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100378 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24make these macros not assume that the only other field in the structure is ↵kpfleming1-2/+2
'argc'... this is true when someone uses AST_DECLARE_APP_ARGS, but it's perfectly reasonable to define your own structure as long as it has the right fields git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24Update main Asterisk copyright info to 2008russell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100164 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24Fix compilation on Solaris.qwell1-3/+6
(closes issue #11832) Patches: bug-11832.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100138 f38db490-d61c-443f-a65b-d21fe96a405b