aboutsummaryrefslogtreecommitdiffstats
path: root/main/app.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-30Fix a spot where a function could return without bringingmmichelson1-1/+5
a channel out of autoservice. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134475 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-20If the last character in a string to be parsed is the delimiter, then we shouldtilghman1-2/+6
count that final empty string as an additional argument. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@124395 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff ↵jpeeler1-1/+1
should continue working. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-11Backport fix for 11520--for some reason I didn't do this back in February ↵twilson1-0/+12
when I patched for trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@121992 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25Add an option (transmit_silence) which transmits silence during both ↵file1-0/+9
Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases. (closes issue #10058) Reported by: tracinet git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@110628 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18There was an invalid assumption when calculating the duration of a file that ↵mmichelson1-1/+1
the filestream in question was created properly. Unfortunately this led to a segfault in the situation where an unknown format was specified in voicemail.conf and a voicemail was recorded. Now, we first check to be sure that the stream was written correctly or else assume a zero duration. (closes issue #12021) Reported by: jakep Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@103786 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-27on second thought... revert all the other changes i've made in app options ↵kpfleming1-5/+1
parsing leaving only one: if an empty argument is supplied for an option, set that argument pointer to point to an empty string rather than NULL, so that the application can do normal checks on it without worrying about it being NULL git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89709 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-27generate a warning when an application option that requires an argument is ↵kpfleming1-2/+5
ignored due to lack of an argument git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89701 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26when parsing application options that take arguments, don't indicate that ↵kpfleming1-1/+2
the option was supplied unless a non-zero-length argument was found for it git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89586 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-24Currently, zero-length voicemail messages cause a hangup in VoicemailMain.tilghman1-3/+11
This change fixes the problem, with a multi-faceted approach. First, we do our best to avoid these messages from being created in the first place, and second, if that fails, we detect when the voicemail message is zero-length and avoid exiting at that point. Reported by: dtyoo Patch by: gkloepfer,tilghman (Closes issue #11083) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89540 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-14When a recording ends with '#', we are improperly trimming an extra 200ms ↵tilghman1-3/+10
from the recording. Reported by: sim Patch by: tilghman Closes issue #11247 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89275 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19When returning a DTMF digit from ast_control_streamfile cast it as a char so ↵file1-0/+4
that 0 does not overlap with the success return code. (closes issue #11023) Reported by: cfc git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@86502 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-25jmls pointed out that unsetting the group and setting the group to the blank ↵tilghman1-2/+4
string aren't quite the same. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83773 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24Making change to group splitting, as discussed on the -dev list. The maintilghman1-1/+1
effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83637 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Found another place where we should be using the umask (thanks jcmoore)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76891 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74264 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74264 | file | 2007-07-10 11:48:00 -0300 (Tue, 10 Jul 2007) | 2 lines Ensure the group information category exists before trying to do a string comparison with it. (issue #10171 reported by mlegas) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74265 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-13Merged revisions 69127 via svnmerge from file1-3/+7
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r69127 | file | 2007-06-13 14:12:48 -0400 (Wed, 13 Jun 2007) | 2 lines Return group counting to previous behavior where you could only have one group per category. (issue #9711 reported by irroot) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69128 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-07Merged revisions 63285 via svnmerge from file1-0/+14
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r63285 | file | 2007-05-07 17:39:52 -0400 (Mon, 07 May 2007) | 2 lines Properly handle what happens during a masquerade in relation to group counting. (issue #9657 reported by ramonpeek) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@63286 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-25Merged revisions 61804 via svnmerge from file1-38/+81
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61804 | file | 2007-04-25 14:52:50 -0400 (Wed, 25 Apr 2007) | 2 lines Merge rewritten group counting support. No more storing data on the variable list of the channels. That was bad, mmmk? (issue #7497 reported by sabbathbh) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61805 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Merged revisions 59886 via svnmerge from russell1-6/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59886 | russell | 2007-04-03 12:58:19 -0500 (Tue, 03 Apr 2007) | 5 lines When doing a built-in blind or attended transfer, restore the ability to use '#' to terminate the number and immediately do the transfer instead of having to dial the number and just wait for the feature digit timeout. (issue #8366, xueliangliang) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59887 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.qwell1-14/+28
Issue 8832, patch(es) by tgrman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51265 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Issue #8246 - Doxygen fixes from kshumard. oej1-2/+6
An extra big thankyou is given to everyone that contributes to doxygen! THANK YOU! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05don't segfault when an argument without a close parenthesis is foundkpfleming1-2/+2
stop parsing as soon as that situation occurs git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44476 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla ↵file1-9/+2
Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+1328
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b