aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-09-09more makefile tweaks to keep targets from being run when they don't need to bekpfleming5-10/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Get rid of ugly tmp directory, although I really shouldmogorman1-11/+7
fix the way imap accesses its temporary voice files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42491 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08minor performance improvementkpfleming4-18/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Merged revisions 42452 via svnmerge from file1-0/+23
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines Swap spies during masquerading ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42453 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08As per discussion on bug 7862, the problem wasn't the fact that the ↵murf1-4/+6
documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Merged revisions 42421 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42421 | tilghman | 2006-09-08 11:06:17 -0500 (Fri, 08 Sep 2006) | 2 lines Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Blocked revisions 42402 via svnmergefile0-0/+0
........ r42402 | file | 2006-09-08 00:37:07 -0400 (Fri, 08 Sep 2006) | 2 lines Use ast_best_codec to set the read/write format ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Formatting fixes for chan_oss (issue #7808 reported by Mithraen)file1-241/+211
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42389 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more ↵file1-253/+247
mods done by myself) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42388 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08whentohangup is already in seconds, just need to convert to millisecondsfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz ↵file1-3/+10
with minor mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42373 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Merged revisions 42355 via svnmerge from tilghman1-1/+28
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42355 | tilghman | 2006-09-07 18:12:29 -0500 (Thu, 07 Sep 2006) | 2 lines Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Use flags instead of variables on the private structure for thingsfile1-21/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Make sure we give a little warning about the echotraining optionmattf1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42324 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Code cleaning/updates/potential bug fixesfile1-75/+64
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Minor cleanup and make sure the tmp variable is cleanfile1-5/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Use lower case 'x' instead of a UTF-8 character (issue #7888 reported by ↵file1-1/+1
flefoll) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07protect curhst and curusrmogorman1-7/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Convert some warnings into debug messages since they can exist under ↵file1-2/+4
perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07minor wording fixkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42263 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Set the variable even if the caller disconnects (issue #7896 reported by jsmith)file1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42262 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Merged revisions 42260 via svnmerge from file1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42261 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07patch to fix several things wrong with voicemailmogorman1-112/+87
imap storage. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42259 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Comment out default from extensions.aelmarkster1-5/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42244 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07With respect to bug 7862, the syntax and description are misleading to ↵murf1-2/+6
users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.murf1-70/+76
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42208 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07don't try to get the length of the string in the ast_dynamic_str object ↵kpfleming1-1/+1
unless we know there is actually one there git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42185 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Fix a small typo, to make app_followme.c show properly in "show version files"qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06This one's for you, mogqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Merged revisions 42148 via svnmerge from file1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42148 | file | 2006-09-06 16:02:59 -0400 (Wed, 06 Sep 2006) | 2 lines Don't close the second file descriptor if it's the same as the first one, as it will have already been closed elsewhere and could cause massive panic. (issue #7699 reported by bn999) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42149 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug ↵crichter1-2/+4
log to the very begining of misdn_hangup. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06These small app documentation changes to app_dial and app_read will ↵murf2-2/+4
hopefully avert any more 7544 type bug reports\! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42111 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Make this module fit the guidelines betterfile1-115/+103
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42109 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Merged revisions 42086 via svnmerge from file1-6/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42086 | file | 2006-09-06 11:55:20 -0400 (Wed, 06 Sep 2006) | 2 lines Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05- Free allocated memory before returning from functionoej1-207/+194
- Fix bad formatting - Add some comments (more needed to understand what's going on) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42058 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Blocked revisions 42054 via svnmergefile0-0/+0
........ r42054 | file | 2006-09-05 16:02:48 -0400 (Tue, 05 Sep 2006) | 2 lines Merge in last round of spy fixes. This should hopefully eliminate all the issues people have been seeing by distinctly separating what each component (core/spy) is responsible for. Core is responsible for adding a spy to a channel, feeding frames to the spy, removing the spy from a channel, and telling the spy to stop. Spy is responsible for reading frames in, and cleaning up after itself. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42055 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Missing field terminatortilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Minor tweak - we need to lock the channel when we are removing the spy from it.file1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42021 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Merged revisions 42014 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42014 | qwell | 2006-09-05 09:27:46 -0700 (Tue, 05 Sep 2006) | 4 lines Small typo in zapata.conf.sample Reported by ppyy in 7881 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-04Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)oej1-10/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-04Remove old unused functionsfile2-107/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03Use tabs instead of spaces (I <3 tabs -- this is for you Qwell)file1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03Make the difference clear about what the responsibilities of the core and a ↵file4-83/+94
spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03Add the ability to specify that a frame should not be considered for cachingrussell2-6/+14
for uses in cases where you *know* that it will do no good. This patch was inspired by file for use in some work of his on mixmonitor/chanspy. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03when calling this function to append to a dynamic string and the buffer was notrussell1-0/+3
large enough and had to be reallocated, cut off the partially appended data. Otherwise, the function will get called over and over again appending to the end every time and never thinking it has enough room. Thanks to jmls for access to his machine for debugging! (issue #7691) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Provide a little more protection to make sure that a MOH class is specified ↵bweschke1-2/+4
when using the 'm' option with WaitExten, and prevent a segfault in the process. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41930 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in ↵bweschke1-1/+1
asterisk-dev. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41916 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Changes/fixes to the app_waitforsilence app to make it behave more the way ↵bweschke2-67/+86
the author originally intended for it to function along with an option to keep backward compatible with "old-style" functionality in 1.2. (#6595 - davetroy reported and patched w/some very minor mods/corrections) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41915 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 This was added to app_dial a while back, and now it's in app_queue as well. ↵bweschke1-4/+14
Provide an option to prevent members of the queue from forwarding calls from the queue to somewhere else. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Some changes/fixes for func_curl. curl_global_init is only supposed to be ↵bweschke1-2/+13
called once, and if it returns non-zero, we need to give up on further executions with that instance. Additionally, let's set absolute timeout values for the CURL connections to try and prevent possible Zap (and possibly other channel tech) channel lockouts. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41900 f38db490-d61c-443f-a65b-d21fe96a405b