diff --git a/.drone.yml b/.drone.yml index 486c2f84022..4119e80d051 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,8 @@ steps: image: signalwire/freeswitch-public-base pull: true commands: - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev + - DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev - echo "applications/mod_test" >> modules.conf - echo 'codecs/mod_openh264' >> modules.conf - sed -i '/applications\\/mod_http_cache/s/^#//g' modules.conf @@ -28,7 +29,8 @@ steps: image: signalwire/freeswitch-public-base pull: true commands: - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev + - DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev - echo '#!/bin/bash\nmake -j`nproc --all` |& tee ./unit-tests-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./build-status.txt\n' > build.sh - chmod +x build.sh - ./build.sh @@ -37,7 +39,8 @@ steps: image: signalwire/freeswitch-public-base pull: true commands: - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev + - DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev - make install || true - cd tests/unit - ./run-tests.sh @@ -83,7 +86,8 @@ steps: image: signalwire/freeswitch-public-base:stretch pull: true commands: - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev + - DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev - cp build/modules.conf.most modules.conf #Enable/Uncomment mods - echo 'codecs/mod_openh264' >> modules.conf @@ -113,7 +117,8 @@ steps: image: signalwire/freeswitch-public-base:stretch pull: true commands: - - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp-dev + - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -yq remove libspandsp-dev + - DEBIAN_FRONTEND=noninteractive apt-get -yq install libsofia-sip-ua-dev libspandsp3-dev - mkdir -p scan-build - echo '#!/bin/bash\nscan-build-4.0 -o ./scan-build/ make -j`nproc --all` |& tee ./scan-build-result.txt\nexitstatus=$${PIPESTATUS[0]}\necho $$exitstatus > ./scan-build-status.txt\n' > scan.sh - chmod +x scan.sh @@ -144,6 +149,6 @@ trigger: --- kind: signature -hmac: c48137f0dee8c2825711979e2c490367a2467a92866d3dfa11cf340a113dbf53 +hmac: 847aeb3791f682fe44b2e401a7a2b6ebbf06830e67046745459a31b32a7da2f3 ... diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000000..da3c7038aab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,44 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Using this example configuration... +2. Dial into conference using verto +3. Play my_problem_file.mp4 into conference +4. FreeSWITCH crashes + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Package version or git hash** + - Version [e.g. 1.10.4] + +**Trace logs** +Provide freeswitch logs w/ DEBUG and UUID logging enabled + +**backtrace from core file** +If applicable, provide the full backtrace from the core file. +``` +(gdb) set pagination off +(gdb) set logging file /tmp/backtrace.log +(gdb) set logging on +Copying output to /tmp/backtrace.log. +(gdb) bt +(gdb) bt full +(gdb) info threads +(gdb) thread apply all bt +(gdb) thread apply all bt full +(gdb) set logging off +Done logging to /tmp/backtrace.log. +(gdb) quit +``` diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000000..024454f576a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,25 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: enhancement +assignees: '' + +--- + + + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. + +**Package version or git hash** +- Version of FreeSWITCH [e.g. 1.10.4] diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000000..6745df1f351 --- /dev/null +++ b/LICENSE @@ -0,0 +1,1807 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: freeswitch +Source: https://freeswitch.org/ + +Files: * +Copyright: 2005-2014 Anthony Minessale II + 2005-2014 Anthony Minessale II +License: MPL-1.1 + MOZILLA PUBLIC LICENSE + Version 1.1 + . + --------------- + . + 1. Definitions. + . + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + . + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + . + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + . + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + . + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + . + 1.5. "Executable" means Covered Code in any form other than Source + Code. + . + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + . + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + . + 1.8. "License" means this document. + . + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + . + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + . + B. Any new file that contains any part of the Original Code or + previous Modifications. + . + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + . + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + . + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + . + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + . + 2. Source Code License. + . + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + . + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + . + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + . + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + . + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + . + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + . + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + . + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + . + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + . + 3. Distribution Obligations. + . + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + . + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + . + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + . + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + . + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + . + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + . + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + . + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + . + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + . + 4. Inability to Comply Due to Statute or Regulation. + . + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + . + 5. Application of this License. + . + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + . + 6. Versions of the License. + . + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + . + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + . + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + . + 7. DISCLAIMER OF WARRANTY. + . + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + . + 8. TERMINATION. + . + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + . + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + . + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + . + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + . + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + . + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + . + 9. LIMITATION OF LIABILITY. + . + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + . + 10. U.S. GOVERNMENT END USERS. + . + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + . + 11. MISCELLANEOUS. + . + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + . + 12. RESPONSIBILITY FOR CLAIMS. + . + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + . + 13. MULTIPLE-LICENSED CODE. + . + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + . + EXHIBIT A -Mozilla Public License. + . + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + . + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + . + The Original Code is ______________________________________. + . + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + . + Contributor(s): ______________________________________. + . + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + . + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +Files: libs/pocketsphinx* +Copyright: 2010 Carnegie Mellon University +License: BSD-2-clause + /* ==================================================================== + * Copyright (c) 1999-2010 Carnegie Mellon University. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * This work was supported in part by funding from the Defense Advanced + * Research Projects Agency and the National Science Foundation of the + * United States of America, and the CMU Sphinx Speech Consortium. + * + * THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND + * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY + * NOR ITS EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ==================================================================== + * + */ + +Files: debian/* +Copyright: 2012 Travis Cross +License: MPL-1.1 or GPL-2+ + This program is free software, and you may redistribute it and/or + modify it under either (at your option) the terms of the Mozilla + Public License Version 1.1 (MPLv1.1) or under the terms of the GNU + General Public License as published by the Free Software Foundation + (either version 2 of the License, or (at your option) any later + version). Both licenses are described below. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA + . + On Debian systems, the full text of the GNU General Public License + version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + . + ---- + . + MOZILLA PUBLIC LICENSE + Version 1.1 + . + --------------- + . + 1. Definitions. + . + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + . + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + . + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + . + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + . + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + . + 1.5. "Executable" means Covered Code in any form other than Source + Code. + . + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + . + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + . + 1.8. "License" means this document. + . + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + . + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + . + B. Any new file that contains any part of the Original Code or + previous Modifications. + . + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + . + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + . + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + . + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + . + 2. Source Code License. + . + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + . + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + . + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + . + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + . + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + . + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + . + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + . + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + . + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + . + 3. Distribution Obligations. + . + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + . + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + . + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + . + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + . + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + . + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + . + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + . + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + . + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + . + 4. Inability to Comply Due to Statute or Regulation. + . + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + . + 5. Application of this License. + . + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + . + 6. Versions of the License. + . + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + . + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + . + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + . + 7. DISCLAIMER OF WARRANTY. + . + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + . + 8. TERMINATION. + . + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + . + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + . + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + . + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + . + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + . + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + . + 9. LIMITATION OF LIABILITY. + . + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + . + 10. U.S. GOVERNMENT END USERS. + . + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + . + 11. MISCELLANEOUS. + . + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + . + 12. RESPONSIBILITY FOR CLAIMS. + . + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + . + 13. MULTIPLE-LICENSED CODE. + . + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + . + EXHIBIT A -Mozilla Public License. + . + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + . + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + . + The Original Code is ______________________________________. + . + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + . + Contributor(s): ______________________________________. + . + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + . + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +Files: libs/unimrcp/* +Copyright: 2008-2010 Arsen Chaloyan + 2009-2010 Tomas Valenta, Arsen Chaloyan + 2001-2006 Steve Underwood +License: Apache-2.0 + +Files: */inet_pton.c + libs/curl/lib/inet_ntop.c + libs/curl/lib/mprintf.c +Copyright: 1996-2001 Internet Software Consortium +License: ISC + +Files: libs/curl/lib/socks_gssapi.c + libs/curl/lib/socks_sspi.c +Copyright: 2009-2011, Markus Moeller +License: curl + +Files: libs/curl/lib/md5.c +Copyright: 1998-2005, Daniel Stenberg, , et al + 1991-1992, RSA Data Security, Inc. +License: curl + +Files: libs/curl/lib/md4.c +Copyright: 1990-1992, RSA Data Security, Inc +License: RSA + +License: RSA + License to copy and use this software is granted provided that it + is identified as the "RSA Data Security, Inc. MD4 Message-Digest + Algorithm" in all material mentioning or referencing this software + or this function. + . + License is also granted to make and use derivative works provided + that such works are identified as "derived from the RSA Data + Security, Inc. MD4 Message-Digest Algorithm" in all material + mentioning or referencing the derived work. + . + RSA Data Security, Inc. makes no representations concerning either + the merchantability of this software or the suitability of this + software for any particular purpose. It is provided "as is" + without express or implied warranty of any kind. + . + These notices must be retained in any copies of any part of this + documentation and/or software. + +License: curl + All rights reserved. + . + Permission to use, copy, modify, and distribute this software for any purpose + with or without fee is hereby granted, provided that the above copyright + notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN + NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE + OR OTHER DEALINGS IN THE SOFTWARE. + . + Except as contained in this notice, the name of a copyright holder shall not + be used in advertising or otherwise to promote the sale, use or other dealings + in this Software without prior written authorization of the copyright holder. + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the Institute nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: BSD-4-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Neither the name of the Institute nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + 4. Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Files: libs/freetdm/* +Copyright: 2005-2014, Anthony Minessale II + 2005-2014, Anthony Minessale II + 2009,2010 Moises Silva + David Yat Sin + 2007, Jan Vidar Berger, Case Labs, Ltd. + 2007,2008 Michael Jerris + 2001-2006 Steve Underwood + 2001-2006 Steve Underwood + 2005 Robert Krten + 2002,2004 Christopher Clark + 2006 Nenad Corbic + 1984-2011 Sangoma Technologies Inc. + 2007, Michael S. Collins + 2012, Kapil Gupta + 2009 Konrad Hammel + 2010 Stefan Knoblich + 2008 Stefan Knoblich, axsentis GmbH. + 2011 Sebastien Trottier +License: BSD-3-clause + +Files: libs/freetdm/src/priserver.c + libs/freetdm/src/sangoma_pri.? +Copyright: 2005-2014, Anthony Minessale II + Nenad Corbic +License: GPL-2+ + +Files: libs/freetdm/src/libteletone_detect.c + libs/freetdm/mod_freetdm/mod_freetdm.c + libs/freetdm/src/include/private/libteletone.h + libs/freetdm/src/include/private/libteletone_detect.h + libs/freetdm/src/include/private/libteletone_generate.h + libs/freetdm/src/libteletone_generate.c + libs/libteletone/src/libteletone_detect.[ch] + src/mod/applications/mod_spandsp/udptl.[ch] +Copyright: 2005-2014, Anthony Minessale II + 2005-2014, Anthony Minessale II + 2001-2009, Steve Underwood +License: MPL-1.1 + +Files: libs/freetdm/src/include/private/fsk.h + libs/freetdm/src/uart.c + libs/freetdm/src/fsk.c + libs/freetdm/src/include/private/uart.h + libs/freetdm/src/include/private/fsk.h +Copyright: 2005 Robert Krten +License: BSD-2-clause + +Files: libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c +Copyright: 2011, Stefan Knoblich +License: MIT/X11 (BSD like) + +Files: src/include/SimpleGlob.h +Copyright: 2006-2007, Brodie Thiesfield +License: MIT/X11 (BSD like) + +Files: src/include/switch_cpp.h +Copyright: 2007 Yossi Neiman +License: MPL-1.1 (well, maybe -- it refers to a COPYING file, so probably docs/COPYING, in which case MPL-1.1) + +Files: libs/iksemel/* +Copyright: 2000-2007 Gurer Ozen +License: LGPL-2.1 + +Files: libs/apr*/* +Copyright: 2000-2005 The Apache Software Foundation or its licensors + 1991-1992, RSA Data Security, Inc. + 1996 by Internet Software Consortium. + 2000 by Martin Pool + 2000-2004 Ryan Bloom + 1998, 1999 Thai Open Source Software Center Ltd + 1998, 1999 Enbridge Pipelines Inc. + 1999-2001 Dave Carrigan + 2000, Clark Cooper +License: Apache-2.0 + +Files: libs/apr/include/apr_fnmatch.h +Copyright: 1992, 1993 The Regents of the University of California +License: BSD-4-clause + +Files: libs/apr/strings/apr_strnatcmp.c +Copyright: 2000 by Martin Pool +License: zlib/libpng + +Files: libs/apr/file_io/unix/mktemp.c + libs/apr/strings/apr_strings.c +Copyright: 1987-1993 The Regents of the University of California +License: Apache-2.0 or BSD-4-clause + +Files: libs/apr/dso/aix/dso.c +Copyright: 1992-1998 Jens-Uwe Mager, Helios Software GmbH, Hannover, Germany. + 1996 John W. Eaton + 1998 Ralf S. Engelschall + 2000 David Reid +License: Apache-2.0 + +Files: libs/apr-util/crypto/apr_md5.c +Copyright: 1991-2, RSA Data Security, Inc. + 2000-2005 The Apache Software Foundation or its licensors + phk@login.dknet.dk +License: RSA and Apache-2.0 and Beerware + +Files: libs/apr-util/ldap/apr_ldap_url.c +Copyright: 2000-2005 The Apache Software Foundation or its licensors + 1998-2002 The OpenLDAP Foundation + 1992-1996 Regents of the University of Michigan +License: Apache-2.0 and OpenLDAP and BSD-like + +Files: libs/miniupnpc/* +Copyright: 2005-2009, Thomas Bernard +License: BSD-3-clause + +Files: libs/miniupnpc/bsdqueue.h +Copyright: 1991,1993, The Regents of the University of California +License: BSD-3-clause + +Files: libs/js/* +Copyright: 1998-2006 Mozilla + 1996-2000 Netscape Communications Corporation + 2000 International Business Machines Corporation + 1989-1991, Apple Computer, Inc. 1989-1991 + 1992 Charles Petzold, 1992 + 1991 Lucent Technologies +License: MPL-1.1 or GPL-2+ or LGPL-2.1+ + +Files: libs/js/nsprpub/pr/tests/tmocon.c + libs/js/nsprpub/pr/src/md/beos/brng.c + libs/js/nsprpub/pr/src/md/unix/os_Irix.s + libs/js/nsprpub/pr/src/md/unix/os_SunOS_x86.s + libs/js/nsprpub/pr/src/md/unix/os_SunOS_x86_64.s + libs/js/nsprpub/pr/src/md/beos/bfile.c + libs/js/nsprpub/pr/src/linking/prlink.c + libs/js/nsprpub/pr/src/md/unix/os_SunOS.s + libs/js/nsprpub/pr/src/md/unix/os_ReliantUNIX.s + libs/js/nsprpub/pr/src/md/unix/os_Darwin_ppc.s + libs/js/nsprpub/pr/src/md/unix/os_SunOS_ultrasparc.s + libs/js/nsprpub/pr/src/md/unix/os_Linux_ia64.s + libs/js/nsprpub/pr/tests/testfile.c + libs/js/nsprpub/pr/src/md/unix/os_Darwin_x86.s + libs/js/nsprpub/pr/src/md/unix/os_AIX.s + libs/js/nsprpub/pr/src/md/unix/os_HPUX_ia64.s + libs/js/nsprpub/pr/src/md/unix/os_BSD_386_2.s + libs/js/nsprpub/pr/src/md/unix/unix.c + libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s + libs/js/nsprpub/pr/tests/testfile.c + libs/js/nsprpub/pr/src/md/unix/os_Darwin_x86.s + libs/js/nsprpub/pr/src/md/unix/os_AIX.s + libs/js/nsprpub/pr/src/md/unix/os_HPUX_ia64.s + libs/js/nsprpub/pr/src/md/unix/os_BSD_386_2.s + libs/js/nsprpub/pr/src/md/unix/unix.c + libs/js/nsprpub/pr/src/md/unix/os_Linux_x86_64.s + libs/js/nsprpub/pr/src/md/unix/os_SunOS_sparcv9.s + libs/js/nsprpub/pr/src/md/os2/os2vaclegacy.s + libs/js/nsprpub/pr/src/md/os2/os2emx.s + libs/js/nsprpub/pr/src/md/unix/os_Linux_x86.s + libs/js/nsprpub/pr/include/md/_beos.cfg + libs/js/nsprpub/configure.in + libs/js/nsprpub/pr/src/md/unix/os_HPUX.s + libs/js/nsprpub/pr/include/md/_netbsd.h +Copyright: 1998-2004 Netscape Communications Corporation +License: MPL-1.1 or GPL-2+ + +Files: src/mod/applications/mod_cluechoo/sl.h +Copyright: 1993 Toyoda Masashi +License: FIXME + +Files: src/mod/event_handlers/mod_cdr_mongodb/* +Copyright: 2009-2012 10gen Inc. + 2001 Unicode, Inc. +License: Apache-2.0 + +Files: src/mod/applications/mod_stress/FFTReal.h + src/mod/applications/mod_stress/FFTReal.cpp +Copyright: 1999 Laurent de Soras +License: unclear + +Files: src/mod/loggers/mod_syslog/mod_syslog.c +Copyright: 2005-2010, James Martelletti +License: MPL-1.1 + +Files: src/mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.c +Copyright: 2005-2014, Anthony Minessale II +License: MPL-1.1 + +Files: src/mod/event_handlers/mod_cdr_mongodb/driver/src/md5.[ch] +Copyright: 1999, 2000, 2002 Aladdin Enterprises. +License: zlib/libpng + +Files: src/mod/event_handlers/mod_radius_cdr/mod_radius_cdr.h +Copyright: 2006, Author: Yossi Neiman of Cartis Solutions, Inc. +License: MPL-1.1 + +Files: src/mod/say/mod_say_??/mod_say_??.c + scripts/c/socket2me/socket2me.c + src/mod/xml_int/mod_xml_scgi/xml_scgi_server.pl +Copyright: 2007-2014, Anthony Minessale II + 2007-2013, Anthony Minessale II + 2011-2012, Shahar Hadas +License: BSD-3-clause + +Files: src/mod/xml_int/mod_xml_ldap/lutil_ldap.h +Copyright: 1998-2008 The OpenLDAP Foundation. +License: OpenLDAP + +Files: libs/sofia-sip/* +Copyright: 2005-2009 Nokia Corporation + 2001-2006 Nokia Research Center + 1996 Pekka Pessi + 2006 Dimitri E. Prado + 1996,1999 Internet Software Consortium + 2004 Internet Systems Consortium, Inc. ("ISC") + 1994 Sun Microsystems, Inc + 1988 The Regents of the University of California + 1995-1999 and WIDE Project + 2001 First Peer +License: LGPL-2.1+ + +Files: libs/sofia-sip/libsofia-sip-ua/su/poll.c +Copyright: 2005 Nokia Corporation + 1994-2002 Free Software Foundation, Inc. +License: LGPL-2.1+ + +Files: libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_addrinfo.h + libs/sofia-sip/libsofia-sip-ua/su/su_addrinfo.c +Copyright: 1995-1999, WIDE Project. +License: BSD-3-clause + +Files: libs/sofia-sip/libsofia-sip-ua/su/inet_pton.c + libs/sofia-sip/libsofia-sip-ua/su/inet_ntop.c +Copyright: 2004 Internet Systems Consortium, Inc. ("ISC") + 1996,1999 Internet Software Consortium. +License: ISC + +Files: libs/win32/libshout/shout/shout.h +Copyright: 2002-2003 the Icecast team +License: LGPL-2+ + +Files: */switch_xml.[ch] +Copyright: 2005-2014, Anthony Minessale II + 2004-2006 Aaron Voisine +License: MPL-1.1 or BSD-like + +Files: src/switch_mprintf.c +License: public-domain + +Files: src/g711.c + src/include/g711.h +Copyright: 2001,2006 Abandoned Steve Underwood +License: public-domain + +Files: libs/libsndfile/src/G72x/* +Copyright: Abandoned, Sun Microsystems, Inc. +License: public-domain + +Files: libs/libsndfile/* + libs/win32/libsndfile/* +Copyright: 1999-2009 Erik de Castro Lopo + 1999-2009 Erik de Castro Lopo + 2007 + 2007 Reuben Thomas + 2004 Paavo Jumppanen + 2004-2005 David Viens + 2006 Paul Davis + 2007 Jonatan Liljedahl + 1993 by NuEdge Development + 2003 Ross Bencina + 2004 Tobias Gehrig +License: LGPL-2.1+ + +Files: libs/libsndfile/src/ima_oki_adpcm.c + libs/libsndfile/src/test_ima_oki_adpcm.c +Copyright: 2007-2009 Erik de Castro Lopo + 2007 +License: LGPL-2+ + +Files: libs/libsndfile/tests/* + libs/libsndfile/Octave/sndfile_save.m + libs/libsndfile/examples/sndfile-play.c + libs/libsndfile/examples/sndfilehandle.cc + libs/libsndfile/programs/sndfile-play-beos.cpp + libs/libsndfile/examples/sndfile-play-beos.cpp + libs/libsndfile/regtest/database.c + libs/libsndfile/Octave/sndfile_play.m + libs/libsndfile/regtest/sndfile-regtest.c + libs/libsndfile/Octave/sndfile_load.m + libs/libsndfile/regtest/regtest.h + libs/libsndfile/examples/cooledit-fixer.c + libs/libsndfile/examples/sndfile-info.c + libs/libsndfile/src/G72x/g72x_test.c + libs/libsndfile/regtest/checksum.c + libs/libsndfile/examples/sndfile-convert.c +Copyright: 1999-2009 Erik de Castro Lopo + 1999-2009 Erik de Castro Lopo + 2001 Marcus Overhagen +License: GPL-2+ + +Files: libs/libsndfile/programs/common.? + libs/libsndfile/programs/sndfile-info.c + libs/libsndfile/programs/sndfile-cmp.c + libs/libsndfile/programs/sndfile-metadata-set.c + libs/libsndfile/examples/make_sine.c + libs/libsndfile/programs/test-sndfile-metadata-set.py + libs/libsndfile/programs/sndfile-convert.c + libs/libsndfile/programs/sndfile-metadata-get.c + libs/libsndfile/programs/sndfile-play.c + libs/libsndfile/examples/list_formats.c + libs/libsndfile/examples/sfprocess.c + libs/libsndfile/examples/generate.c + libs/libsndfile/src/create_symbols_file.py + libs/libsndfile/src/binheader_writef_check.py + libs/libsndfile/src/ogg.c + libs/libsndfile/Mingw-make-dist.sh + libs/libsndfile/examples/sndfile-to-text.c + libs/libsndfile/src/sndfile.hh +Copyright: 1999-2009 Erik de Castro Lopo + 2008 George Blood Audio + 2007 John ffitch + 2002 Xiph.org Foundation +License: BSD-3-clause + +Files: libs/libsndfile/src/GSM610/* +Copyright: 1992, 1993, 1994 by Jutta Degener and Carsten Bormann +License: + Their work was released under the following license which is + assumed to be compatible with The GNU Lesser General Public License. + . + ---------------------------------------------------------------------------- + . + Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, + Technische Universitaet Berlin + . + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet Berlin + are deemed to have made any representations as to the suitability of this + software for any purpose nor are held responsible for any defects of + this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + . + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + . + Berlin, 28.11.1994 + Jutta Degener (jutta@cs.tu-berlin.de) + Carsten Bormann (cabo@cs.tu-berlin.de) + +Files: src/mod/endpoints/mod_opal/* +Copyright: 2007 Tuyan Ozipek (tuyanozipek@gmail.com) + 2008-2012 Vox Lucida Pty. Ltd. (robertj@voxlucida.com.au) +License: MPL-1.1 + +Files: src/mod/endpoints/mod_h323/mod_h323.* +Copyright: 2010 Ilnitskiy Mixim (max.h323@gmail.com) + 2010 Georgiewskiy Yuriy (bottleman@icf.org.ru) +License: MPL-1.1 + +Files: src/mod/endpoints/mod_khomp/* +Copyright: 2007-2010 Khomp Ind. & Com. +License: MPL-1.1 or LGPL-2.1+ + +Files: src/mod/endpoints/mod_khomp/mod_khomp.cpp +Copyright: 2005-2014, Anthony Minessale II +License: MPL-1.1 + +Files: src/mod/endpoints/mod_khomp/commons/base/atomic.hpp +Copyright: 1998 Doug Rabson +License: BSD-2-clause + +Files: src/mod/languages/mod_java/modjava.c +Copyright: 2007, Damjan Jovanovic +License: MPL-1.1 + +Files: src/mod/languages/mod_managed/* +Copyright: 2008, Michael Giagnocavo +License: MPL-1.1 + +Files: src/mod/endpoints/mod_gsmopen/gsmlib/gsmlib-1.10-patched-13ubuntu/* + src/mod/languages/mod_lua/lua-mode.el + libs/iksemel/ltmain.sh +Copyright: 1995-2007 Free Software Foundation, Inc. +License: GPL-2+ + +Files: src/mod/endpoints/mod_gsmopen/libctb-0.16/* +Copyright: 2001-2010 Joachim Buermann +License: wxWindows + +Files: src/mod/endpoints/mod_gsmopen/libctb-0.16/src/win32/getopt.cpp +Copyright: 2001 ? +License: clueless and unacceptable + FIXME -- this cannot go in Debian -- the license is stated as: + (I think Open Source) + +Files: src/mod/endpoints/mod_rtmp/libamf/src/types.[ch] +Copyright: 2007, 2008 Marc Noirot +License: GPL-2+ + +Files: src/mod/endpoints/mod_rtmp/rtmp.c + src/mod/endpoints/mod_rtmp/mod_rtmp.[ch] + src/mod/endpoints/mod_rtmp/rtmp_sig.c + src/mod/endpoints/mod_rtmp/rtmp_tcp.c +Copyright: 2011-2012, Barracuda Networks Inc. +License: MPL-1.1 + +Files: src/mod/endpoints/mod_gsmopen/asterisk/celliax_spandsp.[ch] +Copyright: 2001-2006 Steve Underwood +License: GPL-2 + +Files: src/mod/endpoints/mod_skinny/* + src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c +Copyright: 2009-2010, Mathieu Parent +License: MPL-1.1 + +Files: src/mod/endpoints/mod_skinny/*.p[lm] +Copyright: 2010, Mathieu Parent +License: Perl + +Files: src/mod/endpoints/mod_portaudio/* +Copyright: 1999-2000 Ross Bencina and Phil Burk + 2005-2014, Anthony Minessale II +License: MIT/X11 (BSD like) + +Files: src/mod/endpoints/mod_portaudio/mod_portaudio.c +Copyright: 2005-2014, Anthony Minessale II +License: MPL-1.1 + +Files: src/mod/endpoints/mod_sofia/sip-dig.c +Copyright: 2006 Nokia Corporation +License: LGPL-2.1+ + +Files: src/mod/applications/mod_fsk/fsk.[ch] + src/mod/applications/mod_fsk/uart.[ch] +Copyright: 2005 Robert Krten +License: BSD-2-clause + +Files: src/mod/applications/mod_redis/credis.[ch] +Copyright: 2009-2010, Jonas Romfelt +License: BSD-3-clause + +Files: src/mod/applications/mod_*vmd/mod_vmd.c + src/mod/applications/mod_avmd/mod_avmd.c +Copyright: 2008-2010, Eric des Courtis + Benbria. +License: MPL-1.1 + +Files: libs/silk/* +Copyright: 2006-2011, Skype Limited. +License: BSD-2-clause + +Files: libs/libdingaling/* +Copyright: 2005-2014, Anthony Minessale II + 2001-2003 Allan Saddi +License: MPL-1.1 + +Files: libs/libdingaling/src/sha1.[ch] +Copyright: 2001-2003 Allan Saddi +License: BSD-2-clause + +Files: libs/libcodec2/* +Copyright: 1990-2010 David Rowe + 1990-2010 David Rowe 2009 +License: LGPL-2.1 + +Files: libs/libcodec2/unittest/* +Copyright: 2009,2010 David Rowe +License: LGPL + +Files: libs/libcodec2/script/menu.sh +Copyright: 1990-2010 David Rowe +License: GPL-2 + +Files: libs/libcodec2/src/pack.c +Copyright: 2010 Perens LLC +License: GPL-3+ + +Files: src/mod/codecs/mod_sangoma_codec/mod_sangoma_codec.c + src/include/switch_profile.h + src/switch_profile.c +Copyright: 2009,2010, Sangoma Technologies +License: BSD-3-clause + +Files: src/mod/codecs/mod_isac/* +Copyright: 2011-2012 The WebRTC project authors +License: BSD-3-clause + +Files: src/mod/codecs/mod_isac/mod_isac.c +Copyright: 2005-2014, Anthony Minessale II +License: MPL-1.1 + +Files: libs/srtp/* +Copyright: 2001-2006, Cisco Systems, Inc. + 2005 Ingate Systems AB +License: BSD-3-clause + +Files: libs/libsndfile/src/ima_oki_adpcm.h +Copyright: 2007 + 2007-2009 Erik de Castro Lopo +License: LGPL-2+ + +Files: src/switch_dso.c +Copyright: 2008 Michael Jerris +License: BSD-like + +Files: libs/libtpl-1.5/src/tpl.[ch] +Copyright: 2005-2010, Troy D. Hanson +License: BSD-2-clause + +Files: libs/libnatpmp/* +Copyright: 2007-2008, Thomas BERNARD +License: ISC + +Files: libs/libwebsockets/* +Copyright: 2010-2011 Andy Green +License: LGPL + +Files: libs/libwebsockets/win32port/zlib/* +Copyright: 1995-2010 Jean-loup Gailly + 1995-2010 Mark Adler + 1995-2010 Jean-loup Gailly and Mark Adler + 1995-2010 Jean-loup Gailly and Mark Adler "; +License: zlib/libpng + +Files: libs/libwebsockets/lib/base64-decode.c +Copyright: 2001 Bob Trower, Trantor Standard Systems Inc. +License: MIT/X11 (BSD like) + +Files: libs/libwebsockets/lib/sha-1.c +Copyright: 1995-1998 WIDE Project. +License: BSD-3-clause + +Files: libs/libwebsockets/win32port/win32helpers/getopt_long.c +Copyright: 1987-1996, The Regents of the University of California. +License: BSD-4-clause + +Files: libs/esl/* +Copyright: 2007 Michael Jerris + 2002 Todd C. Miller + 2007-2014, Anthony Minessale II + 2000 The NetBSD Foundation, Inc. +License: BSD-3-clause + +Files: libs/esl/src/esl_json.c + libs/esl/src/include/esl_json.h +Copyright: 2009 Dave Gamble +License: MIT/X11 (BSD like) + +Files: libs/esl/managed/ManagedEslTest/Program.cs +Copyright: Diego Toro +License: MPL-1.1 + +Files: libs/esl/getopt/getopt_long.c +Copyright: 2000 The NetBSD Foundation, Inc. + 2002 Todd C. Miller +License: BSD-2-clause + +Files: libs/xmlrpc-c/* +Copyright: 2005 Steven A. Bone, sbone@pobox.com + 2000 Moez Mahfoudh + 1998-2000 Thai Open Source Software Center Ltd + 2001 First Peer, Inc. + 1991-1994 Stichting Mathematisch Centrum + 1995-2000 The Apache Group. +License: BSD-3-clause + +Files: libs/xmlrpc-c/lib/util/getoptx.h +Copyright: 1987-1999 Free Software Foundation, Inc. +License: GPL-1+ + +Files: libs/broadvoice/* +Copyright: 2000-2009 Broadcom Corporation + 2008-2009 Steve Underwood + 2001-2009 Steve Underwood + 2006 Michael Jerris +License: LGPL-2.1 + +Files: libs/broadvoice/autogen.sh +License: GPL-2 + +Files: libs/libzrtp/* +Copyright: 2006-2012 Philip R. Zimmermann. + 1993-2005 Colin Plumb + 1998-2006, Dr Brian Gladman, Worcester, UK. + 2002, Bryce "Zooko" Wilcox-O'Hearn + 2010 Soft Industry +License: AGPL-3 or MPL-1.1 + +Files: libs/libzrtp/test/cmockery/cmockery.c +Copyright: 2008 Google Inc +License: Apache-2.0 + +Files: libs/libzrtp/third_party/bnlib/legal.c + libs/libzrtp/third_party/bnlib/* +Copyright: 1993-2005 Colin Plumb +License: GPL-2 or GPL-3 or MPL-1.1 + +Files: libs/libzrtp/third_party/bnlib/test/md5.c +Copyright: 1995 Abandoned Colin Plumb +License: public-domain + +Files: libs/win32/sqlite/sqlite3.[ch] + libs/win32/sqlite/parse.c +Copyright: 2006 Abandoned D. Richard Hipp +License: public-domain + +Files: libs/win32/pcre/dftables.c +Copyright: 1997-2008 University of Cambridge +License: BSD-3-clause + +Files: libs/ilbc/* +Copyright: 2007-2008, Steve Underwood + 2006 Michael Jerris + 2004, The Internet Society +Comment: Disclaimer: non-comercial use, perhaps, and non-modifiable (standards compliance) +License: GIPS + +Files: libs/ilbc/tests/regression_tests.sh +License: GPL-2 + +Files: libs/libg722_1/* +Copyright: 2004 Polycom, Inc + 2006 Michael Jerris + 2001-2009 Steve Underwood + 2001-2006 Steve Underwood +Comment: Disclaimer: non-comercial use,gital Equipment Corporation, Maynard, Massachusetts. +License: patent-mess + +Files: libs/libg722_1/autogen.sh +License: GPL-2 + +Files: libs/libg722_1/tests/g192_bit_stream.h + libs/libg722_1/tests/timing.h +Copyright: 2008-2009 Steve Underwood + 2001 Steve Underwood +License: LGPL-2.1 + +License: OpenLDAP + /* Portions Copyright 1998-2002 The OpenLDAP Foundation + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted only as authorized by the OpenLDAP + * Public License. A copy of this license is available at + * http://www.OpenLDAP.org/license.html or in file LICENSE in the + * top-level directory of the distribution. + * + * OpenLDAP is a registered trademark of the OpenLDAP Foundation. + * + * Individual files and/or contributed packages may be copyright by + * other parties and subject to additional restrictions. + * + * This work is derived from the University of Michigan LDAP v3.3 + * distribution. Information concerning this software is available + * at: http://www.umich.edu/~dirsvcs/ldap/ + * + * This work also contains materials derived from public sources. + * + * Additional information about OpenLDAP can be obtained at: + * http://www.openldap.org/ + */ diff --git a/Makefile.am b/Makefile.am index 297c33b498e..fa0bb9abd78 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,8 +30,8 @@ endif AM_CFLAGS = $(SWITCH_AM_CFLAGS) $(SWITCH_ANSI_CFLAGS) AM_CPPFLAGS = AM_CPPFLAGS += -I$(switch_srcdir)/libs/libvpx -AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS) $(SOFIA_SIP_CFLAGS) -AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS) $(SOFIA_SIP_LIBS) +AM_CPPFLAGS += $(SWITCH_AM_CXXFLAGS) +AM_LDFLAGS = $(SWITCH_AM_LDFLAGS) $(AM_LIBAPR_LDFLAGS) $(AM_LIBAPU_LDFLAGS) DEFAULT_SOUNDS=en-us-callie-8000 MY_DEFAULT_ARGS= --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)" @@ -246,9 +246,9 @@ CORE_LIBS+=libfreeswitch_libyuv.la endif lib_LTLIBRARIES = libfreeswitch.la -libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(GUMBO_CFLAGS) $(FVAD_CFLAGS) $(FREETYPE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(AM_CFLAGS) $(TPL_CFLAGS) +libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(GUMBO_CFLAGS) $(FVAD_CFLAGS) $(FREETYPE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(SOFIA_SIP_CFLAGS) $(AM_CFLAGS) $(TPL_CFLAGS) libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDFLAGS) -no-undefined -libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS) $(SPANDSP_LIBS) +libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(GUMBO_LIBS) $(FVAD_LIBS) $(FREETYPE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS) $(TPL_LIBS) $(SPANDSP_LIBS) $(SOFIA_SIP_LIBS) libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES) if HAVE_PNG diff --git a/build/next-release.txt b/build/next-release.txt index 1c795d02d19..2b93e01043e 100644 --- a/build/next-release.txt +++ b/build/next-release.txt @@ -1 +1 @@ -1.10.4-release +1.10.5-release diff --git a/configure.ac b/configure.ac index 8a5e154ed97..2f9de1dee96 100644 --- a/configure.ac +++ b/configure.ac @@ -3,10 +3,10 @@ # Must change all of the below together # For a release, set revision for that tagged release as well and uncomment -AC_INIT([freeswitch], [1.10.4-release], bugs@freeswitch.org) +AC_INIT([freeswitch], [1.10.5-release], bugs@freeswitch.org) AC_SUBST(SWITCH_VERSION_MAJOR, [1]) AC_SUBST(SWITCH_VERSION_MINOR, [10]) -AC_SUBST(SWITCH_VERSION_MICRO, [4-release]) +AC_SUBST(SWITCH_VERSION_MICRO, [5-release]) AC_SUBST(SWITCH_VERSION_REVISION, []) AC_SUBST(SWITCH_VERSION_REVISION_HUMAN, []) @@ -714,9 +714,9 @@ PKG_CHECK_MODULES([MARIADB], [libmariadb >= 3.0.9],[ ]) ]) -PKG_CHECK_MODULES([SPANDSP], [spandsp >= 1.99],[ +PKG_CHECK_MODULES([SPANDSP], [spandsp >= 3.0],[ AM_CONDITIONAL([HAVE_SPANDSP],[true])],[ - AC_MSG_ERROR([no usable spandsp; please install spandsp devel package or equivalent]) + AC_MSG_ERROR([no usable spandsp; please install spandsp3 devel package or equivalent]) ]) PKG_CHECK_MODULES([SOFIA_SIP], [sofia-sip-ua >= 1.12.12],[ diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index f8b28f04315..66adadd0252 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -305,7 +305,7 @@ print_source_control () { Source: freeswitch Section: comm Priority: optional -Maintainer: FreeSWITCH Solutions, LLC +Maintainer: SignalWire, Inc Build-Depends: # for debian ${debhelper_dep}, @@ -333,7 +333,7 @@ Build-Depends: # used by many modules libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl-dev, bison, zlib1g-dev, libsofia-sip-ua-dev (>= 1.12.12), - libspandsp-dev (>= 0.0.6), + libspandsp3-dev, # module build-depends $(debian_wrap "${mod_build_depends}") Standards-Version: 3.9.3 diff --git a/freeswitch.spec b/freeswitch.spec index e8bb6d64cff..7fb358bacbc 100644 --- a/freeswitch.spec +++ b/freeswitch.spec @@ -4,7 +4,7 @@ # # includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729 # freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-mariadb freeswitch-pgsql freeswitch-perl freeswitch-python freeswitch-v8 freeswitch-signalwire -# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru freeswitch-freetdm +# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru # and others # # Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved. @@ -25,7 +25,7 @@ # Ken Rice # Chris Rienzo # -# Maintainer(s): Ken Rice +# Maintainer(s): SignalWire, Inc # ###################################################################################################################### # Module build settings @@ -153,18 +153,13 @@ BuildRequires: libtool >= 1.5.17 BuildRequires: ncurses-devel BuildRequires: openssl-devel >= 1.0.1e BuildRequires: sofia-sip-devel >= 1.12.12 -BuildRequires: spandsp-devel >= 1.99 +BuildRequires: spandsp3-devel >= 3.0 BuildRequires: pcre-devel BuildRequires: speex-devel BuildRequires: sqlite-devel BuildRequires: libtiff-devel -BuildRequires: ldns-devel BuildRequires: libedit-devel -BuildRequires: perl BuildRequires: yasm -%if 0%{?fedora} >= 8 || 0%{?rhel} >= 6 -BuildRequires: perl-ExtUtils-Embed -%endif BuildRequires: pkgconfig %if 0%{?rhel} < 6 && 0%{?fedora} <= 6 BuildRequires: termcap @@ -176,38 +171,17 @@ BuildRequires: db-devel %else BuildRequires: db4-devel %endif -BuildRequires: python-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: libjpeg-devel #BuildRequires: mono-devel -BuildRequires: alsa-lib-devel BuildRequires: which BuildRequires: zlib-devel BuildRequires: e2fsprogs-devel BuildRequires: libtheora-devel BuildRequires: libxml2-devel -BuildRequires: bison -BuildRequires: net-snmp-devel -BuildRequires: libmemcached-devel -BuildRequires: portaudio-devel BuildRequires: libsndfile-devel -BuildRequires: broadvoice-devel -BuildRequires: flite-devel -BuildRequires: ilbc2-devel -BuildRequires: g722_1-devel -BuildRequires: codec2-devel -BuildRequires: libsilk-devel BuildRequires: libyuv-devel >= 0.0.1280 -BuildRequires: lua-devel -BuildRequires: mongo-c-driver-devel -BuildRequires: opus-devel -BuildRequires: soundtouch-devel >= 1.7.1 -%if %{build_py26_esl} -BuildRequires: python26-devel -Requires: python26 -%endif -Requires: alsa-lib Requires: libogg Requires: libvorbis Requires: curl @@ -225,7 +199,6 @@ Requires: db4 Requires: gdbm Requires: zlib Requires: libtiff -Requires: python Requires: libtheora Requires: libxml2 Requires: libsndfile @@ -385,6 +358,7 @@ Engine. Uses ODBC to connect to the DB of your choice. Summary: FreeSWITCH mod_enum Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: ldns-devel %description application-enum Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions @@ -492,6 +466,7 @@ Provides FreeSWITCH mod_limit, provide application to limit both concurrent and Summary: FreeSWITCH mod_memcache Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: libmemcached-devel %description application-memcache Provides FreeSWITCH mod_memcache, implements an API interface to memcached which @@ -503,6 +478,7 @@ alleviating database load." Summary: FreeSWITCH mod_mongo Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: mongo-c-driver-devel %description application-mongo Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb. @@ -584,6 +560,7 @@ and appearance of the programmable softkeys on Snom phones Summary: FreeSWITCH mod_soundtouch Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: soundtouch-devel >= 1.7.1 %description application-soundtouch Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do @@ -660,6 +637,8 @@ system for backend voicemail systems Summary: FreeSWITCH mod_flite Group: System/Libraries Requires: %{name} = %{version}-%{release} +Requires: flite >= 2.0.0 +BuildRequires: flite-devel >= 2.0.0 %description asrtts-flite Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine @@ -668,6 +647,7 @@ Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine Summary: FreeSWITCH mod_pocketsphinx Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: bison %description asrtts-pocketsphinx Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource @@ -717,6 +697,7 @@ Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony pla Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: broadvoice-devel %description codec-bv BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform @@ -725,6 +706,7 @@ BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: codec2-devel %description codec-codec2 CODEC2 narrow band codec support for FreeSWITCH open source telephony platform. @@ -761,6 +743,7 @@ Summary: iLCB Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} Requires: ilbc2 +BuildRequires: ilbc2-devel %description codec-ilbc @@ -794,6 +777,8 @@ MP4V Video Codec support for FreeSWITCH open source telephony platform Summary: Opus Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +Requires: opus >= 1.1 +BuildRequires: opus-devel >= 1.1 %description codec-opus OPUS Codec support for FreeSWITCH open source telephony platform @@ -815,6 +800,7 @@ Sangoma D100 and D500 Codec Card Support Summary: Silk Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: libsilk-devel %description codec-silk Silk Codec (from Skype) support for FreeSWITCH open source telephony platform @@ -823,6 +809,7 @@ Silk Codec (from Skype) support for FreeSWITCH open source telephony platform Summary: Siren Codec support for FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: g722_1-devel %description codec-siren Siren Codec support for FreeSWITCH open source telephony platform. Using @@ -921,6 +908,7 @@ Group: System/Libraries Requires: %{name} = %{version}-%{release} Requires: alsa-lib BuildRequires: alsa-lib-devel +BuildRequires: portaudio-devel %description endpoint-portaudio PortAudio endpoint support for FreeSWITCH open source telephony platform. @@ -959,52 +947,6 @@ Requires: %{name} = %{version}-%{release} %description endpoint-rtc Verto protocol support for FreeSWITCH open source telephony platform. -%package freetdm -Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH -Group: System/Libraries -Requires: %{name} = %{version}-%{release} - -%description freetdm -FreeTDM - -%if %{build_sng_isdn} - -%package freetdm-sng-isdn -Summary: Sangoma ISDN Module for FreeTDM -Group: System/Libraries -Requires: %{name} = %{version}-%{release} -Requires: %{name}-freetdm = %{version}-%{release} -Requires: wanpipe -Requires: libsng_isdn -BuildRequires: wanpipe -BuildRequires: libsng_isdn - -%description freetdm-sng-isdn -Sangoma ISDN Module for freetdm - -%endif - -%if %{build_sng_ss7} - -%package freetdm-sng-ss7 -Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH, Sangoma SS7 Module -Group: System/Libraries -Requires: %{name} = %{version}-%{release} -Requires: %{name}-freetdm = %{version}-%{release} -Requires: wanpipe -Requires: libsng_ss7 -BuildRequires: wanpipe -BuildRequires: libsng_ss7 -%if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6 -Requires: openssl098e -BuildRequires: openssl098e -%endif - -%description freetdm-sng-ss7 -Sangoma SMG-SS7 drivers for FreeTDM - -%endif - ###################################################################################################################### # FreeSWITCH Event Handler Modules ###################################################################################################################### @@ -1012,7 +954,8 @@ Sangoma SMG-SS7 drivers for FreeTDM %package event-cdr-mongodb Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform Group: System/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} +BuildRequires: mongo-c-driver-devel %description event-cdr-mongodb MongoDB CDR Logger for FreeSWITCH @@ -1158,6 +1101,7 @@ a native format sound file is available then FreeSWITCH can use it. Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: portaudio-devel %description format-portaudio-stream Portaudio Streaming interface Audio for FreeSWITCH @@ -1227,6 +1171,7 @@ Implements TGML Tone Generation for the FreeSWITCH open source telephony platfor Summary: Lua support for the FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} +BuildRequires: lua-devel %description lua @@ -1235,6 +1180,8 @@ Summary: Perl support for the FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} Requires: perl +BuildRequires: perl-devel +BuildRequires: perl-ExtUtils-Embed %description perl @@ -1242,7 +1189,8 @@ Requires: perl Summary: Python support for the FreeSWITCH open source telephony platform Group: System/Libraries Requires: %{name} = %{version}-%{release} -Requires: python +Requires: python +BuildRequires: python-devel %description python @@ -1389,6 +1337,8 @@ The Perl ESL module allows for native interaction with FreeSWITCH over the event %package -n python-ESL Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface. Group: System Environment/Libraries +Requires: python +BuildRequires: python-devel %description -n python-ESL The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface. @@ -1567,7 +1517,7 @@ DIRECTORIES_MODULES="" # Endpoints # ###################################################################################################################### -ENDPOINTS_MODULES="endpoints/mod_dingaling ../../libs/freetdm/mod_freetdm \ +ENDPOINTS_MODULES="endpoints/mod_dingaling \ endpoints/mod_loopback endpoints/mod_portaudio endpoints/mod_rtmp \ endpoints/mod_skinny endpoints/mod_verto endpoints/mod_rtc endpoints/mod_sofia" @@ -2351,32 +2301,6 @@ fi %files endpoint-rtc %{MODINSTDIR}/mod_rtc.so* -###################################################################################################################### -# -# FreeTDM Module for TDM Interaction -# -###################################################################################################################### -%files freetdm -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/tones.conf -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/freetdm.conf.xml -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/pika.conf -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/freetdm.conf -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/wanpipe.conf -%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/zt.conf -%{LIBDIR}/libfreetdm.so* -%{MODINSTDIR}/mod_freetdm.so* -%{MODINSTDIR}/ftmod_skel*.so* -%{MODINSTDIR}/ftmod_[a-r,t-z]*.so* - -%if %{build_sng_ss7} -%files freetdm-sng-ss7 -%{MODINSTDIR}/ftmod_sangoma_ss7.so* -%endif - -%if %{build_sng_isdn} -%files freetdm-sng-isdn -%{MODINSTDIR}/ftmod_sangoma_isdn.so* -%endif ###################################################################################################################### # diff --git a/src/include/switch_core.h b/src/include/switch_core.h index cad1e0cb17f..7fed580d2e8 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -285,6 +285,8 @@ SWITCH_DECLARE(switch_vid_spy_fmt_t) switch_media_bug_parse_spy_fmt(const char * /*! \brief Add a media bug to the session \param session the session to add the bug to + \param function user defined module/function/reason identifying this bug + \param target user defined identification of the target of the bug \param callback a callback for events \param user_data arbitrary user data \param stop_time absolute time at which the bug is automatically removed (or 0) diff --git a/src/mod/applications/mod_avmd/mod_avmd.c b/src/mod/applications/mod_avmd/mod_avmd.c index 4b95e1a5c1e..a7a59d92894 100644 --- a/src/mod/applications/mod_avmd/mod_avmd.c +++ b/src/mod/applications/mod_avmd/mod_avmd.c @@ -1340,6 +1340,7 @@ static switch_status_t avmd_parse_cmd_data(avmd_session_t *s, const char *cmd_da /* iterate over params, check if they mean something to us, set */ idx = 0; while (idx < argc) { + switch_assert(argv[idx]); status = avmd_parse_cmd_data_one_entry(argv[idx], &settings); if (status != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(s->session), SWITCH_LOG_ERROR, diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index bceec9d9060..569c0c6821b 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6536,6 +6536,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status switch_channel_clear_app_flag_key("T38", tech_pvt->channel, CF_APP_T38_REQ); switch_channel_set_app_flag_key("T38", tech_pvt->channel, CF_APP_T38_FAIL); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s T38 invite failed\n", switch_channel_get_name(tech_pvt->channel)); + sofia_set_flag(tech_pvt, TFLAG_SDP); } diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index 755af50ac10..342ed8b26e5 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -3223,7 +3223,7 @@ static switch_bool_t verto__modify_func(const char *method, cJSON *params, jsock } if ((b_session = switch_core_session_locate(replace_call_id))) { - err = (int) attended_transfer(session, b_session); + err = (int) !attended_transfer(session, b_session); if (err) { cJSON_AddItemToObject(obj, "message", cJSON_CreateString("transfer failed")); } diff --git a/src/mod/event_handlers/mod_cdr_mongodb/driver/src/mongo.c b/src/mod/event_handlers/mod_cdr_mongodb/driver/src/mongo.c index 51da18d078b..77870b3dc22 100644 --- a/src/mod/event_handlers/mod_cdr_mongodb/driver/src/mongo.c +++ b/src/mod/event_handlers/mod_cdr_mongodb/driver/src/mongo.c @@ -406,7 +406,7 @@ MONGO_EXPORT int mongo_connect( mongo *conn , const char *host, int port ) { mongo_init( conn ); conn->primary = bson_malloc( sizeof( mongo_host_port ) ); - strncpy( conn->primary->host, host, strlen( host ) + 1 ); + strncpy( conn->primary->host, host, sizeof(conn->primary->host) - 1 ); conn->primary->port = port; conn->primary->next = NULL; @@ -438,7 +438,7 @@ static void mongo_replset_add_node( mongo_host_port **list, const char *host, in mongo_host_port *host_port = bson_malloc( sizeof( mongo_host_port ) ); host_port->port = port; host_port->next = NULL; - strncpy( host_port->host, host, strlen( host ) + 1 ); + strncpy( host_port->host, host, sizeof(host_port->host) - 1 ); if( *list == NULL ) *list = host_port; @@ -618,7 +618,7 @@ MONGO_EXPORT int mongo_replset_connect( mongo *conn ) { /* Primary found, so return. */ else if( conn->replset->primary_connected ) { - strncpy( conn->primary->host, node->host, strlen( node->host ) + 1 ); + snprintf( conn->primary->host, sizeof(conn->primary->host), "%s", node->host ); conn->primary->port = node->port; return MONGO_OK; } @@ -1246,10 +1246,13 @@ MONGO_EXPORT int mongo_find_one( mongo *conn, const char *ns, const bson *query, } MONGO_EXPORT void mongo_cursor_init( mongo_cursor *cursor, mongo *conn, const char *ns ) { + size_t len = strlen(ns) + 1; memset( cursor, 0, sizeof( mongo_cursor ) ); cursor->conn = conn; - cursor->ns = ( const char * )bson_malloc( strlen( ns ) + 1 ); - strncpy( ( char * )cursor->ns, ns, strlen( ns ) + 1 ); + cursor->ns = ( const char * )bson_malloc( len ); + if (cursor->ns) { + strncpy((char *)cursor->ns, ns, len); + } cursor->current.data = NULL; } diff --git a/src/mod/event_handlers/mod_erlang_event/ei_helpers.c b/src/mod/event_handlers/mod_erlang_event/ei_helpers.c index cf3a6aca316..6472180a2ed 100644 --- a/src/mod/event_handlers/mod_erlang_event/ei_helpers.c +++ b/src/mod/event_handlers/mod_erlang_event/ei_helpers.c @@ -202,7 +202,7 @@ int ei_spawn(struct ei_cnode_s *ec, int sockfd, erlang_ref * ref, char *module, void ei_init_ref(ei_cnode * ec, erlang_ref * ref) { memset(ref, 0, sizeof(*ref)); /* zero out the struct */ - snprintf(ref->node, MAXATOMLEN, "%s", ec->thisnodename); + snprintf(ref->node, MAXATOMLEN + 1, "%s", ec->thisnodename); switch_mutex_lock(mod_erlang_event_globals.ref_mutex); mod_erlang_event_globals.reference0++;