Commit graph

9 commits

Author SHA1 Message Date
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
969b8680ae Update asterisk to 1.2.14. 2006-12-20 11:34:55 +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
42697baf6a Changes 1.2.7:
* Important bug fixes
* SIP handling
* MixMonitor call recording
2006-04-13 08:47:06 +00:00
rillig
70d8e3cece Fixed the remaining pkglint -Wall warnings. 2006-01-29 01:30:20 +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
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
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +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