aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29Don't blow up if get_codec() was not provided in the RTP glue.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280391 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29Merged revisions 280345 via svnmerge from jeang1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r280345 | jeang | 2010-07-29 11:01:35 -0500 (Thu, 29 Jul 2010) | 10 lines Merged revisions 280341 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r280341 | jeang | 2010-07-29 10:52:31 -0500 (Thu, 29 Jul 2010) | 2 lines Fix a dsp structure leak occuring when a local channel is put into a meetme conference, then masquaraded away. ABE-2422 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280346 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29Use PRIx64 instead of PRId64 in format string.mnicholson1-1/+1
related to r280302 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280343 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29Merged revisions 280306 via svnmerge from mnicholson2-0/+55
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r280306 | mnicholson | 2010-07-29 08:45:11 -0500 (Thu, 29 Jul 2010) | 2 lines Implement support for ast_channel_queryoption on local channels. Currently only AST_OPTION_T38_STATE is supported. ABE-2229 Review: https://reviewboard.asterisk.org/r/813/ ........ Additionally, pass AST_CONTROL_T38_PARAMETERS control frames through generic bridges. This change appears to have been unintentionally left out of rev 203699. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280307 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-29Use PRId64 with format_tpabelanger1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280302 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Give test category missing leading slashjpeeler1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280269 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280229 via svnmerge from rmudgett1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r280229 | rmudgett | 2010-07-28 14:57:49 -0500 (Wed, 28 Jul 2010) | 2 lines Add missing enum value "unknown" to the SS7 called_nai and calling_nai config options. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280235 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280231 via svnmerge from qwell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r280231 | qwell | 2010-07-28 15:02:27 -0500 (Wed, 28 Jul 2010) | 6 lines Work around some silly behavior on BSD. A non-zero exit from a subshell should make the build fail. (closes issue #17621) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280233 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Blocked revisions 280227 via svnmergeqwell0-0/+0
........ r280227 | qwell | 2010-07-28 14:54:54 -0500 (Wed, 28 Jul 2010) | 1 line Add sha1sum-sh in case there is no util on the system. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280232 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Do rtp/rtcp debugging when it is turned on w/o filteringtwilson1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280225 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280193 via svnmerge from qwell1-28/+31
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r280193 | qwell | 2010-07-28 13:05:54 -0500 (Wed, 28 Jul 2010) | 9 lines Remove unnecessary subshells. Attempt to make checksumming work. Also improves readability. (issue #17621) Reported by: bjm Review: https://reviewboard.asterisk.org/r/808/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280195 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280160 via svnmerge from seanbright1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r280160 | seanbright | 2010-07-28 12:51:11 -0400 (Wed, 28 Jul 2010) | 8 lines Plug a reference leak in app_queue when adding members dynamically. (closes issue #17738) Reported by: bobwienholt Patches: issue17738.patch uploaded by bobwienholt (license 950) Tested by: bobwienholt, seanbright ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280161 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280089 via svnmerge from lmadsen1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r280089 | lmadsen | 2010-07-28 08:51:16 -0500 (Wed, 28 Jul 2010) | 9 lines Merged revisions 280088 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r280088 | lmadsen | 2010-07-28 08:50:38 -0500 (Wed, 28 Jul 2010) | 1 line Update help text to be less confusing. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280090 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28s/init keys/keys init/russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280058 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Resolve compiler warning about formattingpabelanger1-1/+1
(closes issue #17732) Reported by: pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280023 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Revert r280019 for now - This was poorly executed.seanbright68-336/+25531
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280020 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Add ability to use system libedit and update bundled libedit.seanbright68-25531/+336
The version of libedit that is bundled with asterisk is old and has some bugs. This patch updates the bundled version of libedit within asterisk, and also updates asterisk to use the system libedit instead if one is available (and pkg-config is available). This review integrates several patches from other users specifically kkm and tzafrir. (closes issue #15929) Reported by: kkm Patches: 015929-astcli-editrc-trunk.240324.diff uploaded by kkm (license 888) (issue #16858) Reported by: jw-asterisk (closes issue #17039) Reported by: tzafrir Patches: 0001-allow-using-system-copy-of-libedit.patch uploaded by tzafrir (license 46) Review: https://reviewboard.asterisk.org/r/807/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280019 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Add --enable-coverage option to configure script.russell4-2/+35
This option enables the proper compiler flags for tracking code coverage, which is useful along side automated testing. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279953 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Merged revisions 279946 via svnmerge from dvossel3-1/+28
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r279946 | dvossel | 2010-07-27 15:54:32 -0500 (Tue, 27 Jul 2010) | 24 lines Merged revisions 279945 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r279945 | dvossel | 2010-07-27 15:33:40 -0500 (Tue, 27 Jul 2010) | 19 lines remove empty audiohook write list on channel If a channel has an audiohook write list created on it, that list stays on the channel until the channel is destroyed. There is no reason to keep that list on the channel if it becomes empty. If it is empty that just means we are doing needless translating for every ast_read and ast_write. This patch removes the audiohook list from the channel once it is detected to be empty on either a read or write. If a audiohook is added back to the channel after this list is destroyed, the list just gets recreated as if it never existed to begin with. (closes issue #17630) Reported by: manvirr Review: https://reviewboard.asterisk.org/r/799/ ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279949 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Fix inband DTMF detection on outgoing ISDN calls.russell2-0/+18
This is a regression from the sig_pri split from chan_dahdi. When a call is first initiated, the inband DTMF detector is not enabled if it's an outgoing ISDN call. However, it needs to be turned on once the media path starts up. This handling was put back in the open_media() callback of chan_dahdi. In sig_pri, open_media() calls were added to a few places where it was needed, including handling of PRI_EVENT_RINGING, PRI_EVENT_PROGRESS, and PRI_EVENT_PROCEEDING. Thanks to rmudgett for helping me with the patch! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279916 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Fix parsing error in sip_sipredirect().mmichelson1-21/+16
The code was written in a way that did a bad job of parsing the port out of a URI. Specifically, it would do badly when dealing with an IPv6 address. In this particular scenario, there was no value from parsing the port out, so I just removed that logic. And while I was messing around in the function, I changed some variable names to be more descriptive. (closes issue #17661) Reported by: oej Patches: 17661.diff uploaded by mmichelson (license 60) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279887 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Blocked revisions 279883 via svnmergeqwell0-0/+0
........ r279883 | qwell | 2010-07-27 12:54:54 -0500 (Tue, 27 Jul 2010) | 1 line Add SHA1SUM to configure, since we require it for sounds/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279884 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Blocked revisions 279852 via svnmergeqwell0-0/+0
........ r279852 | qwell | 2010-07-27 11:48:41 -0500 (Tue, 27 Jul 2010) | 1 line Remove aptly-named EMPTY and BS vars, since they aren't used anymore. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279853 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Merged revisions 279849 via svnmerge from qwell1-16/+16
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279849 | qwell | 2010-07-27 11:39:16 -0500 (Tue, 27 Jul 2010) | 1 line Simply sounds/Makefile some more. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279850 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27fix sip transaction match with authentication, fix confusing log message ↵dvossel2-5/+6
when using getaddrinfo git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279817 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Support "channels" in addition to "channel" in chan_dahdi.conf.russell1-1/+1
Review: https://reviewboard.asterisk.org/r/804 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279815 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Merged revisions 279784 via svnmerge from mmichelson1-8/+9
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279784 | mmichelson | 2010-07-27 10:13:24 -0500 (Tue, 27 Jul 2010) | 14 lines Fix bad behavior of dynamic_exclude_static option in sip.conf. We were attempting to create a contactdeny rule based on the peer's IP address before the peer's IP address had been set. By moving the processing further down in the function, we can ensure stuff works as we expect for it to. (closes issue #17717) Reported by: mmichelson Patches: 17717.patch uploaded by mmichelson (license 60) Tested by: DennisD ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279785 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27If dringXcontext is null, fallback to default context value.pabelanger1-6/+6
(closes issue #17693) Reported by: iasgoscouk Patches: issue17693.patch uploaded by pabelanger (license 224) Tested by: iasgoscouk Review: https://reviewboard.asterisk.org/r/803/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279755 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-27Use ast_sockaddr_setnull() when http is not enabled.pabelanger1-2/+2
Otherwise, ast_tcptls_server_start() will still start http. (closes issue #17708) Reported by: pabelanger Patches: http.patch uploaded by pabelanger (license 224) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279726 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Updated documentation for FAX logger level.pabelanger2-5/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279689 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279657 via svnmerge from qwell5-31263/+7582
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279657 | qwell | 2010-07-26 17:59:52 -0500 (Mon, 26 Jul 2010) | 5 lines Really fix sounds Makefile (and make it readableish). There was a rather large syntax error that should have caused ALL versions of GNU make to fail. I don't know how it worked. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279658 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Ignore a control subclass of -1 in ast_waitfordigit_full().russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279636 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279609 via svnmerge from tilghman2-5/+5
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279609 | tilghman | 2010-07-26 16:18:17 -0500 (Mon, 26 Jul 2010) | 2 lines Dunno why this worked on my machine, but it works better this way. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279619 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279597 via svnmerge from tilghman1-5/+23
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279597 | ghenry | 2010-07-26 15:25:54 -0500 (Mon, 26 Jul 2010) | 13 lines Apply all patches in: https://issues.asterisk.org/view.php?id=13573 (closes issue #13573) Reported by: navkumar Patches: res_config_ldap-category.diff uploaded by navkumar (license 580) res_config_ldap.patch uploaded by bencer (license 961) res_config_ldap uploaded by bencer (license 961) Tested by: suretec ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279601 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Reverting property removetilghman0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279599 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279597 via svnmerge from ghenry0-0/+0
https://origsvn.digium.com/svn/asterisk/1.6.2 ----------------------------------------------------------------------- r279597 | ghenry | 2010-07-26 15:25:53 -0500 (Mon, 26 Jul 2010) | 13 lines Apply all patches in: https://issues.asterisk.org/view.php?id=13573 [^] (closes issue 0013573) Reported by: navkumar Patches: res_config_ldap-category.diff uploaded by navkumar (license 580) res_config_ldap.patch uploaded by bencer (license 961) res_config_ldap uploaded by bencer (license 961) Tested by: suretec ------------------------------------------------------------------------ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279598 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26transaction matching using top most Via headerdvossel4-42/+388
This patch modifies the way chan_sip.c does transaction to dialog matching. Asterisk now stores information in the top most Via header of the initial incoming request and compares that against other Requests that have the same call-id. This results in Asterisk being able to detect a forked call in which it has received multiple legs of the fork. I completely stripped out the previous matching code and made the comparisons a little more explicit and easier to understand. My comments in the code should offer all the details involving this patch. This patch also fixes a bug with the usage of the OBJ-MULTIPLE flag to find multiple dialogs with the same call-id. Since the callback function was returning (CMP_MATCH | CMP_STOP) only the first item found was being returned. I fixed this by making a new callback function for finding multiple dialogs that only returns (CMP_MATCH) on a match allowing for multiple items to be returned. Review: https://reviewboard.asterisk.org/r/776/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279568 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Add documentation for FAX logger level.pabelanger3-1/+7
(closes issue #17715) Reported by: vrban Patches: 17715.patch uploaded by pabelanger (license 224) Tested by: vrban git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279566 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279561 via svnmerge from tilghman5-7547/+31229
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279561 | tilghman | 2010-07-26 14:15:59 -0500 (Mon, 26 Jul 2010) | 2 lines Use a special Makefile for noobs who still have GNU Make 3.80. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279562 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Allow for systems without locale support to be usable.mmichelson4-30907/+7566
A recent change to SIP URI comparison code added a locale-specific string comparison to the mix, and certain systems do not support such functions. This fix allows for those systems to still use Asterisk 1.8 (closes issue #17697) Reported by: pprindeville Patches: asterisk-trunk-bugid17697.patch uploaded by pprindeville (license 347) Tested by: mmichelson git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279504 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Merged revisions 279501 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279501 | seanbright | 2010-07-26 11:41:13 -0400 (Mon, 26 Jul 2010) | 5 lines Expand the correct value within AST_OPTION_ONLY. (closes issue #17703) Reported by: stuarth ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279502 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-26Formats need to load before apps, because some apps call ↵tilghman18-18/+90
ast_format_str_reduce() at load time. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279472 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-25Add trailing backslash to silence warning message. pabelanger1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279442 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-25Don't re-register CDR module on reload.tilghman1-4/+15
(closes issue #17304) Reported by: jnemeth Patches: 20100507__issue17304.diff.txt uploaded by tilghman (license 14) Tested by: jnemeth git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279410 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-25Don't assume qlog is open.tilghman1-4/+6
(closes issue #17704) Reported by: vrban Patches: issue17704.patch uploaded by pabelanger (license 224) Tested by: vrban git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279390 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Minor update to man pagesnuffy1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279348 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Remove duplicate -c flag when using $(INSTALL)pabelanger1-14/+14
(closes issue #17695) Reported by: pabelanger Patches: Makefile.diff uploaded by pabelanger (license 224) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279314 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Check if ast_sockaddr is NULL then return. pabelanger1-1/+1
(closes issue #17677) Reported by: outcast Patches: issue0017677.patch uploaded by pabelanger (license 224) Tested by: elguero git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279280 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-24Default sin_family to AF_INET for TCP / TLS Bindaddress. pabelanger1-6/+4
Otherwise, 'manager show settings' will generate errors if manager is not enabled. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279273 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Merged revisions 279207 via svnmerge from rmudgett2-6/+12
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r279207 | rmudgett | 2010-07-23 17:11:23 -0500 (Fri, 23 Jul 2010) | 14 lines Merged revisions 279206 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r279206 | rmudgett | 2010-07-23 16:56:44 -0500 (Fri, 23 Jul 2010) | 7 lines SIP promiscuous redirect could fail to dial the redirect. The ast_channel was created with one variable to ast_request() but the call to ast_call() that initiates the outgoing call was using a different variable. The two variables are not equivalent if the call_forward string included a channel technology specifier. e.g., SIP/200 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279227 f38db490-d61c-443f-a65b-d21fe96a405b