]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoUpdate IMAP documentation.
Leif Madsen [Tue, 2 Mar 2010 21:08:09 +0000 (21:08 +0000)] 
Update IMAP documentation.
Update the IMAP documentation to make it clear that storing voicemails
in the same folder as a large number of emails could potentially cause
significant slow downs when writing or retrieving voicemails.

(closes issue #16704)
Reported by: TimeHider
Tested by: lmadsen, TimeHider

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@250050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate documentation to clarify purpose of unanswered option.
Leif Madsen [Tue, 2 Mar 2010 20:51:35 +0000 (20:51 +0000)] 
Update documentation to clarify purpose of unanswered option.

(closes issue #16267)
Reported by: elsto
Patches:
      cdr.conf.sample.patch.txt uploaded by lmadsen (license 10)
Tested by: davidw, elsto

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@250043 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate documentation to not imply we support overriding options.
Leif Madsen [Tue, 2 Mar 2010 20:45:37 +0000 (20:45 +0000)] 
Update documentation to not imply we support overriding options.

(issue #16855)
Reported by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@250041 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agorevert ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 19:36:20 +0000 (19:36 +0000)] 
revert ability to exit echo app

caused a regression, as only supported VOICE, not VIDEO etc.
Left in small formatting change.

(issue #16880)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249946 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 09:11:56 +0000 (09:11 +0000)] 
fixes ability to exit echo app

when called from a ISDN channel, null frames prevent '#' exit.
Now only echo back VOICE and DTMF frames

(issue #16880)
Reported by: alecdavis
Patches:
      based on echo_exit_1-6-1.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249845 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix crash in app_voicemail related to message counting.
Sean Bright [Mon, 1 Mar 2010 19:35:01 +0000 (19:35 +0000)] 
Fix crash in app_voicemail related to message counting.

We were passing a 'struct inprocess **' and treating it like a 'struct inprocess *'
causing a segfault.

(closes issue #16921)
Reported by: whardier
Patches:
      20100301_issue16921.patch uploaded by seanbright (license 71)
Tested by: whardier

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249671 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoModify queued frames from local channels to not set the other side to up
Jeff Peeler [Mon, 1 Mar 2010 17:02:03 +0000 (17:02 +0000)] 
Modify queued frames from local channels to not set the other side to up

In this case, attended transfers were broken due to ast_feature_request_and_dial
detecting the channel being set to up before the answer frame could be read and
therefore failing to mark the channel as ready. This fix is a regression fix for
244785, which should continue to work properly as well.

(closes issue #16816)
Reported by: jamhed
Tested by: jamhed, corruptor

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agooverlap receiving: automatically send CALL PROCEEDING when dialplan starts
Alec L Davis [Sat, 27 Feb 2010 23:51:28 +0000 (23:51 +0000)] 
overlap receiving: automatically send CALL PROCEEDING when dialplan starts

Following Q.931 5.2.4
When the user has determined that sufficient call information has been received the
user shall stop T302 and send CALL PROCEEDING to the network.

Previously timeouts were possible if the dialplan took a long time to issue any
response back to the network.

Verified that our local TELCO also does the same.

(issue #16789)
Reported by: alecdavis
Patches:
      based on overlap_receiving_trunk.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

(closes issue #16789)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249365 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoadd a reference to the now-published IAX2 RFC
Kevin P. Fleming [Sat, 27 Feb 2010 14:07:59 +0000 (14:07 +0000)] 
add a reference to the now-published IAX2 RFC

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249234 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFor T.38 reINVITEs treat a 606 the same as a 488.
Mark Michelson [Fri, 26 Feb 2010 17:04:29 +0000 (17:04 +0000)] 
For T.38 reINVITEs treat a 606 the same as a 488.

(closes issue #16792)
Reported by: vrban
Patches:
      t38_606.patch uploaded by vrban (license 756)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@249100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoEnsure that monitor recordings are written to the correct location (again)
Jeff Peeler [Thu, 25 Feb 2010 21:22:06 +0000 (21:22 +0000)] 
Ensure that monitor recordings are written to the correct location (again)

This is an extension to 248757. As such the dialplan test has been extended:

exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
exten => 5040, n, dial(sip/5001)
exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
exten => 5041, n, dial(sip/5001)
exten => 5042, 1, monitor(wav,monitor_test3,b)
exten => 5042, n, dial(sip/5001)
exten => 5043, 1, monitor(wav,tmp/jeff/monitor_test3,m)
exten => 5043, n, changemonitor(monitor_test4)
exten => 5043, n, dial(sip/5001)
exten => 5044, 1, monitor(wav,monitor_test4,m)
exten => 5044, n, changemonitor(tmp/jeff/monitor_test5) ; this looks to fail by design and emits a warning
exten => 5044, n, dial(sip/5001)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248860 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSome platforms clear /var/run at boot, which makes connecting a remote console.....
Tilghman Lesher [Thu, 25 Feb 2010 21:21:05 +0000 (21:21 +0000)] 
Some platforms clear /var/run at boot, which makes connecting a remote console... difficult.

Previously, we only created the default /var/run/asterisk directory at install
time.  While we could create it in the init script, that would not work for
those who start asterisk manually from the command line.  So the safest thing
to do is to create it as part of the Asterisk boot process.  This also changes
the ownership of the directory, because the pid and ctl files are created after
we setuid/setgid.

(closes issue #16802)
 Reported by: Brian
 Patches:
       20100224__issue16802.diff.txt uploaded by tilghman (license 14)
 Tested by: tzafrir

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248859 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoEnsure that monitor recordings are written to the correct location.
Jeff Peeler [Thu, 25 Feb 2010 18:06:54 +0000 (18:06 +0000)] 
Ensure that monitor recordings are written to the correct location.

Recordings should be placed in the monitor directory when a non-absolute path
is used.

Exact dialplan used for testing:
exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
exten => 5040, n, dial(sip/5001)
exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
exten => 5041, n, dial(sip/5001)
exten => 5042, 1, monitor(wav,monitor_test3,b)
exten => 5042, n, dial(sip/5001)

ABE-2101

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248757 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake deletion of temporary greetings work properly with IMAP_STORAGE
Jeff Peeler [Wed, 24 Feb 2010 22:58:54 +0000 (22:58 +0000)] 
Make deletion of temporary greetings work properly with IMAP_STORAGE

This same patch was merged in 220833, but was skipped in this branch
erroneously.

(closes issue #16170)
Reported by: francesco_r

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248668 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove color code sequences from verbose messages that go to logfiles.
Tilghman Lesher [Wed, 24 Feb 2010 21:02:18 +0000 (21:02 +0000)] 
Remove color code sequences from verbose messages that go to logfiles.
(closes issue #16786)
 Reported by: dodo
 Patches:
       logger2.patch uploaded by dodo (license 989)
 Tested by: tilghman

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248582 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes invite with replaces deadlock
David Vossel [Tue, 23 Feb 2010 16:26:05 +0000 (16:26 +0000)] 
fixes invite with replaces deadlock

(closes issue #16862)
Reported by: pwalker
Patches:
      replaces_deadlock_1.4 uploaded by dvossel (license 671)
Tested by: pwalker, dvossel

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248396 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't log to debug unless debug is turned on
Olle Johansson [Mon, 22 Feb 2010 13:52:34 +0000 (13:52 +0000)] 
Don't log to debug unless debug is turned on

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure we support RTCP compound messages with zero reports
Olle Johansson [Sat, 20 Feb 2010 22:25:42 +0000 (22:25 +0000)] 
Make sure we support RTCP compound messages with zero reports

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248106 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBackport crash fix from trunk to 1.4, whereby 'core show gracefully' could crash...
Tilghman Lesher [Fri, 19 Feb 2010 19:11:45 +0000 (19:11 +0000)] 
Backport crash fix from trunk to 1.4, whereby 'core show gracefully' could crash Asterisk.

(closes issue #16470)
 Reported by: kjotte

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248012 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revision 247904 from
Richard Mudgett [Fri, 19 Feb 2010 17:18:49 +0000 (17:18 +0000)] 
Merged revision 247904 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...

..........
r247904 | rmudgett | 2010-02-19 10:49:44 -0600 (Fri, 19 Feb 2010) | 49 lines

Make chan_misdn DTMF processing consistent with other channel technologies.

The processing of DTMF tones on the receiving side of an ISDN channel is
inconsistent with the way it is handled in other channels, especially
DAHDI analog.  This causes DTMF tones sent from an ISDN phone to be
doubled at the connected party.

We are using the following 2 options of misdn.conf
1) astdtmf=yes
2) senddtmf=yes

Option one is necessary because the asterisk DSP DTMF detection is better
than mISDN's internal DSP.  Not as many false positives.

Option two is necessary to transmit DTMF tones end to end when mISDN
channels are connected to SIP channels with out of band DTMF for example.

The symptom is that DTMF tones sent by an ISDN phone are doubled on the
way through asterisk when two mISDN channels are connected with a Local
channel in between or if it is bridged to an analog channel.

The doubling of DTMF tones is because DTMF is passed inband to asterisk by
the mISDN channel and passed out of band once again after the release of
the DTMF tone.  Passing it inband is wrong.  Neither an analog channel nor
SIP channel passes DTMF inband if configured to inband DTMF.  Analog and
SIP channels filter out the DTMF tones because they use the voice frames
returned by ast_dsp_process.  But chan_misdn passes the unfiltered input
voice frames instead.

To overcome one aspect of the problem, the doubling of DTMF tones when two
mISDN channels are directly bridged, someone made an 'optimization', where
in that case the DTMF tone passed out-of-band to the peer channel is not
translated to an inband tone at the transmit side.  This optimization is
bad because it does not work in general.  For example, analog channels or
mISDN channels when bridged through an intermediary local channel will
generate DTMF tones from out-of-band information.  Also, of course, it
must not be done when there is no inband DTMF available.

This patch fixes the issue.  Now chan_misdn will filter the received
inband DTMF signal the same as other channel types.

Another change included: No need to build an extra translation path
because ast_process_dsp does it if required.

Patches:
misdn-dtmf.patch

JIRA ABE-2080

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247910 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCopy the calling party's account code to the called party if they don't already have...
Matthew Nicholson [Thu, 18 Feb 2010 19:38:09 +0000 (19:38 +0000)] 
Copy the calling party's account code to the called party if they don't already have one.

(closes issue #16331)
Reported by: bluefox
Tested by: mnicholson

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247651 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd additional link to best practices document per jsmith.
Leif Madsen [Thu, 18 Feb 2010 16:53:44 +0000 (16:53 +0000)] 
Add additional link to best practices document per jsmith.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247508 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd best practices documentation.
Leif Madsen [Thu, 18 Feb 2010 16:38:17 +0000 (16:38 +0000)] 
Add best practices documentation.

(issue #16808)
Reported by: lmadsen

(issue #16810)
Reported by: Nick_Lewis
Tested by: lmadsen

Review: https://reviewboard.asterisk.org/r/507/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoTweak argument handling for wget in the sounds Makefile.
Russell Bryant [Thu, 18 Feb 2010 04:19:01 +0000 (04:19 +0000)] 
Tweak argument handling for wget in the sounds Makefile.

1) Fix the check to see if we are using wget to not be full of fail.  The
configure script populates this variable with the absolute path to wget if
it is found, so it didn't work.

2) Allow some extra arguments to be passed in for wget.  This is just a simple
change to allow our Bamboo build script to tell wget to be quiet and not fill
up our logs with download status output.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247422 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure that when autofill is disabled that callers not in the front of the queue...
Mark Michelson [Wed, 17 Feb 2010 16:24:17 +0000 (16:24 +0000)] 
Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.

(closes issue #16834)
Reported by: kebl0155
Patches:
      app_queue_no_autofill.v1.patch uploaded by kebl0155 (license 356)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@247168 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake the menuselect instructions correct by allowing 'make menuselect' to actually...
Tilghman Lesher [Mon, 15 Feb 2010 23:42:33 +0000 (23:42 +0000)] 
Make the menuselect instructions correct by allowing 'make menuselect' to actually solve dependency problems.

(Previously, it would fail out again with the same message about running
'make menuselect', which was NOT at all helpful.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@246709 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agolock channel during datastore removal
David Vossel [Fri, 12 Feb 2010 23:30:17 +0000 (23:30 +0000)] 
lock channel during datastore removal

On channel destruction the channel's datastores are removed and
destroyed.  Since there are public API calls to find and remove
datastores on a channel, a lock should be held whenever datastores are
removed and destroyed.  This resolves a crash caused by a race
condition in app_chanspy.c.

(closes issue #16678)
Reported by: tim_ringenbach
Patches:
      datastore_destroy_race.diff uploaded by tim ringenbach (license 540)
Tested by: dvossel

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@246545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix some silly formatting, and remove unnecessary option_debug checks
Jason Parker [Fri, 12 Feb 2010 18:52:28 +0000 (18:52 +0000)] 
Fix some silly formatting, and remove unnecessary option_debug checks

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@246460 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes random deadlock in app_queue with use_weight during reload
David Vossel [Wed, 10 Feb 2010 17:44:20 +0000 (17:44 +0000)] 
fixes random deadlock in app_queue with use_weight during reload

(closes issue #16677)
Reported by: tim_ringenbach
Patches:
      app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@246115 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoInclude examples of FILTER usage in extension patterns where a "." may be a risk.
Tilghman Lesher [Wed, 10 Feb 2010 13:37:13 +0000 (13:37 +0000)] 
Include examples of FILTER usage in extension patterns where a "." may be a risk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake sure that res_smdi loads regardless of configuration, since chan_dahdi depends...
Olle Johansson [Wed, 10 Feb 2010 08:24:34 +0000 (08:24 +0000)] 
Make sure that res_smdi loads regardless of configuration, since chan_dahdi depends on res_smdi

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245909 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFixes iaxs and iaxsl size off by one issue.
David Vossel [Tue, 9 Feb 2010 22:55:38 +0000 (22:55 +0000)] 
Fixes iaxs and iaxsl size off by one issue.

2^15 = 32768 which is the maximum allowed iax2 callnumber.
Creating the iaxs and iaxsl array of size 32768 means the maximum
callnumber is actually out of bounds.  This causes a nasty crash.

(closes issue #15997)
Reported by: exarv
Patches:
      iax_fix.diff uploaded by dvossel (license 671)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245792 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove reference of documentation in source directory.
Jason Parker [Mon, 8 Feb 2010 20:39:50 +0000 (20:39 +0000)] 
Remove reference of documentation in source directory.

People don't always build Asterisk from source (distro packages, anybody?).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245496 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRes_features depends on res_adsi in 1.4
Olle Johansson [Mon, 8 Feb 2010 11:57:52 +0000 (11:57 +0000)] 
Res_features depends on res_adsi in 1.4

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245422 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove contrib/firmware directory as it is empty
Kevin P. Fleming [Fri, 5 Feb 2010 18:32:29 +0000 (18:32 +0000)] 
Remove contrib/firmware directory as it is empty

Remove explicit license for IAXy firmware as it is no longer included in the tree

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245044 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate main copyright date.
Sean Bright [Fri, 5 Feb 2010 17:03:35 +0000 (17:03 +0000)] 
Update main copyright date.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@244926 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoChange channel state on local channels for busy,answer,ring.
Jeff Peeler [Thu, 4 Feb 2010 23:20:21 +0000 (23:20 +0000)] 
Change channel state on local channels for busy,answer,ring.

Previously local channels channel state never changed. This became problematic
when the state of the other side of the local channel was lost, for example
during a masquerade. Changing the state of the local channel allows for the
scenario to be detected when the channel state is set to ringing, but the peer
isn't ringing. The specific problem scenario is described in 164201. Although
this was noted on one of the issues, here is the tested dialplan verified to
work:

exten => 9700,1,Dial(Local/*9700@default&Local/#9700@default)

exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1)
exten => *9700,n,wait(3) ;3 works, 1 did not
exten => *9700,n,Dial(SIP/5001)

exten => #9700,1,Wait(1) ;1 works, 3 did not
exten => #9700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1)

(closes issue #14992)
Reported by: davidw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@244785 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBackup and restore original textfile, for prosthesis (gerund of prepend).
Tilghman Lesher [Mon, 1 Feb 2010 23:13:44 +0000 (23:13 +0000)] 
Backup and restore original textfile, for prosthesis (gerund of prepend).

Also, fix menuselect such that changing voicemail build options correctly
causes rebuild.

(closes issue #16415)
 Reported by: tomo1657
 Patches:
       prepention.patch uploaded by tomo1657 (license 484)
       (with modifications by me to backport to 1.4)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@244242 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoWhen a transferer hangs up during an attended transfer BEFORE the transfer is answere...
Tilghman Lesher [Mon, 1 Feb 2010 18:38:37 +0000 (18:38 +0000)] 
When a transferer hangs up during an attended transfer BEFORE the transfer is answered, don't stop playing MOH.

(closes issue #16513)
 Reported by: litnimax
 Patches:
       atxfer_moh_16513.patch uploaded by gknispel proformatique (license 261)
 Tested by: litnimax

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@244151 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRevert previous chan_local fix (r236981) and fix instead by destroying expired frames...
Tilghman Lesher [Mon, 1 Feb 2010 17:46:31 +0000 (17:46 +0000)] 
Revert previous chan_local fix (r236981) and fix instead by destroying expired frames in the queue.

(closes issue #16525)
 Reported by: kobaz
 Patches:
       20100126__issue16525.diff.txt uploaded by tilghman (license 14)
       20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license 14)
 Tested by: kobaz, atis

(closes issue #16581)
 Reported by: ZX81

(closes issue #16681)
 Reported by: alexr1

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@244070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOops, correct wrong link (https vs. http) in previous commit.
Leif Madsen [Thu, 28 Jan 2010 18:48:24 +0000 (18:48 +0000)] 
Oops, correct wrong link (https vs. http) in previous commit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243863 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate location of bug tracker in documentation.
Leif Madsen [Thu, 28 Jan 2010 18:46:20 +0000 (18:46 +0000)] 
Update location of bug tracker in documentation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243862 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix a bogus third argument to ast_copy_string().
Russell Bryant [Thu, 28 Jan 2010 15:03:17 +0000 (15:03 +0000)] 
Fix a bogus third argument to ast_copy_string().

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243779 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRevert 243570, I should have looked at this closer. Will reopen the issue, but
Jeff Peeler [Wed, 27 Jan 2010 20:35:56 +0000 (20:35 +0000)] 
Revert 243570, I should have looked at this closer. Will reopen the issue, but
am leaving the review closed as the change was pointless.

(issue #16488)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243691 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoExtend announcement URL used with Queue from 80 chars to PATH_MAX.
Jeff Peeler [Wed, 27 Jan 2010 18:47:34 +0000 (18:47 +0000)] 
Extend announcement URL used with Queue from 80 chars to PATH_MAX.

(closes issue #16488)
Reported by: syspert
Patches:
      soundfilelen.pacth-2 uploaded by syspert (license 938)

Review: https://reviewboard.asterisk.org/r/475/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243570 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUse a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.
Mark Michelson [Wed, 27 Jan 2010 18:06:43 +0000 (18:06 +0000)] 
Use a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243486 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes bug with channel receiving wrong privileges after call parking
David Vossel [Tue, 26 Jan 2010 23:55:49 +0000 (23:55 +0000)] 
fixes bug with channel receiving wrong privileges after call parking

(closes issue #16429)
Reported by: Yasuhiro Konishi
Patches:
      features.c.diff uploaded by Yasuhiro Konishi (license 947)
Tested by: dvossel

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243390 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove unnecessary code in ast_read as issue 16058 has been fully solved now.
Jeff Peeler [Tue, 26 Jan 2010 18:19:10 +0000 (18:19 +0000)] 
Remove unnecessary code in ast_read as issue 16058 has been fully solved now.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@243258 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoErr, and use the new menuselect define, too.
Tilghman Lesher [Mon, 25 Jan 2010 21:50:22 +0000 (21:50 +0000)] 
Err, and use the new menuselect define, too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242969 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOnly rebuild parsers by an option in menuselect
Tilghman Lesher [Mon, 25 Jan 2010 21:36:33 +0000 (21:36 +0000)] 
Only rebuild parsers by an option in menuselect

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242966 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRestore FreeBSD to able-to-compile-ish-mode
Tilghman Lesher [Mon, 25 Jan 2010 20:15:45 +0000 (20:15 +0000)] 
Restore FreeBSD to able-to-compile-ish-mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242852 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove debugging that indeed should have been gone before commit. Sorry.
Olle Johansson [Mon, 25 Jan 2010 20:08:32 +0000 (20:08 +0000)] 
Remove debugging that indeed should have been gone before commit. Sorry.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242851 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoReport error when writing to functions returns error in AMI setvar action
Olle Johansson [Mon, 25 Jan 2010 20:03:38 +0000 (20:03 +0000)] 
Report error when writing to functions returns error in AMI setvar action

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242850 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBuildbot pointed out an error (thanks, buildbot!)
Tilghman Lesher [Mon, 25 Jan 2010 05:42:22 +0000 (05:42 +0000)] 
Buildbot pointed out an error (thanks, buildbot!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242728 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.
Tilghman Lesher [Mon, 25 Jan 2010 05:33:37 +0000 (05:33 +0000)] 
Oops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242723 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMake the build of the Asterisk expression parser match that of the AEL parser.
Tilghman Lesher [Mon, 25 Jan 2010 05:13:28 +0000 (05:13 +0000)] 
Make the build of the Asterisk expression parser match that of the AEL parser.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242683 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoOnly rebuild bison and flex source files on demand, if bison and flex are detected...
Tilghman Lesher [Sun, 24 Jan 2010 06:33:01 +0000 (06:33 +0000)] 
Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.

Changed after discussion on the -dev list about possible unnecessary build
failures, due to checkouts/untars causing these special source files to
possibly be newer than their resulting C files.  This should additionally
ensure that nobody need learn about extra Makefile arguments to ensure the
proper files get rebuilt when changes are made to these special source files.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242520 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRebuild from flex, bison sources when necessary.
Tilghman Lesher [Fri, 22 Jan 2010 21:44:18 +0000 (21:44 +0000)] 
Rebuild from flex, bison sources when necessary.

(issue #14629)
 Reported by: Marquis
 Patches:
       20100121__issue14629.diff.txt uploaded by tilghman (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242423 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoInitialize notify_types to NULL
Olle Johansson [Fri, 22 Jan 2010 09:19:30 +0000 (09:19 +0000)] 
Initialize notify_types to NULL

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242226 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd Dialed Number Identifier (DNID) field to cdr.
Alec L Davis [Fri, 22 Jan 2010 01:48:10 +0000 (01:48 +0000)] 
Add Dialed Number Identifier (DNID) field to cdr.

Branch support, retains ABI, if backend CDR collector is adaptive then database
requires 'dnid' field to be added, otherwise no functional changes.

  Reported by: alecdavis
  Tested by: alecdavis
  Patch
 cdr_dnid.diff2.txt uploaded by alecdavis (license 585)

Review: https://reviewboard.asterisk.org/r/455/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242142 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.
Sean Bright [Thu, 21 Jan 2010 15:25:46 +0000 (15:25 +0000)] 
Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.

(closes issue #16666)
Reported by: romain_proformatique

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241932 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoGuard against division by zero.
Tilghman Lesher [Thu, 21 Jan 2010 05:53:17 +0000 (05:53 +0000)] 
Guard against division by zero.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241765 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes parsing error in Makefile.
David Vossel [Wed, 20 Jan 2010 20:00:04 +0000 (20:00 +0000)] 
fixes parsing error in Makefile.

Some echo lines were missing "; . Thanks to jparker for pointing out
the problem.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241626 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoModify fix for issue 16554 to be more inline with what is already in trunk.
Sean Bright [Wed, 20 Jan 2010 14:12:45 +0000 (14:12 +0000)] 
Modify fix for issue 16554 to be more inline with what is already in trunk.

I should have taken a closer look at trunk/1.6.x, as this bug has already been
fixed in a much more simple manner, by just settings o->vars to NULL after the
ast_pbx_outgoing_* calls.

(issue #16554)
Reported by: mav3rick

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241544 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix a memory leak in pbx_spool when using SetVar in a call file.
Sean Bright [Wed, 20 Jan 2010 14:06:49 +0000 (14:06 +0000)] 
Fix a memory leak in pbx_spool when using SetVar in a call file.

In pbx_spool, when we are freeing our 'outgoing' struct, we weren't deallocating
the ast_variable list we had built from SetVars in a call file.  Adding a call to
ast_variables_destroy in our deallocation routine works, but only if the variables
have not already been passed into ast_pbx_outgoing_app() or _exten(), both of
which take care of destroying the variable list for us.

(closes issue #16554)
Reported by: mav3rick
Patches:
      issue16554_20100119.patch uploaded by seanbright (license 71)
Tested by: mav3rick

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241543 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate CDR variables as pbx starts
Alec L Davis [Wed, 20 Jan 2010 09:38:09 +0000 (09:38 +0000)] 
Update CDR variables as pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during the call,
by executing ast_cdr_update() early in __ast_pbx_run.

Based on cdr_update.diff3.txt

(issue #16638)
Reported by: alecdavis
Patches:
      cdr_update.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241458 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAllow parallel make (-j) to work properly.
Jason Parker [Tue, 19 Jan 2010 17:41:00 +0000 (17:41 +0000)] 
Allow parallel make (-j) to work properly.

1.4 changes are quite different from the others.

(issue #16489)
Reported by: Chainsaw
Tested by: qwell

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241228 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix deadlock in agent_read by removing call to agent_logoff.
Jeff Peeler [Tue, 19 Jan 2010 17:22:18 +0000 (17:22 +0000)] 
Fix deadlock in agent_read by removing call to agent_logoff.

One must always lock the agents list lock before the agent private. agent_read
locks the private immediately, so locking the agents list lock is not an
option (which is what agent_logoff requires). Because agent_read already
has access to the agent private all that is necessary is to do the required
hanging up that agent_logoff performed.

(closes issue #16321)
Reported by: valon24
Patches:
      bug16321.patch uploaded by jpeeler (license 325)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241227 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPlug a memory leak when reading configs with their comments.
Sean Bright [Mon, 18 Jan 2010 19:54:19 +0000 (19:54 +0000)] 
Plug a memory leak when reading configs with their comments.

While reading through configuration files with the intent of returning their
full contents (comments specifically) we allocated some memory and then forgot
to free it.  This doesn't fix 16554 but clears up a leak I had in the lab.

(issue #16554)
Reported by: mav3rick
Patches:
      issue16554_20100118.patch uploaded by seanbright (license 71)
Tested by: seanbright

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@241015 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoupdated transmit_silence option documentation in asterisk.conf
David Vossel [Mon, 18 Jan 2010 16:51:35 +0000 (16:51 +0000)] 
updated transmit_silence option documentation in asterisk.conf

This patch updates the transmit_silence option to better document
why the option exists, and what it affects.  Thanks to russell
for providing the verbage for this update.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@240891 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix muted compilation in 1.4 only
Olle Johansson [Mon, 18 Jan 2010 13:27:22 +0000 (13:27 +0000)] 
Fix muted compilation in 1.4 only

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@240768 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix a spelling error in the asterisk.conf sample.
Russell Bryant [Fri, 15 Jan 2010 23:06:11 +0000 (23:06 +0000)] 
Fix a spelling error in the asterisk.conf sample.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@240547 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDisallow leaving more than maxmsg voicemails.
Tilghman Lesher [Fri, 15 Jan 2010 20:52:27 +0000 (20:52 +0000)] 
Disallow leaving more than maxmsg voicemails.
This is a possibility because our previous method assumed that no messages are
left in parallel, which is not a safe assumption.  Due to the vmu structure
duplication, it was necessary to track in-process messages via a separate
structure.  If at some point, we switch vmu to an ao2-reference-counted
structure, which would eliminate the prior noted duplication of structures,
then we could incorporate this new in-process structure directly into vmu.
(closes issue #16271)
 Reported by: sohosys
 Patches:
       20100108__issue16271.diff.txt uploaded by tilghman (license 14)
       20100108__issue16271__trunk.diff.txt uploaded by tilghman (license 14)
       20100108__issue16271__1.6.0.diff.txt uploaded by tilghman (license 14)
 Tested by: jsutton

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@240414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix regression for timed out parked call returning to caller
Jeff Peeler [Wed, 13 Jan 2010 19:43:33 +0000 (19:43 +0000)] 
Fix regression for timed out parked call returning to caller

This issue seems to have been exposed by the fix in 160390 whereby using a
masquerade prevented a crash. The new channel used in the masquerade was
not copying the macro information from the old channel.

(closes issue #15459)
Reported by: djrodman
Patches:
      patch_15459.txt uploaded by mnick (license )

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@239838 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoadd silence gen to wait apps
David Vossel [Wed, 13 Jan 2010 17:16:12 +0000 (17:16 +0000)] 
add silence gen to wait apps

asterisk.conf's 'transmit_silence' option existed before
this patch, but was limited to only generating silence
while recording and sending DTMF. Now enabling the
transmit_silence option generates silence during wait
times as well.

To achieve this, ast_safe_sleep has been modified to
generate silence anytime no other generators are present
and transmit_silence is enabled. Wait apps not using
ast_safe_sleep now generate silence when transmit_silence
is enabled as well.

(closes issue 0016524)
Reported by: kobaz

(closes issue 0016523)
Reported by: kobaz
Tested by: dvossel

Review: https://reviewboard.asterisk.org/r/456/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@239718 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoPortability and other fixes for the safe_asterisk script
Tilghman Lesher [Tue, 12 Jan 2010 03:18:36 +0000 (03:18 +0000)] 
Portability and other fixes for the safe_asterisk script
(closes issue #16416)
 Reported by: bklang
 Patches:
       safe_asterisk-compat-1.patch uploaded by bklang (license 919)
       20100106__issue16416__trunk.diff.txt uploaded by tilghman (license 14)
 Tested by: bklang

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@239307 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years ago-1 is interpreted as an error, intead of the maximum mask.
Tilghman Lesher [Sat, 9 Jan 2010 00:57:58 +0000 (00:57 +0000)] 
-1 is interpreted as an error, intead of the maximum mask.
(closes issue #16241)
 Reported by: vnovy
 Patches:
       manager.c.patch uploaded by vnovy (license 922)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238915 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoStop a crash when no peer is passed to masq_park_call.
Jeff Peeler [Fri, 8 Jan 2010 23:28:37 +0000 (23:28 +0000)] 
Stop a crash when no peer is passed to masq_park_call.

(distantly related to issue #16406)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoProperly calculate the remaining space in the output string when reducing format...
Matthew Nicholson [Fri, 8 Jan 2010 19:20:44 +0000 (19:20 +0000)] 
Properly calculate the remaining space in the output string when reducing format strings.

(closes issue #16560)
Reported by: goldwein

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238629 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes crash in "scheduled_destroy" in chan_iax
David Vossel [Thu, 7 Jan 2010 20:14:25 +0000 (20:14 +0000)] 
fixes crash in "scheduled_destroy" in chan_iax

A signed short was used to represent a callnumber.  This is makes
it possible to attempt to access the iaxs array with a negative
index.

(closes issue #16565)
Reported by: jensvb

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238411 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoChange in sip show channels display format allowing more digits for CID
David Vossel [Thu, 7 Jan 2010 20:06:00 +0000 (20:06 +0000)] 
Change in sip show channels display format allowing more digits for CID

(closes issue 0016459)
Reported by: Rzadzins
Patches:
      chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238409 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRevise documentation on disposition values to the actual values used.
Tilghman Lesher [Wed, 6 Jan 2010 21:41:55 +0000 (21:41 +0000)] 
Revise documentation on disposition values to the actual values used.
(closes issue #16289)
 Reported by: wdoekes

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238230 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoResolve a crash due to an ast_frame not being fully initialized.
Russell Bryant [Wed, 6 Jan 2010 15:18:22 +0000 (15:18 +0000)] 
Resolve a crash due to an ast_frame not being fully initialized.

(closes issue #16531)
Reported by: john8675309

(closes SWP-615)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@238009 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoChange a NOTICE log message to DEBUG where it belongs.
Russell Bryant [Tue, 5 Jan 2010 17:13:28 +0000 (17:13 +0000)] 
Change a NOTICE log message to DEBUG where it belongs.

(closes issue #16479)
Reported by: alexrecarey

(closes SWP-577)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBounds checking for input string
Tilghman Lesher [Mon, 4 Jan 2010 21:45:46 +0000 (21:45 +0000)] 
Bounds checking for input string
(closes issue #16407)
 Reported by: qwell
 Patches:
       20100104__issue16407.diff.txt uploaded by tilghman (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237573 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRegression in issue #15421 - Pattern matching
Tilghman Lesher [Mon, 4 Jan 2010 20:57:35 +0000 (20:57 +0000)] 
Regression in issue #15421 - Pattern matching
(closes issue #16482)
 Reported by: wdoekes
 Patches:
       astsvn-16482-betterfix.diff uploaded by wdoekes (license 717)
       20091223__issue16482.diff.txt uploaded by tilghman (license 14)
 Tested by: wdoekes, tilghman

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237493 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd a flag to disable the Background behavior, for AGI users.
Tilghman Lesher [Mon, 4 Jan 2010 18:19:00 +0000 (18:19 +0000)] 
Add a flag to disable the Background behavior, for AGI users.
This is in a section of code that relates to two other issues, namely
issue #14011 and issue #14940), one of which was the behavior of
Background when called with a context argument that matched the current
context.  This fix broke FreePBX, however, in a post-Dial situation.
Needless to say, this is an extremely difficult collision of several
different issues.  While the use of an exception flag is ugly, fixing all
of the issues linked is rather difficult (although if someone would like
to propose a better solution, we're happy to entertain that suggestion).
(closes issue #16434)
 Reported by: rickead2000
 Patches:
       20091217__issue16434.diff.txt uploaded by tilghman (license 14)
       20091222__issue16434__1.6.1.diff.txt uploaded by tilghman (license 14)
 Tested by: rickead2000

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237405 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoIt's also possible for the Local channel to directly execute an Application.
Tilghman Lesher [Mon, 4 Jan 2010 16:18:59 +0000 (16:18 +0000)] 
It's also possible for the Local channel to directly execute an Application.
Reviewboard: https://reviewboard.asterisk.org/r/452/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237318 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRelease memory of the contact acl before unloading module
Olle Johansson [Sat, 2 Jan 2010 09:52:30 +0000 (09:52 +0000)] 
Release memory of the contact acl before unloading module

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@237135 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoDon't queue frames to channels that have no means to process them.
Tilghman Lesher [Wed, 30 Dec 2009 21:57:10 +0000 (21:57 +0000)] 
Don't queue frames to channels that have no means to process them.
(closes issue #15609)
 Reported by: aragon
 Patches:
       20091230__issue16521__1.4__chan_local_only.diff.txt uploaded by tilghman (license 14)
 Tested by: aragon

Review: https://reviewboard.asterisk.org/r/452/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236981 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles.
Jeff Peeler [Wed, 30 Dec 2009 20:25:11 +0000 (20:25 +0000)] 
Remove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236890 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoTry a test compile to see if PTHREAD_ONCE_INIT requires extra braces.
Sean Bright [Mon, 28 Dec 2009 15:12:08 +0000 (15:12 +0000)] 
Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces.

There was conditional code (based on build platform) to optioinally wrap
PTHREAD_ONCE_INIT in braces that was removed since it is fixed in newer versions
of Solaris/OpenSolaris, but I am still running into it on Solaris 10 x86 so add
a configure-time check for it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAvoid a crash with large numbers of MeetMe conferences.
Sean Bright [Mon, 28 Dec 2009 12:43:36 +0000 (12:43 +0000)] 
Avoid a crash with large numbers of MeetMe conferences.

Similar to changes made to Queue(), when we have large numbers of conferences in
meetme.conf (1000s) and we use alloca()/strdupa(), we can blow out the stack and
crash, so instead just use a single fixed buffer.

(closes issue #16509)
Reported by: Kashif Raza
Patches:
      20091223_16509.patch uploaded by seanbright (license 71)
Tested by: seanbright

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236509 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoTurn on colors in the daemon, since there's many requests for it on Ubuntu.
Tilghman Lesher [Sun, 27 Dec 2009 18:19:38 +0000 (18:19 +0000)] 
Turn on colors in the daemon, since there's many requests for it on Ubuntu.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236433 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoupdate to latest releases with zero uid/gid
Kevin P. Fleming [Sat, 26 Dec 2009 15:26:17 +0000 (15:26 +0000)] 
update to latest releases with zero uid/gid

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236357 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoProperly set T.38 attributes and don't return before T.38 ports are configured when...
Matthew Nicholson [Wed, 23 Dec 2009 15:21:28 +0000 (15:21 +0000)] 
Properly set T.38 attributes and don't return before T.38 ports are configured when T.38 is found but no audio stream is found.

(closes issue #16318)
Reported by: bird_of_Luck
Patches:
      t38-sdp-parsing-fix3.diff uploaded by mnicholson (license 96), written by vrban and mnicholson
Tested by: vrban, mihaill

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236261 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoIf EXEC only gets a single argument, don't crash when the second is used.
Tilghman Lesher [Wed, 23 Dec 2009 02:55:24 +0000 (02:55 +0000)] 
If EXEC only gets a single argument, don't crash when the second is used.
(closes issue #16504)
 Reported by: bklang

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236184 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agofixes issue with p->method incorrectly set to ACK
David Vossel [Tue, 22 Dec 2009 16:58:19 +0000 (16:58 +0000)] 
fixes issue with p->method incorrectly set to ACK

It is possible for a second ACK to come in for a retransmitted message.
If an ack does not match an unacked message in our queue, restore the previous
p->method as this ACK is completely ignored.

(closes issue #16295)
Reported by: omolenkamp
Patches:
      issue16295_v2.diff uploaded by dvossel (license 671)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@236062 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoChange Monitor to not assume file to write to does not contain pathing.
Jeff Peeler [Mon, 21 Dec 2009 19:43:41 +0000 (19:43 +0000)] 
Change Monitor to not assume file to write to does not contain pathing.

227944 changed the fname_base argument to always append the configured monitor
path. This change was necessary to properly compare files for uniqueness.
If a full path is given though, nothing needs to be appended and that is
handled correctly now.

(closes issue #16377)
(closes issue #16376)
Reported by: bcnit
Patches:
      res_monitor.c-issue16376-1.patch uploaded by dant (license 670)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoSend parking lot announcement to the channel which parked the call, not the park-ee.
Tilghman Lesher [Mon, 21 Dec 2009 16:45:03 +0000 (16:45 +0000)] 
Send parking lot announcement to the channel which parked the call, not the park-ee.
(closes issue #16234)
 Reported by: yeshuawatso
 Patches:
       20091210__issue16234.diff.txt uploaded by tilghman (license 14)
       20091221__issue16234__1.4.diff.txt uploaded by tilghman (license 14)
 Tested by: yeshuawatso

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235821 65c4cc65-6c06-0410-ace0-fbb531ad65f3