aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-02-14Update documentation regarding configuration of IMAPmmichelson1-8/+18
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103701 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Change to the configure logic regarding IMAP. Prior to this commit, if you ↵mmichelson4-6374/+2728
wished to configure Asterisk with IMAP support, you would use the --with-imap configure switch in one of the following two ways: --with-imap=/some/directory would look in the directory specified for a UW IMAP source installation --with-imap would assume that you had imap-2004g installed in .. relative to the Asterisk source With this set of changes the two above options still work the same, but there are two new behaviors, too. --with-imap=system will assume that you have -libc-client.so where you store your shared objects and will attempt to find c-client headers in your include path either in the imap or c-client directory. If either of the two original methods of specifying the imap option should fail, then the check for --with-imap =system will be performed in addition. It is only after this "system" check that failure can happen. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103698 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Fix build for non-IMAP buildsmmichelson1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103690 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Fix the new message count if delete=yes when using IMAP storage.mmichelson1-7/+12
(closes issue #11406) Reported by: jaroth Patches: deleteflag_v2.patch uploaded by jaroth (license 50) Tested by: jaroth git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103688 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14swap location for this..qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14Document the 'l' option to the CDR() function.qwell1-0/+1
(Thanks voipgate for pointing out the option, and Leif for providing text for it.) Closes issue #11695. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103683 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-13We aren't talking to ourselves; we're talking to someone else.tilghman1-1/+5
(closes issue #11771) Reported by: msetim Patches: ami_agent_talkingto-1.4.diff uploaded by caio1982 (license 22) Tested by: caio1982, msetim git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103607 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-13Refuse to load app_voicemail if res_adsi is not loaded (which is a symbol ↵tilghman1-0/+7
dependency) (closes issue #11760) Reported by: non-poster Patches: 20080114__bug11760.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76, non-poster, jamesgolovich git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103556 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-12revert accidental change from last commit. oopsqwell1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103504 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-12Remove condition that was impossible.qwell2-14/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103503 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-12Even if no CallerID name or number has been provided by the remote party ↵file1-4/+4
still use the configured sip.conf ones. (closes issue #11977) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103385 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-11If entering a conference with the 'w' option ensure that we can't listen or ↵file1-1/+3
speak until the marked user appears. (closes issue #11835) Reported by: alanmcmillan git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103324 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-11improve 2BCT documentation a bit (thanks Jared)kpfleming1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103315 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-09Commit fix for being unable to send voicemail from VoiceMailMaintilghman1-1/+5
Reported by: William F Acker (via the -users mailing list) Patch by: Corydon76 (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Prevent a potential three-thread deadlock. Also added a comment blockmmichelson1-7/+22
to explicitly state the locking order necessary inside app_queue. (closes issue #11862) Reported by: flujan Patches: 11862.patch uploaded by putnopvut (license 60) Tested by: flujan git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103120 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Yield the thread and return -1 if the ioctl fails for Zaptel timing device.mmichelson1-3/+5
(closes issue #11891) Reported by: tzafrir git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103070 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-08Make sure the presence of dbsecret is factored into user scoring.file1-1/+1
(closes issue #11952) Reported by: bbhoss git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102968 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-07Specify which digit string was matched in debug message.qwell1-1/+1
(closes issue #11949) Reported by: dimas Patches: v1-feature-debug.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102858 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-07document usage of 'transfer' configuration option for ISDN PRI switch-side ↵kpfleming1-2/+6
transfers git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102807 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Only consider a T.38-only INVITE compatible if we have both a joint ↵file1-1/+1
capability between us and them and if they provided T.38. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Add missing header file and ASTERISK_FILE_VERSION usage.file1-0/+4
(closes issue #11936) Reported by: snuffy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102653 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Clarify setting DYNAMIC_FEATURES so that it gets inherited by outbound channels.russell1-1/+4
(due to a discussion between me and a user via email) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102651 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06ensure that all remaining multi-object modules are built using their proper ↵kpfleming2-0/+6
CFLAGS and include directory paths git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102627 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-06Move around some defines to unbreak ODBC storage.tilghman1-27/+25
(closes issue #11932) Reported by: snuffy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102576 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Clear the DTMF buffer on hangup.mmichelson1-0/+3
(closes issue #11919) Reported by: eferro Patches: mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337) Tested by: eferro git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102453 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05If a REGISTER attempt comes in that is a retransmission of a previous ↵file1-3/+9
REGISTER do not create a new nonce value. (issue #BE-381) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102450 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05ensure that components of chan_misdn.so are built using any special build ↵kpfleming1-0/+2
options that the configure script generated (reported by Philipp Kempgen on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102425 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05Perform dialing asynchronously when using the originate CLI command so the ↵file1-2/+2
CLI does not appear to block. (closes issue #11927) Reported by: bbhoss git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102378 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04Cross-platform fix: OS X now deprecates the use of the daemon(3) API.tilghman5-1772/+6137
(closes issue #11908) Reported by: oej Patches: 20080204__bug11908.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102323 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04Missing braces.tilghman1-1/+2
(closes issue #11912) Reported by: dimas Patches: sprintf.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102214 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261)oej1-2/+2
(closes issue #9492) Reported by: kryptolus Patches: bug9492.txt uploaded by oej (license 306) Tested by: oej git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102142 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03Handle ACK and CANCEL in an invite transaction - even if we get INFO ↵oej1-6/+11
transactions during the actual call setup. (closes issue #10567) Reported by: jacksch Tested by: oej Patch by: oej inspired by suggestions from neutrino88 in the bug tracker git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102090 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Change the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 ↵russell1-1/+6
kHz, it is supposed to specified as 8 kHz in the RTP, and RTP timestamps are supposed to be calculated based on 8 kHz. (Apparently this is due to a bug in a spec, but people follow it anyway, because it's the spec ...) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101989 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Fix the VM_DUR variable for forwarded voicemail, and fixed several other bugstilghman1-29/+61
while I'm in the area. (closes issue #11615) Reported by: jamessan Patches: 20071226__bug11615__2.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76, jamessan git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101942 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from ↵tilghman4-367/+59
trunk (as suggested by kpfleming) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101894 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Remove a needless (and incorrect) call to feof() after fgets().qwell1-1/+1
This would have exited the loop early if you had an authentication file with no newline at the end. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101822 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01off by one errorrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101820 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Don't overwrite the last character of a line if it's not a newline. This wouldrussell1-1/+3
happen if the last line in the file doesn't have a newline. (pointed out by Qwell) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)tilghman4-2/+424
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101772 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01Add some more sanity checking on IAX2 dial strings for the case that no peerrussell1-7/+19
or hostname was provided, which is the one part of the dial string that is absolutely required. If it's not there, bail out. (closes issue #11897) Reported by sokhapkin Patch by me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101693 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01From bugtracker: "fix totalAnalysisTime to handle periods of no channel ↵mmichelson1-8/+40
activity" (closes issue #9256) Reported by: cmaj Patches: amd-dont-wait-too-long-for-frames-take3.diff.txt uploaded by cmaj (license 111) Tested by: cmaj, skygreg, ZX81, rjain git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101649 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-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