Commit graph

43 commits

Author SHA1 Message Date
jnemeth
2fd0c5ce33 This update is just to fix a hypothetical security issue (AST-2009-005)
which is most likely not exploitable.
2009-08-23 09:22:23 +00:00
wiz
6153aa7dab regen (for DIST_SUBDIR change). 2009-08-21 08:46:16 +00:00
jnemeth
d157c1ba82 Digium in its infinite wisdom changed the Music-On-Hold sound files in all
release tarballs.  Update for that change.

While here, do some pkglint cleanup and add LICENSE=gplv2.
2009-08-20 22:31:41 +00:00
jnemeth
45e6b2c144 Upgrade to 1.2.33. Provides a fix related to AST-2009-001. 2009-06-05 23:07:11 +00:00
hasso
ffaa59cfe2 Make it build on DragonFly master and recent versions of FreeBSD (probably). 2009-04-07 19:34:10 +00:00
jnemeth
6057bb9da2 PR/38351 - Miro Voutilainen -- app_curl does not build 2009-01-26 13:15:49 +00:00
obache
4e588ff893 Update asterisk to 1.2.31.
While here, update MASTER_SITES and honor PKGMANDIR.

ChangeLog-1.2.31:
2009-01-06  Leif Madsen <lmadsen@digium.com>

	* Asterisk 1.2.31 released

2009-01-06 20:44 +0000 [r167259]  Tilghman Lesher <tlesher@digium.com>

	* channels/chan_iax2.c: Security fix AST-2009-001.

2008-12-10  Tilghman Lesher <tlesher@digium.com>

	* Asterisk 1.2.30.4 released

2008-12-10 21:06 +0000 [r162868]  Tilghman Lesher <tlesher@digium.com>

	* channels/chan_iax2.c: Fix for AST-2008-012

2008-12-05 20:50 +0000 [r161421]  Sean Bright <sean.bright@gmail.com>

	* include/asterisk/astobj2.h, astobj2.c: Fix build errors on
	  FreeBSD (uint -> unsigned int). (closes issue #14006) Reported
	  by: alphaque Patches: astobj2.h-patch uploaded by alphaque
	  (license 259) (Slightly modified by seanbright)

2008-12-01  Tilghman Lesher <tlesher@digium.com>

	* Asterisk 1.2.30.3 released

2008-11-25 21:37 +0000 [r159245]  Tilghman Lesher <tlesher@digium.com>

	* channels/chan_iax2.c: Regression fix for last security fix. Set
	  the iseqno correctly. (closes issue #13918) Reported by:
	  ffloimair Patches: 20081119__bug13918.diff.txt uploaded by
	  Corydon76 (license 14) Tested by: ffloimair

2008-08-09  Tilghman Lesher <tlesher@digium.com>

	* Asterisk 1.2.30.2 released

2008-08-09 15:24 +0000 [r136945]  Tilghman Lesher <tlesher@digium.com>

	* include/asterisk/compat.h, include/asterisk/astobj2.h: Regression
	  fixes for Solaris

2008-07-25 15:00 +0000 [r133577]  Russell Bryant <russell@digium.com>

	* LICENSE: Fix the IAX2 URI for calling Digium

2008-07-23  Tilghman Lesher <tlesher@digium.com>

	* Asterisk 1.2.30.1 released

2008-07-24 03:46 +0000 [r133360]  Tilghman Lesher <tlesher@digium.com>

	* channels/chan_iax2.c: This part was not correctly patched for
	  AST-2008-010.
2009-01-21 05:35:07 +00:00
tonnerre
2584cefb89 Update Asterisk to version 1.2.30, fixing two Denial of Service
vulnerabilities (CVE-2008-3263 and CVE-2008-3264).
cvs: ----------------------------------------------------------------------
2008-07-24 00:10:50 +00:00
mjl
31c7e00215 Update to 1.2.29. Security update.
* channels/chan_sip.c: Copy the From header into a variable so that
          pedantic SIP handling does not try to mess with a NULL pointer.
          (AST-2008-008)
* channels/chan_iax2.c: When we receive a full frame that is
          supposed to contain our call number, ensure that it has the
          correct one. (closes issue #10078) (AST-2008-006)
2008-06-13 10:10:33 +00:00
wiz
acc3a4bb42 Another try at fixing installation of the pkgconfig file under pbulk. 2008-04-24 09:04:55 +00:00
mjl
4fefd9c6d3 Update asterisk to 1.2.27
Update for several critical security issues:

   * astobj.h: Fix character string being treated as format string
   * chan_sip.c: Do not return with a successful
     authentication if the From header ends up empty. (AST-2008-003)
   * chan_iax2.c: Fix another potential seg fault (closes issue #11606)
   * chan_iax2.c: Fix a couple of places where it's possible
     to dereference a NULL pointer.
   * chan_sip.c, channels/chan_iax2.c: Fixing AST-2007-027
   * cdr_pgsql.c: Properly escape src and dst fields (Fixes AST-2007-026)
2008-03-19 10:32:02 +00:00
wiz
d1a422fd46 Create pkgconfig file in correct location. Add it to PLIST.
Bump PKGREVISION.
2008-02-20 10:14:19 +00:00
mjl
dcad3941ff Update asterisk to 1.2.24.
Version 1.2.24 is the final 1.2 release that contains normal bug fixes.
The 1.2 branch will only be maintained with security fix releases from
now until it is completely deprecated.
2007-08-10 00:03:27 +00:00
mjl
3b7c6e9d8f Update asterisk to 1.2.23
* channels/chan_iax2.c: Don't create the Asterisk channel until we
          are starting the PBX on it. (ASA-2007-018)
        * channels/chan_agent.c: (closes issue #5866) Reported by: tyler Do
          not force channel format changes when a generator is present. The
          generator may have changed the formats itself and changing them
          back would cause issues.
        * channels/chan_sip.c: (closes issue #10236) Reported by: homesick
          Patches: rpid_1.4_75840.patch uploaded by homesick (license 91)
          Accept Remote Party ID on guest calls.
        * include/asterisk/app.h: We should not use C++ reserved words in
          API headers (closes issue #10266)
        * channels/chan_sip.c: Backport a fix for a memory leak that was
          fixed in trunk in reivision 76221 by rizzo. The memory used for
          the localaddr list was not freed during a configuration reload.
        * channels/chan_sip.c: (closes issue #10247) Reported by:
          fkasumovic Patches: chan_sip.patch uploaded by fkasumovic
          (license #101) Drop any peer realm authentication entries when
          reloading so multiple entries do not get added to the peer.
        * channels/chan_iax2.c: When processing full frames, take sequence
          number wraparound into account when deciding whether or not we
          need to request retransmissions by sending a VNAK. This code
          could cause VNAKs to be sent erroneously in some cases, and to
          not be sent in other cases when it should have been. (closes
          issue #10237, reported and patched by mihai)
        * channels/chan_iax2.c: When traversing the queue of frames for
          possible retransmission after receiving a VNAK, handle sequence
          number wraparound so that all frames that should be retransmitted
          actually do get retransmitted. (issue #10227, reported and
          patched by mihai)
        * apps/app_voicemail.c: Store prior to copy (closes issue #10193)
        * apps/app_queue.c: removed the word 'pissed' from ast_log(...)
2007-08-03 22:40:00 +00:00
mjl
b4f03815b0 Update to 1.2.22
* channels/chan_skinny.c: Properly check for the length in the
	  skinny packet to prevent an invalid memcpy. (ASA-2007-016)

	* channels/iax2-parser.h, channels/chan_iax2.c,
	  channels/iax2-parser.c: Ensure that when encoding the contents of
	  an ast_frame into an iax_frame, that the size of the destination
	  buffer is known in the iax_frame so that code won't write past
	  the end of the allocated buffer when sending outgoing frames.
	  (ASA-2007-014)

	* channels/chan_iax2.c: After parsing information elements in IAX
	  frames, set the data length to zero, so that code later on does
	  not think it has data to copy. (ASA-2007-015)

	* res/res_musiconhold.c: Fix a couple potential minor memory leaks.
	  load_moh_classes() could return without destroying the loaded
	  configuration.

	* apps/app_chanspy.c: Fixed an issue where chanspy flags were
	  uninitialized if no options were passed.

	* res/res_musiconhold.c: Ensure that adding a user to the list of
	  users of a specific music on hold class is not done at the same
	  time as any of the other operations on this list to prevent list
	  corruption.

	* channels/chan_iax2.c: The function make_trunk() can fail and
	  return -1 instead of a valid new call number. Fix the uses of
	  this function to handle this instead of treating it as the new
	  call number. This would cause a deadlock and memory corruption.

	* channels/chan_agent.c: The cli command "agent logoff Agent/x
	  soft" did not work...at all. Now it does.

	* res/res_config_odbc.c: Make sure that the ESCAPE immediately
	  follows the condition that uses LIKE. This fixes realtime
	  extensions with ODBC.

	* apps/app_queue.c: Fix an issue where it was possible to have a
	  service level of over 100% Between the time recalc_holdtime and
	  update_queue was called, it was possible that the call could have
	  been hungup.

	* dns.c: Use res_ndestroy on systems that have it. Otherwise, use
	  res_nclose. This prevents a memleak on NetBSD - and possibly
	  others.
2007-07-19 09:39:57 +00:00
mjl
4c7740d821 Update asterisk to 1.2.21.1. 2007-07-11 14:28:46 +00:00
mjl
e3b7ca68cc Updated asterisk to 1.2.20
This release is a regular maintenance release. It has been made just
a couple of weeks after the previous set of releases because the
development team has been working especially hard on fixing bugs
lately. There has been a large volume of issues fixed in just two weeks.
2007-07-08 12:02:18 +00:00
mjl
b97aebd7a2 Updated asterisk to 1.2.19. 2007-06-24 07:52:47 +00:00
mjl
7afbb31e11 Updated asterisk to 1.2.18
This release contains a large number of fixes, including:

- A recently published security vulnerability in the manager
  interface (ASA-2007-012)
- Another recently published security vulnerability in the
  SIP channel driver (ASA-2007-011)
2007-04-26 09:43:14 +00:00
mjl
b230222083 Upgrade to 1.2.17.
Along with minor bug fixes, this release incorporates a fix for the
SIP DoS vulnerability recently discovered by INRIA Lorraine.

All users of Asterisk 1.2 with the SIP channel driver loaded and
connected to an untrusted network are urged to update to this release
to avoid the possibility of experiencing this problem.


Note that the option "zaptel" won't compile any more since version 1.2.16.
This needs an upgrade of the netbsd zaptel driver.
2007-03-22 12:57:26 +00:00
drochner
da2211b7ef update to 1.2.16
changes:
1.2.15: This release contains a significant Astribank (XPP) driver update,
 support for Digium's TE120P card, and various bug fixes.
1.2.16: This release contains a number of bug fixes, including a fix for
 a recently discovered security vulnerability. All Asterisk 1.2 users are
 urged to update to this release as soon as possible.

This is in response to PR pkg/35924 by David Wetzel. The PR suggests
to update to 1.4.1, but since I'm not using Asterisk myself I prefer
to do just the minor update (which also fixes the security vulnerability)
for now.
2007-03-07 12:10:29 +00:00
mjl
969b8680ae Update asterisk to 1.2.14. 2006-12-20 11:34:55 +00:00
mjl
54d7eb748f Update to asterisk 1.2.13
This release contains a fix for a security vulnerability recently
found in the chan_skinny channel driver (for Cisco SCCP phones).
This vulnerability would enable an attacker to remotely execute
code as the system user running Asterisk (frequently 'root').
The exploit does not require that the skinny.conf contain any
valid phone entries, only that chan_skinny is loaded and operational.

This release also contains a number of bug fixes, and some improvements
to the chan_sip channel driver (for SIP devices) to mitigate the impacts
of a certain class of denial-of-service attacks that have recently been
published.

All Asterisk 1.2 users are urged to update to this release if they use
the chan_skinny channel driver, or to stop loading it if it is not
needed ('noload=>chan_skinny.so' in modules.conf will cause this behavior).
2006-10-19 14:02:07 +00:00
hira
1447455984 Add missing RCS Id. 2006-09-16 15:29:35 +00:00
mjl
95f22f4468 Update asterisk to 1.2.12.1. 2006-09-13 09:28:35 +00:00
mjl
19501d67ed Update to asterisk 1.2.12
Asterisk 1.2.11 includes a number of bug fixes, along with an update
to the chan_misdn driver for mISDN devices.
Asterisk 1.2.12 includes a number of bug fixes, including fixes for
two regressions that occurred in the 1.2.11 release. Specifically,
the AGI 'GET VARIABLE' command has now gone back to its previous
behavior, and CDR records now reflect the CallerID number instead
of ANI in the situations that this was the case in earlier 1.2 releases.
2006-09-13 09:08:55 +00:00
adam
affab6627a Changes 1.2.10:
* Number of bug fixes
* New option to help to avoid a potential denial of service in IAX2 channel driver
* Support for TE407P and TE412P quad T1/E1 interface cards
2006-08-18 11:32:51 +00:00
riz
ac9528406e Update asterisk to 1.2.9.1 - fixes a vulnerability in the IAX2 channel
driver most importantly.
2006-07-01 13:26:50 +00:00
joerg
685489cb85 Ensure that PROC is set on DragonFly. 2006-06-12 14:35:35 +00:00
adam
a2733d4d64 Changes 1.2.8:
* Number of bug fixes, including IAX2 channel driver fixes.
2006-05-31 18:43:15 +00:00
mjl
a22592c284 Update to asterisk 1.2.7.1
* apps/app_page.c: oops... let's not set a variable and then
    immediately overwrite it while assuming its old value will
    magically return
  * pbx.c: Bug 6957 - variable names beginning with CALLERID weren't
    substituted correctly
2006-04-13 18:36:58 +00:00
adam
42697baf6a Changes 1.2.7:
* Important bug fixes
* SIP handling
* MixMonitor call recording
2006-04-13 08:47:06 +00:00
mjl
2cb4bb2909 Update to asterisk 1.2.4. This is a bugfix release.
* channels/chan_zap.c: disable buggy PRI user-user code until it
	  can be fixed
	* channels/chan_sip.c: Issue 6182 - Don't remove scheduled event
	  until it's really done.
	* channels/chan_sip.c: Issue 6362 - Register without Contact: and
	  Expires: fails
	* ast_expr2.h, ast_expr2f.c, ast_expr2.c: Bug 6072 - Revisions to
	  the source bison and flex files don't auto-regenerate these files
	* channels/chan_zap.c: fix problem with dtmf on e&m (issue #6364)
	* channels/chan_sip.c: Issue 5898: Registrations does not get
	  deleted if there's an active SIP dialog
	* channels/chan_sip.c: don't call ast_update_realtime with
	  uninitialized variables if we get a registration with an expirey
	  of 0 seconds (issue #6173)
	* channels/chan_features.c: fix memory leak (inspired by issue
	  #6351)
2006-02-01 01:45:29 +00:00
rillig
fab1e7860e - Fixed some pkglint warnings.
- Replaced absolute directories like /usr/pkg and /var with ${PREFIX} and
  ${VARBASE}.
- USE_TOOLS+=perl:run, since there is one Perl program installed with the
  package.
- Bumped PKGREVISION.
2006-01-29 01:21:45 +00:00
riz
917b9c38f1 Update to asterisk 1.2.3 - bugfixes only. 2006-01-25 17:48:43 +00:00
mjl
062d71c80f Update to asterisk 1.2.2
Changes are bugfixes only.
2006-01-18 11:39:54 +00:00
riz
28723e33e3 Update asterisk to version 1.2.1. Many, many bugfixes, and some
new features, including support for DUNDi.  (http://www.dundi.com/ for
more information)

The initial framework and porting of this package upgrade was done by
Martin J. Laubach, with lots of feature/PLIST fixes by me.  DragonFly
support added by Joerg Sonnenberger.
2006-01-13 20:32:38 +00:00
joerg
c39008d1c9 DragonFly support. Override config.guess and config.sub. 2006-01-02 16:02:10 +00:00
rh
883cee5422 Make this compile with newer versions of Darwin that have poll(2). 2005-10-10 21:45:08 +00:00
adam
ba5beff8db Changes 1.0.9:
-- fix bug in callerid matching in the dialplan that was introduced in 1.0.8

Changes 1.0.8:
 -- chan_zap
    -- Asterisk will now also look in the regular context for the fax extension
       while executing a macro.  Previously, for this to work, the fax extension
       would have to be included in the macro definition.
    -- On some systems, ALERTING will be sent after PROCEEDING, so code has been
       added to account for this case.
    -- If no extension is specified on an overlap call, the 's' extension will
       be used.
 -- chan_sip
    -- We no longer send a "to" tag on "100 Trying" messages, as it is
       inappropriate to do so.
    -- We now respond correctly to an invite for T.38 with a "488 Not acceptable
       here"
    -- We now discard saved tags on 401/407 responses in case the provider we're
       talking to tries to pull a dirty trick on us and change it.
    -- rtptimeout options will now be correctly set on a peer basis rather than
       only global
 -- chan_mgcp
    -- Fixed setting of accountcode
    -- Fixed where *67 to block callerid only worked for first call
 -- chan_agent
    -- We now will not pass audio until the agent has acked the call if the
       configuration
       is set up for the agent to do so.
 -- chan_alsa
    -- Fixed problems with the unloading of this module
 -- res_agi
    -- A fix has been added to prevent calls from being hung up when more than
       one call is executing an AGI script calling the GET DATA command.
    -- AGI scripts will now continue to run even if a file was not found with
       the GET DATA command.
    -- When calling SAY NUMBER with a number like 09, we will now say "nine"
       instead of "zero"
 -- app_dial
    -- There was a problem where text frames would not be forwarded before the
       channel has been answered.
 -- app_disa
    -- Fixed the timeout used when no password is set
 -- app_queue
    -- Distinctive ring has been fixed to work for queue members
  -- rtp
    -- Fixed a logic error when setting the "rtpchecksums" option
 -- say.c
    -- A problem has been fixed with saying the date in Spanish.
 -- Makefile
    -- A line was missing for the autosupport script that caused "make rpm" to
       fail
 -- format_wav_gsm
    -- Fixed a problem with wav formatting that prevented files from being
       played in some media players
 -- pbx_spool
    -- Fixed if the last line of text in a file for the call spool did not
       contain a new line, it would not be processed
 -- logger
    -- Fixed the logger so that color escape sequences wouldn't be sent to the
       logs
 -- format_sln
    -- A lot of changes were made to correctly handle signed linear format on
       big endian machines
2005-09-02 12:58:34 +00:00
riz
dcb8da9a6b Fix the build of asterisk on powerpc platforms. Approved by jmcneill. 2005-05-24 14:29:06 +00:00
riz
297de1fa78 Rework patch-aa so that machines with different MACHINE and MACHINE_ARCH
stand a chance of working.  Fixes build on NetBSD/amd64 - have not
tested functionality.  Approved by jmcneill.
2005-04-13 19:23:56 +00:00
riz
043e53b516 Initial import of asterisk-1.0.7, from pkgsrc-wip. Approved by jmcneill.
There are still some features not enabled by default, but this is a
solid foundation upon which to build - a fully-functional PBX can be
built, including PSTN gatewaying using the comms/zaptel-netbsd package.

From the DESCR:
Asterisk is a complete PBX in software.  It provides
all of the features you would expect from a PBX and more. Asterisk
does voice over IP in three protocols, and can interoperate with
almost all standards-based telephony equipment using relatively
inexpensive hardware.

Asterisk provides Voicemail services with Directory, Call Conferencing,
Interactive Voice Response, Call Queuing. It has support for
three-way calling, caller ID services, ADSI, SIP and H.323 (as both
client and gateway).
2005-04-08 03:10:52 +00:00