aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2010-07-23Silly 64-bit compilers (who uses 64-bit anyway?)tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279113 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23fix up properties on 1.8 branchrussell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279094 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Create a branch for Asterisk 1.8.russell0-0/+0
___ _ _ _ _ ___ / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ ) | |_| / __| __/ _ \ '__| / __| |/ / | | / _ \ | _ \__ \ || __/ | | \__ \ < | || (_) | |_| |_|___/\__\___|_| |_|___/_|\_\ |_(_)___/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279056 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Create a branch for Asterisk 1.8.russell0-0/+0
___ _ _ _ _ ___ / _ \ ___| |_ ___ _ __(_)___| | __ / | ( _ ) | |_| / __| __/ _ \ '__| / __| |/ / | | / _ \ | _ \__ \ || __/ | | \__ \ < | || (_) | |_| |_|___/\__\___|_| |_|___/_|\_\ |_(_)___/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279054 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Merged revisions 278984 via svnmerge from tilghman3-4/+36
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r278984 | tilghman | 2010-07-23 12:04:15 -0500 (Fri, 23 Jul 2010) | 5 lines Establish a maximum version for openh323 (i.e. not opal), because chan_h323 will fail to load, even if it links. (issue #17679) Reported by: am ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278985 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Merged revisions 278981 via svnmerge from tilghman1-6/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r278981 | tilghman | 2010-07-23 11:42:25 -0500 (Fri, 23 Jul 2010) | 8 lines Avoid race with consolethread on shutdown (on parallel processors). (closes issue #17080) Reported by: sybasesql Patches: 20100721__issue17080.diff.txt uploaded by tilghman (license 14) Tested by: sybasesql ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278982 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23SIP URI comparison fixes.mmichelson3-287/+514
This initially was created to work around the issue of using a string comparison instead of a binary comparison for IP addresses. It evolved a bit when test cases were created and it was discovered that comparison of URI parameters was not working exactly as it should. sip_uri_cmp() and its helpers have been moved to reqresp_parser.c and a new test has been added. (closes issue #17662) Reported by: oej Review: https://reviewboard.asterisk.org/r/792 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278980 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Merge the realtime failover branchtilghman7-75/+261
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278957 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Some left-over hyphen-minus fixes in the man pagetzafrir1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278947 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23... just kidding. Enable SIP by default. :-)russell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278945 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Disable SIP support by default for Asterisk 1.8.russell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278944 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Well, who knew chan_ooh323 used udptl? I sure didn't!mmichelson1-6/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278943 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Rename sig_pri_pri to sig_pri_span. More descriptive of concept.rmudgett3-78/+78
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278942 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Allow IPv6 addresses for UDPTL streams.mmichelson4-156/+102
Review: https://reviewboard.asterisk.org/r/795 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278908 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Minor corrections to the LDAP realtime driveroej1-11/+17
Review: https://reviewboard.asterisk.org/r/798/ Thanks Mark for a quick review! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278875 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23Portability updates for Makefiles.pabelanger3-80/+109
When possible, use $(INSTALL). This allows us to use the functionality within install for setting directory / file permissions, a requirement for unprivileged installation. Also move any directory we plan to create within the installdirs macro. Plus various other formatting issues. (issue #17436) Reported by: pabelanger Patches: non-root.patch.v8 uploaded by pabelanger (license 224) Tested by: pabelanger Review: https://reviewboard.asterisk.org/r/654/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278873 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-23missed FXS kewl start polarityswitch when finally on hook.alecdavis2-1/+2
(issue #17318) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278841 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Support FXS module Polarity Reversal on remote party Answer and Hangup alecdavis4-6/+117
FXS lines normally connect to a telephone. However, when FXS lines are routed to an external PBX or Key System to act as "external" or "CO" lines, it is extremely difficult, if not impossible for the external PBX to know when the call has been disconnected without receiving a polarity reversal on the line. Now using answeronpolarityswitch and hanguponpolarityswitch keywords that previously were used only for FXO ports, now applies like functionality for an FXS port, but from the connected equipment's point of view. (closes issue #17318) Reported by: armeniki Patches: fxs_linepolarity.diff5.txt uploaded by alecdavis (license 585) Tested by: alecdavis Review: https://reviewboard.asterisk.org/r/797/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278809 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22DNID not cleared when channel hang up (Affects PRI and SS7)rmudgett1-1/+1
The "dahdi show channels" CLI command still reports the DNID of the previous call even if the call is already hang up. The "dahdi show channels" command of older releases clear the DNID once the channel is hang up. Regression from the sig_analog/sig_pri extraction from chan_dahdi. (closes issue #17623) Reported by: klaus3000 Patches: issue17623.patch uploaded by rmudgett (license 664) Tested by: rmudgett git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278777 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Add method for finding XML doc files for systems that don't support GLOB_BRACE.jpeeler1-5/+62
In particular, Solaris and perhaps others do not support the above mentioned GNU extension. In this case the paths are simply expanded without the braces and the calls to glob are made separately. Note: I could not explain memory allocation failures that were being reported from within libxml itself when making calls to glob without using GLOB_NOCHECK. This is the only reason why that flag is being used. (closes issue #15402) Reported by: snuffy Patches: bug_xmlpatt-v3.diff uploaded by snuffy (license 35), modified by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278708 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Merged revisions 278618 via svnmerge from mmichelson1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r278618 | mmichelson | 2010-07-22 09:55:04 -0500 (Thu, 22 Jul 2010) | 13 lines Allow PLC to function properly when channels use SLIN for audio. If a channel involved in a bridge was using SLIN audio, then translation paths were not guaranteed to be set up properly since in all likelihood the number of translation steps was only 1. This patch enforces the transcode_via_slin behavior if transcode_via_slin or generic_plc is enabled and one of the formats to make compatible is SLIN. AST-352 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278620 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22update sip subscription debug message to a warning messagedvossel1-2/+4
If the Expire header of a SUBSCRIBE is less that our expiremin, a log warning will be displayed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278619 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-22Add the full current set of CDR driverstilghman1-8/+58
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278579 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-21make func_file unit test's category consistent with other testsdvossel1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278539 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-21Remove built-in AES code and use optional_api insteadtwilson14-2312/+95
Review: https://reviewboard.asterisk.org/r/793/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278538 f38db490-d61c-443f-a65b-d21fe96a405b