aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-03-18Prevent a crash when a buddy gets offline.phsultan1-0/+6
(closes issue #16760) Reported by: fiddur Patches: 248394.diff uploaded by fiddur (license 678)i with modifications by me Tested by: fiddur, phsultan git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253261 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-18Update to new Local channel documentation.lmadsen1-28/+46
Add same changes as commit to 1.4, but convert to TeX. (issue #16963) Reported by: kobaz Patches: localchannel-2.txt uploaded by kobaz (license 834) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253256 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-18Just in case of a race, send the signal on interrupt.tilghman1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253255 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17main/test.c reports erroneous CLI message.lmadsen1-1/+1
(closes issue #17051) Reported by: Nick_Lewis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253205 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17Switch to using intptr_t, as suggested by Kevin Fleming on the -dev listtilghman1-11/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253113 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17Fix a typo.lmadsen1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253032 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17Merged revisions 253018 via svnmerge from lmadsen1-0/+32
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r253018 | lmadsen | 2010-03-16 19:26:19 -0500 (Tue, 16 Mar 2010) | 6 lines Add french snipset to say.conf. Add the french snipset to say.conf. (Closes issue #15799) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253028 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17Argh.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253004 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-17Fix bamboo compile error by calculating an integer with the same size as a ↵tilghman4-7030/+28829
pointer. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252980 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Mask out previous arguments on each nested invocation of Gosub.tilghman2-6/+181
(closes issue #16758) Reported by: wdoekes Patches: 20100316__issue16758.diff.txt uploaded by tilghman (license 14) Review: https://reviewboard.asterisk.org/r/561/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252976 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Re-enable test_time on non-Linux.russell1-8/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252849 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Include an extra newline after "Aliased CLI command" to get back the prompt.seanbright1-1/+1
The other issue mentioned in this bug will be more difficult to resolve since we have no idea (right now) of knowing if the command that is aliased has been installed yet. (issue #16978) Reported by: jw-asterisk Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252848 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Fix test_time on Mac OS X (and other platforms without inotify)tilghman3-7/+32
Reviewboard: https://reviewboard.asterisk.org/r/554/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252846 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Merged revisions 252766 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252766 | russell | 2010-03-16 14:00:43 -0500 (Tue, 16 Mar 2010) | 6 lines Don't treat warnings as errors for muted. muted supports OS X, but uses functions marked as deprecated in 10.6. However, the functions are still supported, so just ignore the warnings for now and allow the build to proceed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252767 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Merged revisions 252761 via svnmerge from lmadsen1-7/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252761 | lmadsen | 2010-03-16 13:46:20 -0500 (Tue, 16 Mar 2010) | 7 lines Additional extensions.ael global variable fixes. Fixing up a couple more overlapping global variable namespaces shared with extensions.conf.sample. Also noticed a few of the lines that were commented out didn't have the closing semi-colon so I added that as well. (issue #17035) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252762 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16OSARCH is not inherited to this directorytilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252760 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16Disable this test on non-Linux for now.russell1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252759 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Improve handling of values supplied to FAXOPT(ecm).kpfleming1-1/+8
Previously, values that began with whitespace were silently treated as 'no', and all non-'yes' values were also treated as 'no'. Now the supplied value is specifically checked for a 'yes' or 'no' (or equivalent) value, after skipping leading whitespace. If the value is not valid, then a warning message is generated. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252709 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Tell the RTP engine API about the initial read and write format.russell1-0/+5
Peer reviewed out-of-band by file. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252627 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Resolve a crash in SLATrunk when the specified trunk doesn't exist.seanbright1-1/+0
Reported by philipp64 in #asterisk-dev. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252623 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Merged revisions 252617 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252617 | tilghman | 2010-03-15 16:43:14 -0500 (Mon, 15 Mar 2010) | 2 lines Uh, yeah. Umask. I'm stupid. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252619 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Merged revisions 252533 via svnmerge from lmadsen1-11/+19
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252533 | lmadsen | 2010-03-15 15:48:56 -0500 (Mon, 15 Mar 2010) | 7 lines Update extensions.ael file to not overlap extensions.conf. Updated the extensions.ael file so the global variables don't overlap those that we have in extensions.conf (sample files). This way unexpected things won't happed hopefully if both pbx_ael and res_config are loaded. (closes issue #17035) Reported by: pprindeville ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252534 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Make the Makefile logic more explicit and move the Snow Leopard logic down ↵tilghman1-10/+12
to where it's not executed on non-Darwin systems. (closes issue #17028) Reported by: pabelanger Patches: issue17028_20100315.patch uploaded by seanbright (license 71) 20100315__issue17028.diff.txt uploaded by tilghman (license 14) Tested by: tilghman, pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252488 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15THIS IS NOT PYTHON. Indentation doesn't matter, only braces do.tilghman1-6/+21
(closes issue #17025) Reported by: smurfix Patches: sip.patch uploaded by smurfix (license 547) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252442 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Recorded merge of revisions 252366 via svnmerge from tilghman0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252366 | tilghman | 2010-03-14 20:39:00 -0500 (Sun, 14 Mar 2010) | 2 lines Typo ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252367 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Merged revisions 252361 via svnmerge from tilghman3-1/+50
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines Launch Asterisk on Mac OS X with launchd. Reviewboard: https://reviewboard.asterisk.org/r/551/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252362 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-14Fix building CDR and CEL SQLite3 modules.seanbright2-4/+4
They added a sqlite3_log() function which was conflicting with our function names. (closes issue #17017) Reported by: alephlg git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252314 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-14generate roundtrip delay requests and responsesmay9-6/+226
added response to roundtrip delay requests from opposite side added roundtrip delay request sending to opposite side after answer, added options for sending request (interval between request and count of unreplied requests before forced call hangup) (closes issue #16976) Reported by: vmikhelson Patches: rtdr-1.6.0-2.patch uploaded by may213 (license 454) Tested by: vmikhelson, may213 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252277 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-13Resolve unit test failure that occurred on Mac OSX.russell1-3/+7
On Linux (glibc), regcomp() does not return an error for an empty string. However, the version on OSX will return an error. The test for channel group matching by regex now passes on the mac, as well. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252241 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-13Resolve compiler warning by paying attention to system() return value.russell1-1/+4
This resolves the last compile failure on bamboo. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252229 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Test script to verify that timezone cache is properly removed on zonefile ↵tilghman1-0/+114
alteration. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252133 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Only change the RTP ssrc when we see that it has changedtwilson12-59/+122
This change basically reverts the change reviewed in https://reviewboard.asterisk.org/r/374/ and instead limits the updating of the RTP synchronization source to only those times when we detect that the other side of the conversation has changed the ssrc. The problem is that SRCUPDATE control frames are sent many times where we don't want a new ssrc, including whenever Asterisk has to send DTMF in a normal bridge. This is also not the first time that this mistake has been made. The initial implementation of the ast_rtp_new_source function also changed the ssrc--and then it was removed because of this same issue. Then, we put it back in again to fix a different issue. This patch attempts to only change the ssrc when we see that the other side of the conversation has changed the ssrc. It also renames some functions to make their purpose more clear. Review: https://reviewboard.asterisk.org/r/540/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252089 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12add missing mfcr2_skip_category settingmoy1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252088 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Don't override a user option with the global option.tilghman1-2/+0
(closes issue #16849) Reported by: ip-rob Patches: 20100311__issue16849.diff.txt uploaded by tilghman (license 14) Tested by: ip-rob git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251989 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Merged revisions 251986 via svnmerge from rmudgett0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r251986 | rmudgett | 2010-03-12 13:33:22 -0600 (Fri, 12 Mar 2010) | 1 line Make chan_dahdi wakeup_sub() prototype not conditional. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251987 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-12Doxegen this chan_dahdi lock.rmudgett1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251946 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-11Because ExecIf needs to reprocess arguments, it's best if we don't remove ↵tilghman1-2/+2
quotes during parsing. (closes issue #16905) Reported by: ip-rob Patches: 20100303__issue16905.diff.txt uploaded by tilghman (license 14) Tested by: ip-rob git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251884 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-11Fix tests on 32-bit systems.tilghman1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251881 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-11If the argument to the system application is quoted, ensure we remove the ↵tilghman1-2/+11
quotes before trying to execute. (closes issue #16842) Reported by: ip-rob Patches: 20100310__issue16842.diff.txt uploaded by tilghman (license 14) Tested by: ip-rob git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251877 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-11Minor tweaks and comment updates to chan_dahdi.rmudgett2-3/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251821 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-11Add supporting code for app-directory pause option.alecdavis1-8/+30
Since 1.6.1 CLI help reports that option p(n) 'initial pause' is available. Supporting code was never implemented. (closes issue #16751) Reported by: alecdavis Patches: directory_pause.trunk.diff.txt uploaded by alecdavis (license 585) Tested by: alecdavis Review: https://reviewboard.asterisk.org/r/481/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251779 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Add new unit test for stringfields.jpeeler2-0/+309
(Copied from reviewboard) Tests the following: 1. Basic allocation and setting of string fields. 2. Shrinking a string field and re-expanding it. 3. Growing the last allocation in a string field pool. 4. Setting a string to a large value such that a new string field pool must be allocated. In each part, we make sure that the string field is accurate (has the correct value in it), make sure that the 2 bytes before the string field has the correct capacity for the field, and for tests 2-4, we make sure that the string field is where we expect it to be in memory. Also tested: 5. Shrinking a string field and partially re-expanding it. 6. Setting strings in such a way as to create three separate string field pools and then removing the middle pool. There is a bug fix in the init function, which ensures the embedded_pool is set to NULL which is important for stack allocated structures. Review: https://reviewboard.asterisk.org/r/185/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251736 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Hmmm, apparently needed to be fixed in trunk, too.tilghman1-1/+1
(closes issue #16900) Reported by: bluecrow76 Patches: asterisk-1.6.2.4-func_strings.diff uploaded by bluecrow76 (license 270) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251682 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Be less ambiguous in Record() app docs.lmadsen1-1/+1
For some reason the documentation for the 'k' application in trunk and 1.6.2 is different than 1.6.0 and 1.6.1, so I'm setting them all to match. The wording in 1.6.2 and trunk was ambiguous, so you could interpret the wording the mean that recording would continue upon hangup indefinitely, or you could interpret it to mean that the recorded data would not be discarded upon hangup. This change makes it clear we mean the latter, and not the former. Came from a discussion in #asterisk on IRC. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251680 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Fix ParkAndAnnounce not respecting parking options.jpeeler1-7/+181
The patch ensures that if a peer does not exist, parking settings are read from the channel. A unit test has been written to ensure proper operation for both standard parking and parking using masquerades. (closes issue #16592) Reported by: mwyres Patches: bug_16592.diff uploaded by snuffy (license 35) Review: https://reviewboard.asterisk.org/r/539/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251679 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10It's amazing what writing a test will find.tilghman2-1/+3
(issue #16900) Reported by: bluecrow76 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251677 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Fix jitterbuffer logging not creating logfiles.jpeeler1-2/+4
Three changes made here: 1) Do not fail if a previous log does not exist (in fact, this is probably expected). 2) Ensure that the file descriptor to write to gets assigned properly. I am at a loss as to why assigning safe_fd outside the if fixes this, but it makes the if statement slightly less complicated anyway. 3) Move up the failure message so that the errno of the failure is not overwritten by fclose. (closes issue #16917) Reported by: Artem git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251631 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Simplified dahdi_request() channel selection failed reason/cause code.rmudgett5-31/+21
Also avoid potential crash because cause could be NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251585 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-10Reduce the amount of database access for HAVE_PRI_SERVICE_MESSAGES.rmudgett3-125/+113
Rework HAVE_PRI_SERVICE_MESSAGES to not use the active values directly from the database. Database access is likely expensive. Database access now only happens on initialization, destruction, and when the B channel is taken in or out of service. This change is not related to call waiting but it would cause the search for a call waiting interface to be very expensive and slow down D channel message servicing. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251538 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-09Build system modifications to ensure that Asterisk properly builds on Mac OS ↵tilghman2-0/+11
X 10.6. (closes issue #16997) Reported by: jquinn Patches: 20100309__issue16997__2.diff.txt uploaded by tilghman (license 14) Tested by: tilghman, russell git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251475 f38db490-d61c-443f-a65b-d21fe96a405b