[asterisk-commits] russell: tag 1.2.20 r72632 - in /tags/1.2.20: .lastclean .version ChangeLog
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jun 29 11:44:13 CDT 2007
Author: russell
Date: Fri Jun 29 11:44:13 2007
New Revision: 72632
URL: http://svn.digium.com/view/asterisk?view=rev&rev=72632
Log:
importing files for 1.2.20 release
Added:
tags/1.2.20/.lastclean (with props)
tags/1.2.20/.version (with props)
tags/1.2.20/ChangeLog (with props)
Added: tags/1.2.20/.lastclean
URL: http://svn.digium.com/view/asterisk/tags/1.2.20/.lastclean?view=auto&rev=72632
==============================================================================
--- tags/1.2.20/.lastclean (added)
+++ tags/1.2.20/.lastclean Fri Jun 29 11:44:13 2007
@@ -1,0 +1,1 @@
+9
Propchange: tags/1.2.20/.lastclean
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tags/1.2.20/.lastclean
------------------------------------------------------------------------------
svn:keywords = none
Propchange: tags/1.2.20/.lastclean
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: tags/1.2.20/.version
URL: http://svn.digium.com/view/asterisk/tags/1.2.20/.version?view=auto&rev=72632
==============================================================================
--- tags/1.2.20/.version (added)
+++ tags/1.2.20/.version Fri Jun 29 11:44:13 2007
@@ -1,0 +1,1 @@
+1.2.20
Propchange: tags/1.2.20/.version
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tags/1.2.20/.version
------------------------------------------------------------------------------
svn:keywords = none
Propchange: tags/1.2.20/.version
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: tags/1.2.20/ChangeLog
URL: http://svn.digium.com/view/asterisk/tags/1.2.20/ChangeLog?view=auto&rev=72632
==============================================================================
--- tags/1.2.20/ChangeLog (added)
+++ tags/1.2.20/ChangeLog Fri Jun 29 11:44:13 2007
@@ -1,0 +1,6134 @@
+2007-06-29 Russell Bryant <russell at digium.com>
+
+ * Asterisk 1.2.20 released
+
+2007-06-29 16:30 +0000 [r72629] Russell Bryant <russell at digium.com>
+
+ * channels/chan_iax2.c: Backport changes that make chan_iax2 not
+ start the PBX on an incoming channel until the three-way call
+ setup is completed. These changes are already in 1.4 and trunk.
+
+2007-06-29 13:08 +0000 [r72585] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c, channels/misdn/isdn_lib.c: check if the
+ bchannel stack id is already used, if so don't use it a second
+ time. Also added a release_chan lock, so that the same chan_list
+ object cannot be freed twice. chan_misdn does not crash anymore
+ on heavy load with these changes.
+
+2007-06-27 23:24 +0000 [r72378] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_mixmonitor.c: Update documentation to clarify variable
+ usage with MixMonitor. (issue #9494 reported by netoguy)
+
+2007-06-27 23:22 +0000 [r72333-72373] Brett Bryant <bbryant at digium.com>
+
+ * asterisk.c: Reinstating patch. This actually fixes the problem,
+ however I was running a development branch without it and
+ mistakenly thought it wasn't fixed. Fixes issue #10010, and
+ #9654: 100% CPU usage caused by an asterisk console losing it's
+ controlling terminal.
+
+ * asterisk.c: Reverted changes for earlier revisions 72259 to
+ 72261. Issue #9654, #10010
+
+2007-06-27 22:43 +0000 [r72327] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_queue.c: Fix issue where queue log events might be
+ missing. (issue #7765 reported by mtryfoss)
+
+2007-06-27 21:06 +0000 [r72267] Russell Bryant <russell at digium.com>
+
+ * pbx/pbx_config.c: Fix a minor issue with parsing the priority
+ number. You could have as much whitespace as you want around a
+ numeric priority, but you couldn't have any whitespace around a
+ special priority like "n" or "hint". (issue #10039, reported by
+ mitheloc, fixed by me)
+
+2007-06-27 20:43 +0000 [r72259] Brett Bryant <bbryant at digium.com>
+
+ * asterisk.c: Fixes 100% load when controlling terminal disappears.
+ Issue #9654, #10010
+
+2007-06-27 20:23 +0000 [r72256] Joshua Colp <jcolp at digium.com>
+
+ * channel.c: I may possibly get shot for doing this... but... defer
+ CDR processing until after the channel has been dealt with. This
+ should eliminate all of the issues with channels going funky
+ (SIP/PRI) when you are posting CDRs to a database that is either
+ slow or unavailable and do not want to enable batching.
+
+2007-06-27 18:40 +0000 [r72184] Jason Parker <jparker at digium.com>
+
+ * apps/app_voicemail.c: Fix another problem in voicemail with
+ missing symbols. Issue 10074, patch by kryptolus, extended to
+ include #if 0'd blocks (just in case)
+
+2007-06-27 13:22 +0000 [r72040-72099] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/isdn_lib.h, channels/chan_misdn.c,
+ channels/misdn/isdn_msg_parser.c, channels/misdn/isdn_lib.c:
+ simplified generation for dummy bchannels, also we mark them as
+ dummies, so they are not used later as real-bchannels, optimized
+ the RESTART mechanisms, we block a channel now on cause:44, and
+ send out a RESTART automatically, then on reception of
+ RESTART_ACKNOWLEDGE we unblock the channel again.
+
+ * channels/misdn/isdn_lib.h, channels/misdn/isdn_lib.c: simplified
+ channel finding and locking a lot. removed unnecessary #ifdefed
+ areas.
+
+ * channels/misdn/isdn_lib.c: isdn_lib.c didn't compile
+
+ * channels/misdn/isdn_lib.c: for inbound TE calls, we setup the
+ bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN
+ has everything ready. removed some #if 0 areas which weren't used
+ anymore.
+
+2007-06-26 17:49 +0000 [r71847] Jason Parker <jparker at digium.com>
+
+ * Makefile: Don't try to install an init script that doesn't exist.
+ Reported to me on #asterisk on Freenode IRC.
+
+2007-06-26 12:25 +0000 [r71656-71750] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_voicemail.c: Issue 10062 - Trying to move a message
+ without selecting one first results in memory corruption
+
+ * res/res_agi.c: Issue 10035 - handle_exec returns a result
+ inconsistent with all of the other AGI commands
+
+2007-06-25 01:02 +0000 [r71414] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: Ignore other URIs after the first in a 300
+ Multiple Choice response. (issue #10041 reported by homesick)
+
+2007-06-24 20:04 +0000 [r71358] Russell Bryant <russell at digium.com>
+
+ * asterisk.c: Revert the patch from issue 9654 due to an unexpected
+ side effect
+
+2007-06-24 17:32 +0000 [r71288] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * manager.c, db.c: Issue 10043 - There is a legitimate need to be
+ able to set variables to the empty string.
+
+2007-06-22 16:02 +0000 [r71124] Joshua Colp <jcolp at digium.com>
+
+ * res/res_features.c: Send an unhold indication when going off
+ hold. (issue #10036 reported by speedy)
+
+2007-06-22 14:52 +0000 [r71065] Jason Parker <jparker at digium.com>
+
+ * file.c, res/res_agi.c: Fix a few silly usages of ast_playstream()
+ - it only ever returns 0... Issue 10035
+
+2007-06-22 14:39 +0000 [r71064] Brett Bryant <bbryant at digium.com>
+
+ * asterisk.c: Fixed infinite loop when controlling terminal was
+ lost and return value of input function wasn't checked for
+ errors. This would cause 100% cpu to be taken up. (closes issue
+ #9654, issue #10010) Reported by: mnicholson, and eserra Idea for
+ the patch from mnicholson, patched by me
+
+2007-06-21 22:29 +0000 [r70948] Steve Murphy <murf at digium.com>
+
+ * cdr.c: This little fix is in response to bug 10016, but may not
+ cure it. The code is wrong, clearly. In a situation where you set
+ the CDR's amaflags, and then ForkCDR, and then set the new CDR's
+ amaflags to some other value, you will see that all CDRs have had
+ their amaflags changed. This is not good. So I fixed it.
+
+2007-06-21 21:37 +0000 [r70898] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_voicemail.c: Don't explode if the gain option is
+ specified without a value. (issue #9274 reported by mfarver)
+
+2007-06-21 19:13 +0000 [r70804] Steve Murphy <murf at digium.com>
+
+ * cdr/cdr_custom.c: it was pointed out that the cdr_custom config
+ load could get a lock, and under certain circumstances, would
+ never release it. I also noted that the situation where more than
+ one mapping spec was warned about, but did not ignore further
+ mappings as it had promised. I think I have fixed both
+ situations.
+
+2007-06-21 13:11 +0000 [r70672] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c, channels/misdn/isdn_lib.c: we activate the
+ bchannels in TE mode on incoming calls only when we want to
+ connect the call.
+
+2007-06-20 22:20 +0000 [r70551] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: Don't overwrite the configured username
+ setting upon a REGISTER. (issue #8565 reported by jsmith)
+
+2007-06-20 19:25 +0000 [r70444] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_dial.c: Issue 9997 - Timelimit times out the wrong
+ channel
+
+2007-06-20 18:45 +0000 [r70396] Russell Bryant <russell at digium.com>
+
+ * channels/chan_zap.c: Fix a problem where an established call
+ would not be properly disconnected when a PRI disconnect is
+ received depending on which cause code was received. (issue
+ #9588, original patch by softins, updated patch from jtexter3,
+ and some additional feedback from mhardeman)
+
+2007-06-20 15:42 +0000 [r70311-70342] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/isdn_lib.c: forgot one place ..
+
+ * channels/misdn/isdn_lib.h, channels/chan_misdn.c,
+ channels/misdn/isdn_lib.c: fixed a bug that was introduced by
+ copy and paste in the last commit ..bchannels weren't cleaned
+ properly.
+
+ * channels/misdn/isdn_lib.h, channels/chan_misdn.c,
+ channels/misdn/isdn_lib.c: on receiption of cause:44 we mark the
+ channel as in use and inform the user about the situation, we
+ need to test the RESTART stuff then. Also shuffled the
+ empty_chan_in_stack function after the bchannel cleaning
+ functions, to avoid race conditions.
+
+2007-06-19 18:07 +0000 [r70053] Steve Murphy <murf at digium.com>
+
+ * channel.c: This fixes 9246, where channel variables are not
+ available in the 'h' exten, on a 'ZOMBIE' channel. The fix is to
+ consolidate the channel variables during a masquerade, and then
+ copy the merged variables back onto the clone, so the zombie has
+ the same vars that the 'original' has.
+
+2007-06-19 17:00 +0000 [r69992] Joshua Colp <jcolp at digium.com>
+
+ * rtp.c: Handle the CC field in the RTP header. (issue #9384
+ reported by DoodleHu)
+
+2007-06-19 16:45 +0000 [r69990] Russell Bryant <russell at digium.com>
+
+ * channels/chan_sip.c: Backport fix for crashes related to
+ subscriptions from 1.4 ... Fix a crash that could occur when
+ handing device state changes. When the state of a device changes,
+ the device state thread tells the extension state handling code
+ that it changed. Then, the extension state code calls the
+ callback in chan_sip so that it can update subscriptions to that
+ extension. A pointer to a sip_pvt structure is passed to this
+ function as the call which needs a NOTIFY sent. However, there
+ was no locking done to ensure that the pvt struct didn't
+ disappear during this process. (issue #9946, reported by
+ tdonahue, patch by me, patch updated to trunk to use the sip_pvt
+ lock wrappers by eliel)
+
+2007-06-19 16:21 +0000 [r69894-69986] Joshua Colp <jcolp at digium.com>
+
+ * channel.c: Update BRIDGEPEER variable if set to the new channel
+ name when a masquerade happens. (issue #9699 reported by dimas)
+
+ * apps/app_meetme.c: Perform an extra hangup check just in case.
+ (issue #9589 reported by bcnit)
+
+2007-06-19 13:23 +0000 [r69887] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: when we send out a SETUP, but get no
+ response, we should cleanup everything after reception of a
+ hangup.
+
+2007-06-19 12:57 +0000 [r69765-69846] Joshua Colp <jcolp at digium.com>
+
+ * res/res_features.c: Add parked call extension AFTER the parking
+ slot has been announced, otherwise two threads will try to handle
+ the same channel and it will go kaboom. (issue #9191 reported by
+ japple)
+
+ * channels/chan_sip.c: Set the peer name on the dialog to the one
+ configured in sip.conf and NOT the username to be used for
+ authentication attempts. (issue #9967 reported by achauvin)
+
+2007-06-18 17:45 +0000 [r69743] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * contrib/scripts/safe_asterisk: Issue 9998 - Remove SIG prefix,
+ since it's not supported by ksh
+
+2007-06-15 Russell Bryant <russell at digium.com>
+
+ * Asterisk 1.2.19 released
+
+2007-06-14 23:21 +0000 [r69469] Jason Parker <jparker at digium.com>
+
+ * config.c: Fix an issue where the line number in an unterminated
+ comment block error message would show the wrong line number.
+ "Reported" to me on #asterisk (somebody posted an error message,
+ and I happened to catch it)
+
+2007-06-14 20:56 +0000 [r69347] Russell Bryant <russell at digium.com>
+
+ * channel.c: Backport rev 69010 from the 1.4 branch ... In
+ ast_channel_make_compatible(), just return if the channels' read
+ and write formats already match up. There are code paths that
+ call this function on a pair of channels multiple times. This
+ made calls fail that were using g729 in some cases. The reason is
+ that codec_g729a will unregister itself from the list of
+ available translators will all licenses are in use. So, the first
+ time the function got called, the right translation path was
+ allocated. However, the second time it got called, the code would
+ not find a translation path to/from g729 and make the call fail,
+ even if the channel actually already had a g729 translation path
+ allocated. (SPD-32)
+
+2007-06-14 15:15 +0000 [r69258] Jason Parker <jparker at digium.com>
+
+ * funcs/func_groupcount.c: Change a quite broken while loop to a
+ for loop, so "continue;" works as expected instead of eating 99%
+ CPU... Issue 9966, patch by me.
+
+2007-06-13 18:12 +0000 [r69127] Joshua Colp <jcolp at digium.com>
+
+ * app.c: Return group counting to previous behavior where you could
+ only have one group per category. (issue #9711 reported by
+ irroot)
+
+2007-06-13 09:55 +0000 [r69053] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/isdn_msg_parser.c: restart indicator 0x80 is
+ correct, at least that's what libpri does.
+
+2007-06-12 14:18 +0000 [r68921] Joshua Colp <jcolp at digium.com>
+
+ * rtp.c: Bring RTP back to Asterisk at the end of a native bridge
+ no matter what.
+
+2007-06-12 08:35 +0000 [r68732-68887] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: if the bridged partner is mISDN too we
+ should not send dtmf tones, they are transmitted inband always
+
+ * channels/chan_misdn.c: if we have already some digits, we just
+ stop the tones.
+
+ * channels/chan_misdn.c, channels/misdn/isdn_msg_parser.c: added
+ check for NULL Pointer when calling misdn_new. Asterisk does not
+ allow us to create channels anymore when stop gracefully is used
+ :). also modified the restart_indicator to 0
+
+2007-06-11 14:29 +0000 [r68682] Joshua Colp <jcolp at digium.com>
+
+ * channel.c: Improve deadlock handling of the channel list. (issue
+ #8376 reported by one47)
+
+2007-06-11 09:18 +0000 [r68631] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/isdn_lib.h, channels/chan_misdn.c,
+ channels/misdn/ie.c, channels/misdn/isdn_msg_parser.c,
+ channels/misdn/isdn_lib.c: fixed problem that the dummybc chanels
+ had no lock, checking for the lock now. Also fixed the channel
+ restart stuff, we can now specify and restart particular channels
+ too.
+
+2007-06-08 22:22 +0000 [r68526] Russell Bryant <russell at digium.com>
+
+ * apps/app_dictate.c: Don't automatically hang up after running
+ Dictate so that callers can exit cleanly using '#' (closes issue
+ #9577, patch from Thomas Andrews)
+
+2007-06-08 00:15 +0000 [r68368-68397] Joshua Colp <jcolp at digium.com>
+
+ * say.c: Don't call ast_waitstream_full when the control file
+ descriptor and audio file descriptor are not set, simply call
+ ast_waitstream! (issue #8530 reported by rickead2000)
+
+ * dnsmgr.c: Do a DNS lookup immediately upon calling the dnsmgr
+ function, don't wait until a refresh happens. (issue #9097
+ reported by plack)
+
+2007-06-07 23:13 +0000 [r68351] Russell Bryant <russell at digium.com>
+
+ * say.c: Fix a problem where saying a character wouldn't properly
+ break out when the caller pressed '#' (issue #8113, reported by
+ patbaker82, patch from jamesgolovich (hey, long time no see!) and
+ patbaker82)
+
+2007-06-07 20:02 +0000 [r68204] Jason Parker <jparker at digium.com>
+
+ * apps/app_voicemail.c: Don't try to save voicemail greetings
+ unless the user presses '1' to accept/save. Issue 9904, patch by
+ me.
+
+2007-06-07 14:19 +0000 [r67938-68070] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_dial.c: Allow the 'g' option to work if used with the
+ 'S' option. (issue #9888 reported by gasparz)
+
+ * channels/chan_sip.c: Only notify the devicestate system of a peer
+ state change when the peer is built from the config file. (issue
+ #9900 reported by arkadia)
+
+2007-06-06 16:40 +0000 [r67715] Russell Bryant <russell at digium.com>
+
+ * channel.c: We have some bug reports showing crashes due to a
+ double free of a channel. Add a sanity check to
+ ast_channel_free() to make sure we don't go on trying to free a
+ channel that wasn't found in the channel list. (issue #8850, and
+ others...)
+
+2007-06-06 13:28 +0000 [r67593-67649] Joshua Colp <jcolp at digium.com>
+
+ * rtp.c: Reinvite the RTP back to the Asterisk machine when the
+ timeout happens. (issue #9888 reported by gasparz)
+
+ * devicestate.c: Revert channel name splitting fix for Zap. The
+ moral of the story is don't use - in your user/peer names. (issue
+ #9668 reported by stevedavies)
+
+2007-06-05 15:42 +0000 [r67306-67307] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/chan_misdn_config.h: briding is a bool, fixed copy
+ and paste issue.
+
+ * channels/chan_misdn.c: simplified the EVENT_SETUP handling in the
+ cb_events function a lot. Commented the different possibilities a
+ bit and made functions of shared code. When the dialed extension
+ does not exist in the extensions.conf we'll jump into the 'i'
+ extension if this does exist, else we disconnect the call with
+ the cause:1 = No Route to Destination.
+
+2007-06-05 11:18 +0000 [r67239] Nadi Sarrar <ns at beronet.com>
+
+ * channels/misdn_config.c, channels/chan_misdn.c,
+ channels/misdn/chan_misdn_config.h: Backport of the overlap_dial
+ functionality from asterisk-1.4's chan_misdn.
+
+2007-06-05 10:05 +0000 [r67209] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn_config.c, channels/chan_misdn.c,
+ channels/misdn/chan_misdn_config.h: added possibility to
+ deactivate bridging per port
+
+2007-06-04 23:41 +0000 [r67060-67161] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * funcs/func_math.c: According to MATH, 0+1181000386 = 1181000448.
+ Oops.
+
+ * contrib/init.d/rc.debian.asterisk,
+ contrib/init.d/rc.mandrake.asterisk,
+ contrib/init.d/rc.redhat.asterisk,
+ contrib/init.d/rc.gentoo.asterisk,
+ contrib/init.d/rc.mandrake.zaptel,
+ contrib/init.d/rc.slackware.asterisk: Add revision Id tags (by
+ request of tzafrir)
+
+2007-05-31 16:12 +0000 [r66764] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: It is now possible for this path of
+ execution to have the frame pointer be NULL, therefore we need to
+ check for it before trying to access it. (issue #9836 reported by
+ barthpbx)
+
+2007-05-31 15:58 +0000 [r66744] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_macro.c: Issue 9818 - Fix for issue 8329 breaks
+ pbx_realtime. Issue 8329 will remain unfixed for pbx_realtime,
+ but only because we lack core API to do it.
+
+2007-05-29 21:49 +0000 [r66537] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * funcs/func_strings.c: If the value of a variable passed to
+ FIELDQTY is blank, then FIELDQTY should return 0, not 1.
+
+2007-05-29 07:53 +0000 [r66349] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Issue #9802 - Change inuse counter on CANCEL
+
+2007-05-25 13:46 +0000 [r66127] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * say.c: Issue 9791 - Fix pronunciation of seconds in Dutch
+
+2007-05-24 14:40 +0000 [r65837] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: Allow RFC2833 to be negotiated when an
+ INVITE comes in without SDP and is not matched to a user or peer.
+ (issue #9546 reported by mcrawford)
+
+2007-05-24 09:19 +0000 [r65767] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: we should only activate the generator in
+ chan_misdn, when asterisk hask not yet taken the call
+ (WAITING4DIGS state). Alerting audio will be generated fomr
+ asterisk for example.
+
+2007-05-23 20:46 +0000 [r65676-65682] Kevin P. Fleming <kpfleming at digium.com>
+
+ * channels/chan_sip.c: ensure that variables are set on a newly
+ created channel before we start a PBX on it
+
+ * channels/chan_iax2.c: if we are going to set variables on a newly
+ created channel, it should be done *before* we start the PBX on
+ it
+
+2007-05-23 13:06 +0000 [r65389-65588] Russell Bryant <russell at digium.com>
+
+ * channels/chan_zap.c: Revert revision 62417 as someone reported
+ problems with it to Mark. This was related to issue #9588.
+
+ * apps/app_queue.c: Fix a memory leak that I just noticed in the
+ device state handling in app_queue. On most device state changes,
+ it would leak roughly 8 to 64 bytes (the length of the name of
+ the device).
+
+2007-05-22 07:46 +0000 [r65328] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: we stop the tones only when we're in the
+ pre-call phase, otherwise e.g. when in CONNECTED state we should
+ not stop tones when we receive an Information Message
+
+2007-05-18 20:56 +0000 [r65172] Steve Murphy <murf at digium.com>
+
+ * apps/app_dial.c, include/asterisk/cdr.h, cdr.c: This update will
+ fix the situation that occurs as described by 9717, where when
+ several targets are specified for a dial, if any one them reports
+ FAIL, the whole call gets FAIL, even though others were ringing
+ OK. I rearranged the priorities, so that a new disposition, NULL,
+ is at the lowest level, and the disposition get init'd to NULL.
+ Then, next up is FAIL, and next up is BUSY, then NOANSWER, then
+ ANSWERED. All the related set routines will only do so if the
+ disposition value to be set to is greater than what's already
+ there. This gives the intended effect. So, if all the targets are
+ busy, you'd get BUSY for the call disposition. If all get BUSY,
+ but one, and that one rings is not answered, you get NOANSWER. If
+ by some freak of nature, the NULL value doesn't get overridden,
+ then the disp2str routine will report NOANSWER as before.
+
+2007-05-18 18:10 +0000 [r65075-65122] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Not getting an ACK to a 200 OK in the
+ initial invite is critical to the call.
+
+ * channels/chan_sip.c: Issue 9235 - part of the problem, maybe not
+ all. Please retry with this patch (and no other patch) if you
+ have problems with hanging SIP channels. Thank you. A special
+ Thank You to WeBRainstorm that gave me access to his system.
+
+2007-05-18 11:23 +0000 [r64902-65007] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/ie.c, channels/misdn/isdn_msg_parser.c: fixed a
+ warning regarding Keypad encoding. encode the IE sending_complete
+ at the right position.
+
+ * channels/chan_misdn.c: we *need* to send a PROCEEDING when
+ sending_complete is set, even if need_more_infos is requested.
+
+2007-05-17 21:14 +0000 [r64819] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * include/asterisk/linkedlists.h: How is it that we never caught
+ that this is returning the opposite of our documentation, until
+ now?
+
+2007-05-17 16:52 +0000 [r64758] Jason Parker <jparker at digium.com>
+
+ * apps/app_voicemail.c: If we have a negative current message, we
+ shouldn't go back even further... Issue 9727.
+
+2007-05-16 10:55 +0000 [r64514-64603] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Fixing possible bug in auth of BYE
+
+ * channels/chan_sip.c: Support SIP uri's starting with SIP: and
+ sip: (reported by Tony Mountfield on the mailing list. Thanks!)
+
+ * channels/chan_sip.c: Issue #9726 - rlister - Better logging for
+ ACL denials While at it, also added better logging and handling
+ of peers that are not supposed to register. My patch, stole the
+ issue report from Russell. My apologies, Russell :-)
+
+2007-05-16 08:23 +0000 [r64513] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: in the case immediate=yes, we directly
+ jump into the dialplan, where people can use PlayTones to
+ indicate a Dialtone, so we don't need to to that by ourself. also
+ we should not do a dialtone_indicate for incoming calls on a TE
+ port in overlapdialmode.
+
+2007-05-14 18:34 +0000 [r64275] Joshua Colp <jcolp at digium.com>
+
+ * devicestate.c: Only perform stripping of - strings from the
+ channel name for Zap channels. Anywhere else we might remove a
+ legitimate part of a device name. (issue #9668 reported by
+ stevedavies)
+
+2007-05-11 16:31 +0000 [r63903] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * Makefile, contrib/scripts/safe_asterisk: Issue 9121 - fixups for
+ safe_asterisk script
+
+2007-05-10 23:14 +0000 [r63828] Jason Parker <jparker at digium.com>
+
+ * channels/chan_iax2.c: Fix an issue with trying to kill a thread
+ before it gets created. Issue 9709, patch by nic_bellamy.
+
+2007-05-10 20:38 +0000 [r63748] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Do not allocate SIP pvt's for PEERs we can
+ not reach. This was seen as a lot of dialogs being created then
+ immediately destroyed at reload/restart of the SIP channel.
+
+2007-05-09 17:20 +0000 [r63653] Matthew Fredrickson <creslin at digium.com>
+
+ * channels/chan_zap.c: Make sure we only create a DSP if it's
+ requested on SUB_REAL
+
+2007-05-09 16:51 +0000 [r63610] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: Properly handle hints that point to multiple
+ devices in chan_sip. Why chan_sip is even doing this I have no
+ idea but I would rather not go into a rant. (issue #9536 reported
+ by rlister)
+
+2007-05-09 14:48 +0000 [r63565] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_directory.c: Replicate fix from 51158 (app_voicemail) to
+ app_directory (Issue 9224)
+
+2007-05-09 11:26 +0000 [r63519] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c: release_chan frees ch, so we should never
+ touch ch after release_chan, this may cause segfaults.
+
+2007-05-08 22:19 +0000 [r63477] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_macro.c: Issue 9602 - segfault in app_macro
+
+2007-05-08 15:07 +0000 [r63402] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c, channels/misdn/isdn_lib.c: added
+ application misdn_check_l2l1 which tries to pull up the L1/L2 on
+ all ports that have the layers down in a group. It waits then for
+ a timeout. This helps for scenarios where multiple PMP BRIs are
+ grouped together, or where a provider has a faulty PTP
+ Implementation, that looses the L2 after a while.
+
+2007-05-08 06:20 +0000 [r63359] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_voicemail.c: Issue 9527 - upon entering a folder, no
+ message is selected (curmsg == -1), so deleting causes memory
+ corruption (beyond bounds)
+
+2007-05-07 21:39 +0000 [r63285] Joshua Colp <jcolp at digium.com>
+
+ * include/asterisk/app.h, app.c, channel.c: Properly handle what
+ happens during a masquerade in relation to group counting. (issue
+ #9657 reported by ramonpeek)
+
+2007-05-07 14:06 +0000 [r63195] Olle Johansson <oej at edvina.net>
+
+ * config.c: Releasing the whole in-memory configuration while
+ you're adding to it is not a good thing. Please review this
+ change. Caused by additions (+) to non-existing contexts.
+
+2007-05-03 16:42 +0000 [r62987] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: When a peer is seeded or built tell the
+ devicestate core to update it's status. This is easier then
+ having chan_sip load before pbx_config. (issue #9658 reported by
+ dlynes)
+
+2007-05-03 15:39 +0000 [r62885-62945] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c, channels/misdn/isdn_msg_parser.c: when
+ we're in state WAITING4DIGS, we use the asterisk tone-generator
+ which prods us, so we can't just return -1 in misdn_write in this
+ case. Added a MISDN_KEYPAD channel variable, and fixed the
+ sending of keypad. this enables us to modify the call forward
+ parameters in the switch.
+
+ * channels/chan_misdn.c, channels/misdn/isdn_msg_parser.c: fixed
+ the problem that misdn_write did not return -1 when called with 0
+ samples in a frame this resultet in a deadlock in some
+ circumstances, when the call ended because of a busy extension.
+ added encoding of keypad.
+
+2007-05-03 00:23 +0000 [r62796-62841] Kevin P. Fleming <kpfleming at digium.com>
+
+ * res/res_config_odbc.c: doh... initializing the pointer variable
+ will work just a bit better
+
+ * res/res_config_odbc.c: increase reliability and efficiency of
+ static Realtime config loading via ODBC: don't request fields we
+ aren't going to use don't request sorting on fields that are
+ pointless to sort on explicitly request the fields we want,
+ because we can't expect the database to always return them in the
+ order they were created (reported by blitzrage in person (!),
+ patch by me)
+
+2007-05-02 20:10 +0000 [r62737] Steve Murphy <murf at digium.com>
+
+ * cdr.c, pbx.c: Some tweaks to satisfy CDR bug 8796, where being in
+ 'h' extension louses up the dst field
+
+2007-05-02 17:38 +0000 [r62691] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * channels/chan_iax2.c: Issue 9638 - if a text frame is sent with
+ no terminating NULL through a bridged IAX connection, the remote
+ end will receive garbage characters tacked onto the end.
+
+2007-05-01 21:55 +0000 [r62496-62547] Russell Bryant <russell at digium.com>
+
+ * res/res_features.c: Remove an unnecessary check that makes it so
+ if you hang up after doing an attended transfer before the target
+ extension answers the channel, the transfer is not successful.
+ (issue #9338, patch by svanlund)
+
+ * configs/indications.conf.sample: Add indications.conf information
+ for the Philippines. (issue #9525, reported and patched by
+ loloski)
+
+2007-04-30 15:57 +0000 [r62417] Russell Bryant <russell at digium.com>
+
+ * channels/chan_zap.c: This patch fixes an issue where depending on
+ the cause code, when the network sends a PRI disconnect, the call
+ may not be properly hung up. (issue #9588, reported and patched
+ by softins)
+
+2007-04-30 14:34 +0000 [r62368] Joshua Colp <jcolp at digium.com>
+
+ * asterisk.c: Update copyright notice. It's now the year 2007!
+
+2007-04-27 16:16 +0000 [r62173] Jason Parker <jparker at digium.com>
+
+ * codecs/codec_zap.c: This transcoder message needn't be a NOTICE.
+ I've seen it cause confusion more than a few times.
+
+2007-04-27 13:57 +0000 [r62126] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Issue #7351 - SIP Cancel fails due to the
+ wrong contact uri. Reported by PPYY, failed to fix by OEJ final
+ fix by wojtekka - THANKS!!!! THis was a hard one to catch.
+
+2007-04-26 16:30 +0000 [r61958-62037] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_iax2.c: Revert previous fix for when the IAX2
+ channel goes funky (that's the technical term). This is causing
+ legit calls to be prematurely hung up. (issue #9600 reported by
+ justdave)
+
+ * config.c: Don't count failed include attempts against the
+ configuration include level. (issue #9593 reported by mostyn)
+
+2007-04-25 22:24 +0000 [r61913] Kevin P. Fleming <kpfleming at digium.com>
+
+ * channels/chan_zap.c: handle a very bizarre race condition with
+ channels being redirected before a simple switch can be started
+ on them (issue #9286)
+
+2007-04-25 21:55 +0000 [r61862-61866] Russell Bryant <russell at digium.com>
+
+ * channels/chan_iax2.c: If the callerid= option is specified, but
+ empty, clear any previous data.
+
+ * channels/chan_iax2.c: Ensure that callerid settings are reset on
+ a reload.
+
+2007-04-25 18:52 +0000 [r61804] Joshua Colp <jcolp at digium.com>
+
+ * include/asterisk/app.h, funcs/func_groupcount.c, app.c,
+ apps/app_groupcount.c, channel.c: Merge rewritten group counting
+ support. No more storing data on the variable list of the
+ channels. That was bad, mmmk? (issue #7497 reported by sabbathbh)
+
+2007-04-25 16:20 +0000 [r61798] Russell Bryant <russell at digium.com>
+
+ * channels/chan_zap.c: Fix a typo where cid_num got copied instead
+ of cid_ani. (issue #9587, reported and patched by xrg)
+
+2007-04-24 Russell Bryant <russell at digium.com>
+
+ * Asterisk 1.2.18 released
+
+2007-04-24 21:33 +0000 [r61786] Russell Bryant <russell at digium.com>
+
+ * manager.c: Don't crash if a manager connection provides a
+ username that exists in manager.conf but does not have a
+ password, and also requests MD5 authentication. (ASA-2007-012)
+
+2007-04-24 18:20 +0000 [r61776-61777] Dwayne M. Hubbard <dhubbard at digium.com>
+
+ * channels/chan_phone.c, channels/chan_zap.c,
+ channels/chan_modem.c: removed #if 0 block from chan_phone,
+ chan_zap, and chan_modem restart_monitor()
+
+ * channels/chan_modem.c: removed pthread_join in restart_monitor()
+ to make it like chan_zap and other channel drivers
+
+2007-04-24 16:05 +0000 [r61771] Joshua Colp <jcolp at digium.com>
+
+ * channels/chan_sip.c: Allow RFC2833 to be sent in the response SDP
+ when an INVITE comes in without SDP. (issue #9546 reported by
+ mcrawford)
+
+2007-04-24 13:50 +0000 [r61770] Christian Richter <christian.richter at beronet.com>
+
+ * channels/misdn/isdn_lib_intern.h, channels/misdn/isdn_lib.h,
+ channels/misdn/isdn_lib.c: added lock for sending messages to
+ avoid double sending. shuffled some empty_chans after the
+ cb_event calls, this avoids that a release_complete from a quite
+ different call releases a fresh created setup by accident.
+
+2007-04-20 21:14 +0000 [r61692-61704] Jason Parker <jparker at digium.com>
+
+ * loader.c: Fix an issue that I noticed while looking over issue
+ 9571. The reload timestamp was getting set after reloading the
+ built-in stuff, and before the modules.
+
+ * apps/app_queue.c: If the '* to hangup' option is not enabled, we
+ don't need to disable * as a valid exit key. If it was enabled,
+ this statement would've never been checked in the first place.
+ Issue #9552
+
+2007-04-19 07:56 +0000 [r61685] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Send NOTIFY to Contact: in SUBSCRIBE - as
+ reported by Intertex and Citel. Fixed during SIPit 20 in Antwerp.
+
+2007-04-19 02:30 +0000 [r61680] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * funcs/func_language.c, funcs/func_moh.c, funcs/func_groupcount.c,
+ funcs/func_timeout.c, funcs/func_cdr.c, funcs/func_callerid.c:
+ Bug 9557 - Specifying the GetVar AMI action without a Channel
+ parameter can cause Asterisk to crash. The reason this needs to
+ be fixed in the functions instead of in AMI is because Channel
+ can legitimately be NULL, such as when retrieving global
+ variables.
+
+2007-04-16 14:08 +0000 [r61663] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: Don't stop RTP on errors on INFO messages.
+ Disclaimer: This patch was needed for Edvina AstHoloApp and was
+ meant to be included in 1.2, but never made it in time so I felt
+ I could add it now. No, just joking, patching error found while
+ testing T.140 with Omnitor earlier this spring.
+
+2007-04-13 19:15 +0000 [r61655] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_dial.c: Add OUTBOUND_GROUP_ONCE variable to app_dial.
+ This behaves the same as OUTBOUND_GROUP except it will get unset
+ after use so it won't get accidentally inherited. (issue #BE-140)
+
+2007-04-11 16:01 +0000 [r61376-61476] Russell Bryant <russell at digium.com>
+
+ * channels/chan_sip.c: If someone sets the "useragent" option in
+ sip.conf to be empty, then don't add the User-Agent header at
+ all. It is an optional header, anyway. Also, the bug report says
+ that some of Japan's SIP providers don't allow it for some weird
+ reason. (issue #9488, reported by makoto, fixed by me)
+
+ * channels/chan_sip.c: Fix a bug with switching between
+ host=dynamic and using specific hosts for peers. The code would
+ only reset the peer's address when it is dynamic if it was a new
+ peer structure. Now, it will also reset the address if it was
+ already in the peer list, but before the reload, it was not
+ dynamic. (issue #9515, reported by caio1982, fixed by me)
+
+ * channels/chan_sip.c: Remove the attempt at reporting
+ configuration errors in sip.conf. This can cause a bunch of
+ improper messages when using realtime. I give up. As oej tried to
+ convince me when I put this in, there is just no easy way to do
+ it. (inspired by a message on the -dev list)
+
+2007-04-11 12:05 +0000 [r61357] Christian Richter <christian.richter at beronet.com>
+
+ * channels/chan_misdn.c, channels/misdn/isdn_lib.c: some fixes for
+ PMP Hold/Retrieve, it should work now, when briding=no
+
+2007-04-10 12:31 +0000 [r61170] Nadi Sarrar <ns at beronet.com>
+
+ * channels/misdn_config.c: msns config parameter defaults to '*'
+
+2007-04-09 19:38 +0000 [r61038] Olle Johansson <oej at edvina.net>
+
+ * channels/chan_sip.c: - Don't send ActionID before Response:
+ header. - Don't use a blank in an AMI header
+
+2007-04-09 17:22 +0000 [r60935] Jason Parker <jparker at digium.com>
+
+ * apps/app_directory.c: Allow matching on names shorter than 3
+ chars. This also fixes the case where somebody wants to match on
+ less then 3 chars. Issue 9071
+
+2007-04-09 02:49 +0000 [r60846-60849] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * include/asterisk.h, asterisk.c: Don't check for error when
+ lowering priority (according to the manpage, it should never
+ happen anyway). It might could happen, though, if another thread
+ messed with the priority, so safeguard against that (reported via
+ -dev list).
+
+ * channels/chan_local.c: Bug 9505 - If the return value for
+ local_queue_frame is set, then p->lock is no longer valid.
+
+2007-04-09 00:59 +0000 [r60797] Joshua Colp <jcolp at digium.com>
+
+ * apps/app_dial.c: When calling a device that then forwards us
+ elsewhere... we have to make our channels compatible if it is the
+ only channel being dialed. (issue #9445 reported by
+ marcelbarbulescu)
+
+2007-04-08 14:00 +0000 [r60660-60711] Tilghman Lesher <tilghman at mail.jeffandtilghman.com>
+
+ * apps/app_macro.c: Gosub called within a Macro resets the
+ arguments improperly and causes general weirdness. (Issue 8329)
+
+ * file.c: Bug 9486 - memory leak when opening a filestream
[... 5267 lines stripped ...]
More information about the asterisk-commits
mailing list