aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14Merged revisions 188413 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r188413 | file | 2009-04-14 14:40:50 -0300 (Tue, 14 Apr 2009) | 5 lines Fix an incorrect clock rate when sending T140 text. (closes issue #14029) Reported by: epicac ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188414 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14Blocked revisions 188378 via svnmergejpeeler0-0/+0
........ r188378 | jpeeler | 2009-04-14 11:49:12 -0500 (Tue, 14 Apr 2009) | 1 line change some capitalization ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188379 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14Blocked revisions 188342 via svnmergejpeeler0-0/+0
........ r188342 | jpeeler | 2009-04-14 10:54:16 -0500 (Tue, 14 Apr 2009) | 33 lines Add service maintenance message support This is the companion commit to libpri r732. Service messages are now supported for switch types 4ess/5ess. A new option service_message_support has been added to chan_dahdi.conf and is noted in the sample config file. The service message support is turned off by default. The current implementation relies on AstDB to keep track of channel state, which allows the statuses to be preserved across Asterisk restarts. Below is a description of the storage format. The state and reason for the service state are in the form <state>:<reason>, where: <state> ::= { 'O' } // 'O' – Out Of Service <reason> ::= { '0' | '1' | '2' | '3' }, where: '0' – No reason (backwards compatibility) '1' – NEAR END '2' – FAR END '3' – both NEAR and FAR END The new CLI commands to handle channel service state are: pri service disable channel <chan> pri service enable channel <chan> Many people contributed to the development of this functionality. Because I entered at the very end I do not know the exact history. Special thanks to all who moved the bug forward one way or another: cmaj, PCadach, markster, mattf, drmac, MikeJ, serge-v, murf, kanelbullar, Seb7, tilghman, lmadsen, and especially dhubbard (he answered lots of my questions and did a large portion of the work) (closes issue #3450) Reported by: cmaj ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188343 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14Merged revisions 188247 via svnmerge from file1-38/+30
https://origsvn.digium.com/svn/asterisk/trunk ........ r188247 | file | 2009-04-14 10:14:21 -0300 (Tue, 14 Apr 2009) | 7 lines Fix a bug with the change I made yesterday to outbound proxy support. Per discussion with oej on IRC we need the actual IP address, not the outbound proxy IP address, in the sa field. This change matches the already existing code for all other uses of the outbound proxy setting. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188248 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14Merged revisions 188210 via svnmerge from tilghman1-0/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r188210 | tilghman | 2009-04-14 00:45:13 -0500 (Tue, 14 Apr 2009) | 2 lines As suggested by Russell, warn users when their dialplan arguments contain pipes, but not commas. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188211 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14Merged revisions 188206 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r188206 | tilghman | 2009-04-14 00:27:53 -0500 (Tue, 14 Apr 2009) | 6 lines Application delimiter is ',', not '|'. (closes issue #14881) Reported by: stegro Patches: smsq.patch uploaded by stegro (license 752) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188207 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-13Merged revisions 188102 via svnmerge from mmichelson1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r188102 | mmichelson | 2009-04-13 14:31:48 -0500 (Mon, 13 Apr 2009) | 5 lines Fix another crash related to cached realtime music on hold. This was another off-by-one problem caused by moh_register. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188103 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-13Merged revisions 188067 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r188067 | file | 2009-04-13 13:28:06 -0300 (Mon, 13 Apr 2009) | 10 lines Fix a bug where using an outbound proxy would cause the local address to be 127.0.0.1. Copy the outbound proxy IP address into the SIP dialog structure as the IP address we will be sending to. This has to be done because the logic that determines what local IP address to use in the SIP messages is not aware of an outbound proxy being in place. It only knows what IP address we are sending to. (closes issue #12006) Reported by: mnicholson ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188068 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-13Merged revisions 188032 via svnmerge from mmichelson1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r188032 | mmichelson | 2009-04-13 09:17:56 -0500 (Mon, 13 Apr 2009) | 6 lines Set all queue variables on both the caller and member channels. This allows for the variables to be accessed if a member macro is run. Thanks to Grigoriy Puzankin for bringing this up on the -dev list. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@188037 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Merged revisions 187906 via svnmerge from jpeeler1-4/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r187906 | jpeeler | 2009-04-10 15:26:46 -0500 (Fri, 10 Apr 2009) | 12 lines Fix module embedding for chan_h323. Include libchanh323.a in the modules.link file so that all the symbols can be resolved at link time. (closes issue #11966) Reported by: dome Patches: issue_11966.patch uploaded by kpfleming (license 421) Tested by: jpeeler ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187912 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Blocked revisions 187830 via svnmergemmichelson0-0/+0
........ r187830 | mmichelson | 2009-04-10 13:56:52 -0500 (Fri, 10 Apr 2009) | 3 lines Indicating connected line or redirecting updates were missing a call to lock the local_pvt. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187831 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Merged revisions 187764 via svnmerge from tilghman2-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r187764 | tilghman | 2009-04-10 12:29:34 -0500 (Fri, 10 Apr 2009) | 9 lines Merged revisions 187763 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r187763 | tilghman | 2009-04-10 12:28:46 -0500 (Fri, 10 Apr 2009) | 2 lines Add lastms column to the contributed table designs ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187765 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Merged revisions 187721 via svnmerge from kpfleming1-4/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r187721 | kpfleming | 2009-04-10 11:51:44 -0500 (Fri, 10 Apr 2009) | 5 lines clean up some patterns for files to remove add embedding support for bridge and test modules ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187722 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Blocked revisions 187714 via svnmergemmichelson0-0/+0
........ r187714 | mmichelson | 2009-04-10 11:26:48 -0500 (Fri, 10 Apr 2009) | 3 lines ast_strdup failures aren't really failures if the original value was NULL. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187715 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Blocked revisions 187680 via svnmergemmichelson0-0/+0
........ r187680 | mmichelson | 2009-04-10 11:06:22 -0500 (Fri, 10 Apr 2009) | 5 lines Don't let ast_channel_alloc fail if explicitly passed NULL cid_name or cid_number. This also fixes a small memory leak. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187681 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Blocked revisions 187634-187635 via svnmergermudgett0-0/+0
........ r187634 | rmudgett | 2009-04-10 09:50:42 -0500 (Fri, 10 Apr 2009) | 1 line Make chan_misdn_log() avoid generating the log message if logging is disabled. ........ r187635 | rmudgett | 2009-04-10 09:53:59 -0500 (Fri, 10 Apr 2009) | 7 lines Miscellaneous minor changes to chan_misdn. * Miscellaneous spacing and comment changes. * Minor code rearangements. * Miscellaneous doxygen comments. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187670 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-10Blocked revisions 187636 via svnmergekpfleming0-0/+0
........ r187636 | kpfleming | 2009-04-10 10:11:16 -0500 (Fri, 10 Apr 2009) | 3 lines revert addition of LOG_SECURITY log channel; after further discussion, a much better solution will be used ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187637 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Blocked revisions 187560 via svnmergemmichelson0-0/+0
........ r187560 | mmichelson | 2009-04-09 16:06:26 -0500 (Thu, 09 Apr 2009) | 11 lines Add a new option, mwi_from, to sip.conf. This allows for you to change the From header for outgoing MWI NOTIFY requests. Prior to this, the best you could do was to set a callerid in the general section of sip.conf. The problem was that this was used for all outbound requests, not just MWI NOTIFY requests. AST-201 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187561 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merge revision 187488 to 1.6.0.mmichelson1-6/+19
A note to all of you. Don't block revisions in a branch if you actually meant to merge them. Two very old revisions somehow didn't get merged into 1.6.0 and this change was dependent on those two old revisions. What should have taken 2 minutes has now wasted about 30 minutes of my time :( git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187555 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merged revisions 141810,141868 via svnmerge from mmichelson1-3/+14
https://origsvn.digium.com/svn/asterisk/trunk ................ r141810 | mmichelson | 2008-09-08 16:18:49 -0500 (Mon, 08 Sep 2008) | 22 lines Merged revisions 141809 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r141809 | mmichelson | 2008-09-08 16:10:10 -0500 (Mon, 08 Sep 2008) | 14 lines Fix pedantic mode of chan_sip to only check the remote tag of an endpoint once a dialog has been confirmed. Up until that point, it is possible and legal for the far-end to send provisional responses with a different To: tag each time. With this patch applied, these provisional messages will not cause a matching problem. (closes issue #11536) Reported by: ibc Patches: 11536v2.patch uploaded by putnopvut (license 60) ........ ................ r141868 | mmichelson | 2008-09-08 17:14:40 -0500 (Mon, 08 Sep 2008) | 4 lines Um, apparently I didn't actually finish merging before committing. Bad bad bad ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187554 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09And another one, too.mmichelson0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187553 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Remove a revision from the trunk-blocked property since it should have been ↵mmichelson0-0/+0
merged instead. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187552 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Blocked revisions 187491 via svnmergejpeeler0-0/+0
........ r187491 | jpeeler | 2009-04-09 14:10:02 -0500 (Thu, 09 Apr 2009) | 15 lines Add ability for dialplan execution to continue when caller hangs up. The F option to app_dial has been modified to accept no parameters and perform the above functionality. I don't see anywhere else that is doing function overloading, but this really is the best place for this operation because: - It makes it close to the 'g' option in the argument list which provides similar functionality. - The existing code to support the current F option provides a very convienient location to add this new feature. (closes issue #12381) Reported by: michael-fig ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187492 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09typotilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187490 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merged revisions 187483 via svnmerge from tilghman3-6/+113
https://origsvn.digium.com/svn/asterisk/trunk ................ r187483 | tilghman | 2009-04-09 13:40:01 -0500 (Thu, 09 Apr 2009) | 15 lines Merged revisions 187428 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r187428 | tilghman | 2009-04-09 13:08:20 -0500 (Thu, 09 Apr 2009) | 8 lines Race condition between ast_cli_command() and 'module unload' could cause a deadlock. Add lock timeouts to avoid this potential deadlock. (closes issue #14705) Reported by: jamessan Patches: 20090320__bug14705.diff.txt uploaded by tilghman (license 14) Tested by: jamessan ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187485 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merged revisions 187421,187424 via svnmerge from mmichelson1-4/+12
https://origsvn.digium.com/svn/asterisk/trunk ........ r187421 | mmichelson | 2009-04-09 12:30:39 -0500 (Thu, 09 Apr 2009) | 21 lines Fix a crash in res_musiconhold when using cached realtime moh. The moh_register function links an mohclass and then immediately unrefs the class since the container now has a reference. The problem with using realtime music on hold is that the class is allocated, registered, and started in one fell swoop. The refcounting logic resulted in the count being off by one. The same problem did not happen when using a static config because the allocation and registration of an mohclass is a separate operation from starting moh. This also did not affect non-cached realtime moh because the classes are not registered at all. I also have modified res_musiconhold to use the _t_ variants of the ao2_ functions so that more info can be gleaned when attempting to trace the refcounts. I found this to be incredibly helpful for debugging this issue and there's no good reason to remove it. (closes issue #14661) Reported by: sum ........ r187424 | mmichelson | 2009-04-09 12:34:39 -0500 (Thu, 09 Apr 2009) | 3 lines Use safe macro practices even though they really aren't necessary. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187425 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merged revisions 187363 via svnmerge from tilghman2-2/+6
https://origsvn.digium.com/svn/asterisk/trunk ................ r187363 | tilghman | 2009-04-09 11:39:43 -0500 (Thu, 09 Apr 2009) | 10 lines Merged revisions 187362 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r187362 | tilghman | 2009-04-09 11:38:37 -0500 (Thu, 09 Apr 2009) | 3 lines Permit zero-length text messages in SIP. (Related to an issue posted to the -users list, subject "AEL2, BASE64_DECODE and hexadecimal") ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187364 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Merged revisions 187302 via svnmerge from tilghman8-5/+319
https://origsvn.digium.com/svn/asterisk/trunk ................ r187302 | tilghman | 2009-04-08 23:59:05 -0500 (Wed, 08 Apr 2009) | 14 lines Merged revisions 187300-187301 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r187300 | tilghman | 2009-04-08 23:31:38 -0500 (Wed, 08 Apr 2009) | 3 lines Add debugging mode for diagnosing file descriptor leaks. (Related to issue #14625) ........ r187301 | tilghman | 2009-04-08 23:32:40 -0500 (Wed, 08 Apr 2009) | 2 lines Oops, missed this file in the last commit. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187304 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Blocked revisions 187269 via svnmergekpfleming0-0/+0
........ r187269 | kpfleming | 2009-04-08 22:44:27 -0400 (Wed, 08 Apr 2009) | 5 lines add a dedicated log channel for modules to be able report security-related events, so that they can be fed into external processes for analysis and possible mitigation efforts (inspired by this evening's Toronto Asterisk Users Group meeting and previous dicussions amongst various community members) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187270 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Blocked revisions 187211 via svnmergejpeeler0-0/+0
........ r187211 | jpeeler | 2009-04-08 16:00:39 -0500 (Wed, 08 Apr 2009) | 20 lines Add timer for features so that backup bridge config can go away The biggest change done here was elimination of the backup_config for use with features. Previously, the bridging code upon detecting a feature would set the start time of the bridge to the start time of the feature. Then after the feature had either expired or timed out the start time would be reset to the true bridge start time from the backup_config. Now, the time differences are calculated with respect to the newly added feature_start_time timeval instead. There should be no behavior changes from the previous functionality aside from the bridge timing being unaffected by either valid or partial feature matches. Previously the timing would be increased by the length of time configured for featuredigittimeout, which was probably never noticed. (closes issue #14503) Reported by: KNK Tested by: jpeeler Review: http://reviewboard.digium.com/r/179/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187212 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Blocked revisions 187138 via svnmergemmichelson0-0/+0
................ r187138 | mmichelson | 2009-04-08 14:18:10 -0500 (Wed, 08 Apr 2009) | 13 lines Blocked revisions 187135 via svnmerge ........ r187135 | mmichelson | 2009-04-08 14:16:49 -0500 (Wed, 08 Apr 2009) | 8 lines Fix a crash due to too few arguments to RetryDial. (closes issue #14852) Reported by: junky Patches: retry_fix.diff uploaded by junky (license 177) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187141 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Merged revisions 187046 via svnmerge from mmichelson1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r187046 | mmichelson | 2009-04-08 11:52:20 -0500 (Wed, 08 Apr 2009) | 16 lines Merged revisions 187045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r187045 | mmichelson | 2009-04-08 11:52:03 -0500 (Wed, 08 Apr 2009) | 10 lines Fix a small logical error when loading moh classes. We were unconditionally incrementing the number of mohclasses registered. However, we should actually only increment if the call to moh_register was successful. While this probably has never caused problems, I noticed it and decided to fix it anyway. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@187047 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08That's how tired I was... I read misdn.conf. Should've been MGCPqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186991 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Add missing line to CHANGES. Where did it go? Don't know!qwell1-1/+1
Thanks to thehar for reporting this for me. I noticed this at about 1:00am last night and just wanted to go to bed. (closes issue #14853) Reported by: thehar git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186990 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Merged revisions 186985 via svnmerge from mmichelson1-6/+10
https://origsvn.digium.com/svn/asterisk/trunk ................ r186985 | mmichelson | 2009-04-08 10:27:41 -0500 (Wed, 08 Apr 2009) | 30 lines Merged revisions 186984 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186984 | mmichelson | 2009-04-08 10:26:46 -0500 (Wed, 08 Apr 2009) | 24 lines Make a couple of changes with regards to a new message printed in ast_read(). "ast_read() called with no recorded file descriptor" is a new message added after a bug was discovered. Unfortunately, it seems there are a bunch of places that potentially make such calls to ast_read() and trigger this error message to be displayed. This commit does two things to help to make this message appear less. First, the message has been downgraded to a debug level message if dev mode is not enabled. The message means a lot more to developers than it does to end users, and so developers should take an effort to be sure to call ast_read only when a channel is ready to be read from. However, since this doesn't actually cause an error in operation and is not something a user can easily fix, we should not spam their console with these messages. Second, the message has been moved to after the check for any pending masquerades. ast_read() being called with no recorded file descriptor should not interfere with a masquerade taking place. This could be seen as a simple way of resolving issue #14723. However, I still want to try to clear out the existing ways of triggering this message, since I feel that would be a better resolution for the issue. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186986 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Merged revisions 186842 via svnmerge from mmichelson2-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r186842 | mmichelson | 2009-04-07 19:09:28 -0500 (Tue, 07 Apr 2009) | 14 lines Merged revisions 186841 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186841 | mmichelson | 2009-04-07 19:09:04 -0500 (Tue, 07 Apr 2009) | 8 lines Fix a few typos of the word "frequency." (closes issue #14842) Reported by: jvandal Patches: frequency-typo.diff uploaded by jvandal (license 413) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186843 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-08Merged revisions 186837 via svnmerge from mmichelson1-3/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r186837 | mmichelson | 2009-04-07 19:01:49 -0500 (Tue, 07 Apr 2009) | 7 lines Fix bad merge from fix for issue 13867. (closes issue #14686) Reported by: davidw ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186838 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-07Merged revisions 186833 via svnmerge from mmichelson1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r186833 | mmichelson | 2009-04-07 18:50:56 -0500 (Tue, 07 Apr 2009) | 15 lines Merged revisions 186832 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186832 | mmichelson | 2009-04-07 18:49:49 -0500 (Tue, 07 Apr 2009) | 8 lines Set the AST_FEATURE_WARNING_ACTIVE flag when a p2p bridge returns AST_BRIDGE_RETRY. Without this flag set, warning sounds will not be properly played to either party of the bridge. (closes issue #14845) Reported by: adomjan ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186834 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-07Merged revisions 186799 via svnmerge from tilghman1-13/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r186799 | tilghman | 2009-04-07 17:23:46 -0500 (Tue, 07 Apr 2009) | 10 lines Merged revisions 186775 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186775 | tilghman | 2009-04-07 17:16:50 -0500 (Tue, 07 Apr 2009) | 3 lines Fix Macro documentation to match current (and intended) behavior. (See -dev mailing list) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186805 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-07Merged revisions 186720 via svnmerge from mmichelson1-3/+4
https://origsvn.digium.com/svn/asterisk/trunk ................ r186720 | mmichelson | 2009-04-07 15:46:18 -0500 (Tue, 07 Apr 2009) | 12 lines Merged revisions 186719 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines Ensure that \r\n is printed after the ActionID in an OriginateResponse. (closes issue #14847) Reported by: kobaz ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186721 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-06Blocked revisions 186620 via svnmergemmichelson0-0/+0
........ r186620 | mmichelson | 2009-04-06 11:06:25 -0500 (Mon, 06 Apr 2009) | 3 lines Silly svn. These files didn't get merged over in the merge of the issue8824 branch. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186621 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-06Blocked revisions 186566 via svnmergemmichelson0-0/+0
................ r186566 | mmichelson | 2009-04-06 08:57:39 -0500 (Mon, 06 Apr 2009) | 8 lines Blocked revisions 186565 via svnmerge ........ r186565 | mmichelson | 2009-04-06 08:54:41 -0500 (Mon, 06 Apr 2009) | 3 lines Revert commit 186445 because it causes the build to fail when IMAP_STORAGE is used. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186567 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Blocked revisions 186525 via svnmergemmichelson0-0/+0
........ r186525 | mmichelson | 2009-04-03 17:41:46 -0500 (Fri, 03 Apr 2009) | 22 lines This commit introduces COLP/CONP and Redirecting party information into Asterisk. The channel drivers which have been most heavily tested with these enhancements are chan_sip and chan_misdn. Further work is being done to add Q.SIG support and will be introduced in a later commit. chan_skinny has code added to it here, but according to user pj, the support on chan_skinny is not working as of now. This will be fixed in a later commit. A special thanks goes out to bugtracker user gareth for getting the ball rolling and providing the initial support for this work. Without his initial work on this, this would not have been nearly as painless as it was. This functionality has been tested by Digium's product quality department, as well as a customer site running thousands of calls every day. In addition, many many many many bugtracker users have tested this, too. (closes issue #8824) Reported by: gareth Review: http://reviewboard.digium.com/r/201 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186526 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Remove an invalid call to free memory.mmichelson1-1/+0
A bad merge from trunk to 1.6.0 meant freeing memory that should not be freed. In trunk, pkt->data is an ast_str, but in 1.6.0, it is allocated in the same chunk of memory as the sip_pkt. This only affects 1.6.0. (closes issue #14819) Reported by: cwolff09 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186517 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186461 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r186461 | kpfleming | 2009-04-03 15:20:01 -0500 (Fri, 03 Apr 2009) | 11 lines Merged revisions 186458 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186458 | kpfleming | 2009-04-03 15:19:20 -0500 (Fri, 03 Apr 2009) | 5 lines Fix a bug where DAHDI/Zaptel channels would not properly switch formats when requested Don't offer AST_FORMAT_SLINEAR on DAHDI/Zaptel channels... while it could provide a slight performance benefit, the translation core in Asterisk has some flaws when a channel driver offers multiple raw formats. this fix is much simpler than fixing the translation core to solve that issue (although that will be done later). ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186463 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186444 via svnmerge from tilghman2-21/+107
https://origsvn.digium.com/svn/asterisk/trunk ................ r186444 | tilghman | 2009-04-03 14:30:34 -0500 (Fri, 03 Apr 2009) | 14 lines Merged revisions 186415 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186415 | tilghman | 2009-04-03 14:06:58 -0500 (Fri, 03 Apr 2009) | 7 lines Distinguish in a sent email between simple sends and forwards. (closes issue #11678) Reported by: jamessan Patches: 20090330__bug11678.diff.txt uploaded by tilghman (license 14) Tested by: tilghman, lmadsen ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186446 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186379 via svnmerge from dvossel1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r186379 | dvossel | 2009-04-03 11:29:47 -0500 (Fri, 03 Apr 2009) | 4 lines audio_audiohook_write_list() did not correctly update sample size after ast_translate. audio_audiohook_write_list() did not take into account that the sample size may change after translation depending on if the original frame is is 8khz or 16khz. the sample size is now updated after translating to reflect this possibility. This caused the audio on the receiving end to sound terrible. Thanks to jcolp and mmichelson for helping me work this out. (issue AST-197) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186380 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186321 via svnmerge from file1-7/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r186321 | file | 2009-04-03 12:52:50 -0300 (Fri, 03 Apr 2009) | 12 lines Merged revisions 186320 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186320 | file | 2009-04-03 12:48:56 -0300 (Fri, 03 Apr 2009) | 5 lines Fix a problem with the crypto variable definitions not actually being defined properly. (closes issue #14804) Reported by: jvandal ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186322 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186286 via svnmerge from mmichelson1-16/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r186286 | mmichelson | 2009-04-03 09:32:05 -0500 (Fri, 03 Apr 2009) | 20 lines Fix the ability to retrieve voicemail messages from IMAP. A recent change made interactive vm_states no longer get added to the list of vm_states and instead get stored in thread-local storage. In trunk and all the 1.6.X branches, the problem is that when we search for messages in a voicemail box, we would attempt to update the appropriate vm_state struct by directly searching in the list of vm_states instead of using the get_vm_state_by_imap_user function. This meant we could not find the interactive vm_state that we wanted. (closes issue #14685) Reported by: BlargMaN Patches: 14685.patch uploaded by mmichelson (license 60) Tested by: BlargMaN, qualleyiv, mmichelson ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186287 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03Merged revisions 186230 via svnmerge from russell1-2/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r186230 | russell | 2009-04-02 21:03:48 -0500 (Thu, 02 Apr 2009) | 29 lines Merged revisions 186229 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r186229 | russell | 2009-04-02 20:57:44 -0500 (Thu, 02 Apr 2009) | 21 lines Fix a memory leak in cdr_radius. I came across this while doing some testing of my ast_channel_ao2 branch. After running a test overnight that generated over 5 million calls, Asterisk had taken up about 1 GB of my system memory. So, I re-ran the test with MALLOC_DEBUG turned on. However, it showed no leaks in Asterisk during the test, even though Asterisk was still consuming it somehow. Instead, I turned to valgrind, which when run with --leak-check=full, told me exactly where the leak came from, which was from allocations inside the radiusclient-ng library. This explains why MALLOC_DEBUG did not report it. After a bit of analysis, I found that we were leaking a little bit of memory every time a CDR record was passed to cdr_radius. I don't actually have a radius server set up to receive CDR records. However, I always have my development systems compile and install all modules. In addition to making sure there are not build errors across modules, always loading modules helps find bugs like this, too, so it is strongly recommend for all developers. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@186231 f38db490-d61c-443f-a65b-d21fe96a405b