Commit Graph

13843 Commits

Author SHA1 Message Date
Leif Madsen
7590cbc88f Create Asterisk 1.4.29 release from 1.4.29-rc1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.29@240121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-14 16:44:37 +00:00
Leif Madsen
e93cfdbedc Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.29-rc1@238567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4.29-rc1
2010-01-08 13:32:59 +00:00
Leif Madsen
e02878a2e1 Importing release summary for 1.4.29-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.29-rc1@238566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-08 13:32:55 +00:00
Leif Madsen
9d1a35f5d3 Importing files for 1.4.29-rc1 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.29-rc1@238565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-08 13:32:51 +00:00
Leif Madsen
942d4fd305 Creating tag for the release of asterisk-1.4.29-rc1
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.29-rc1@238564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-08 13:31:53 +00:00
David Vossel
fed58bd1d6 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
2010-01-07 20:14:25 +00:00
David Vossel
a6bc57fe40 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
2010-01-07 20:06:00 +00:00
Tilghman Lesher
b2dc944264 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
2010-01-06 21:41:55 +00:00
Russell Bryant
d8cf7e6003 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
2010-01-06 15:18:22 +00:00
Russell Bryant
e91967f383 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
2010-01-05 17:13:28 +00:00
Tilghman Lesher
6dd970ce9b 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
2010-01-04 21:45:46 +00:00
Tilghman Lesher
5971279916 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
2010-01-04 20:57:35 +00:00
Tilghman Lesher
2418c3fe1e 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
2010-01-04 18:19:00 +00:00
Tilghman Lesher
30dda27b8a 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
2010-01-04 16:18:59 +00:00
Olle Johansson
789554011a 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
2010-01-02 09:52:30 +00:00
Tilghman Lesher
e943496e84 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
2009-12-30 21:57:10 +00:00
Jeff Peeler
09b640d157 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
2009-12-30 20:25:11 +00:00
Sean Bright
f1e72bf7c7 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
2009-12-28 15:12:08 +00:00
Sean Bright
3d20d25e4c 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
2009-12-28 12:43:36 +00:00
Tilghman Lesher
41db2479de 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
2009-12-27 18:19:38 +00:00
Kevin P. Fleming
229850eaca 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
2009-12-26 15:26:17 +00:00
Matthew Nicholson
77c0c82575 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
2009-12-23 15:21:28 +00:00
Tilghman Lesher
b317f3ce7f 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
2009-12-23 02:55:24 +00:00
David Vossel
af1319f400 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
2009-12-22 16:58:19 +00:00
Jeff Peeler
7c1c1ffa82 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
2009-12-21 19:43:41 +00:00
Tilghman Lesher
66b2f4192a 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
2009-12-21 16:45:03 +00:00
Tilghman Lesher
fa481dec38 Revise verbiage, per #asterisk-dev discussion
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-18 22:39:30 +00:00
Jeff Peeler
8291fb5083 Correct CDR dispositions for BUSY/FAILED
This patch is simple in that it reorders the disposition defines so that the fix
for issue 12946 works properly (the default CDR disposition was changed to
AST_CDR_NOANSWER). Also, the AST_CDR_FLAG_ORIGINATED flag was set in ast_call to
ensure all CDR records are written.

The side effects of CDR changes are scary, so I'm documenting the test cases
performed to attempt to catch any regressions. The following tests were all
performed using 1.4 rev 195881 vs head (235571) + patch:

A calls B
C calls B (busy)
Hangup C
Hangup A

(Both SIP and features)
A calls B
A blind transfers to C
Hangup C

(Both SIP and features)
A calls B
A attended transfers to C
Hangup C

A calls B
A attended transfers to C (SIP)
C blind transfers to A (features)
Hangup A

All of the test scenario CDRs matched.

The following tests were performed just with the patch to ensure proper operation
(with unanswered=yes):

exten =>s,1,Answer
exten =>s,n,ResetCDR(w)
exten =>s,n,ResetCDR(w)

exten =>s,1,ResetCDR(w)
exten =>s,n,ResetCDR(w)

(closes issue #16180)
Reported by: aatef
Patches: 
      bug16180.patch uploaded by jpeeler (license 325)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-18 22:29:51 +00:00
Tilghman Lesher
e43b231647 Point to the typical missing package, not the cryptic "termcap support".
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-18 21:18:16 +00:00
Tilghman Lesher
b31263e5b9 Use context from which Macro is executed, not macro context, if applicable.
Also, ensure that the extension COULD match, not just that it won't match more.
(closes issue #16113)
 Reported by: OrNix
 Patches: 
       20091216__issue16113.diff.txt uploaded by tilghman (license 14)
 Tested by: OrNix


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-17 17:17:51 +00:00
Jared Smith
2594e9891a Add a line showing that we can use CIDR notation.
patch by jsmith, after discussion with jtodd


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-15 21:07:55 +00:00
Tilghman Lesher
d7d29ea864 Mandatory argument checking
(closes issue #16446)
 Reported by: nicchap


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@235052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-15 15:29:24 +00:00
Tilghman Lesher
44ffc646b3 Deal with the situation where .flavor exists but .version does not.
Also make the script slightly more portable, in keeping with autoconf syntax.
(closes issue #14737)
 Reported by: davidw


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-14 21:09:56 +00:00
Leif Madsen
33d128738c Update IMAP build documentation.
Update the IMAP build documentation to show how to build on 64-bit
platforms.


(issue #16433)
Reported by: shrift
Tested by: lmadsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-14 17:05:01 +00:00
Olle Johansson
a3c42b73de Stop sending 183's after call hangup.
There where still cases where the 183 keep-alive mechanism would not stop
sending 183's even though the Asterisk server had sent a final reply to
the invite.

EDVX-28


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-14 10:16:00 +00:00
Jeff Peeler
d97debdbf5 Fix talking detection status after conference user is muted.
This patch ensures that when a conference user is muted that the accompanying
AMI Meetme talking off event is sent. Also, the meetme list output is updated
to show the muted user as unmonitored.

(closes issue #16247)
Reported by: dimas
Patches: 
      v3-16247.patch uploaded by dimas (license 88)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-11 22:37:21 +00:00
Jason Parker
cda2ce4d60 Fix unselecting of menuselect options via GLOBAL_MAKEOPTS and USER_MAKEOPTS.
(closes issue #16296)
Reported by: abelbeck
Patches:
      issue16296-20091210.diff uploaded by qwell (license 4)
(abelbeck described a fix, which I expanded upon)
Tested by: abelbeck, qwell, lmadsen


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-10 20:58:09 +00:00
Tilghman Lesher
bd6cde63d3 When we receive no response at all to our INVITE, allow the channel to be destroyed.
(closes issue #15627)
 Reported by: falves11
 Patches: 
       20091209__issue15627__1.6.0.diff.txt uploaded by tilghman (license 14)
       20091209__issue15627__1.4.diff.txt uploaded by tilghman (license 14)
 Tested by: falves11
Review: https://reviewboard.asterisk.org/r/446/
(closes issue #15716)
Reported by: dant
(closes issue #16270)
Reported by: corruptor
(closes issue #15356)
Reported by: falves11
(issue #16382)
Reported by: lftsy


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-10 16:08:20 +00:00
Leif Madsen
bee22ddbec Update chan_spy documentation.
Update the documentation in ChanSpy and ExtenSpy to reflect that only a
single group can be specified to the g() option.

(closes issue #16420)
Reported by: diatonic

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-10 15:49:12 +00:00
Russell Bryant
b11d227e7e Fix breakage of the "module load <module>" CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-09 19:58:46 +00:00
Russell Bryant
4dfd9d4800 Set a module load priority for format modules.
A recent change to app_voicemail made it such that the module now assumes that
all format modules are available while processing voicemail configuration.
However, when autoloading modules, it was possible that app_voicemail was
loaded before the format modules. Since format modules don't depend on
anything, set a module load priority on them to ensure that they get loaded
first when autoloading.

This version of the patch is specific to Asterisk 1.4 and 1.6.0.  These versions
did not already support module load priority in the module API.  This adds a
trivial version of this which is just a module flag to include it in a pass before
loading "everything".

Thanks to mmichelson for the review!

(closes issue #16412)
Reported by: jiddings
Tested by: russell

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-09 15:14:21 +00:00
Atis Lezdins
a52e302427 Merged revisions 233577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233577 | atis | 2009-12-08 01:10:13 +0200 (Tue, 08 Dec 2009) | 8 lines
  
  Fix compatibility with valgrind 3.3 and older.
  
  (noticed in issue #16388)
  Reported by: parisioa
  Patches:
      valgrind.supp uloaded by atis (license 242)
  Tested by: atis, parisioa
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-08 00:02:43 +00:00
David Vossel
75b2fba708 hex escape control and non 7-bit clean characters in uri_encode
In ast_uri_encode, non 7-bit clean characters were being hex escaped
correctly, but control characters were not. 

(issue #16299)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 23:24:59 +00:00
David Vossel
55e6ac62e9 fixes missing Contact header angle brackets
(closes issue #16298)
Reported by: mgernoth
Patches:
      reg_parse_issue_1.4.diff uploaded by dvossel (license 671)
Tested by: dvossel



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 18:07:38 +00:00
Matthew Nicholson
6bf84d94b7 Allow SDP packets with only video session information.
(closes issue #16387)
Reported by: zalex1953
Tested by: mnicholson, zalex1953



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 16:11:16 +00:00
David Vossel
adc47c1cce clarify requirecalltoken option in iax.sample.conf
(closes issue #16223)
Reported by: bklang
Patches:
      clarify-iax-requirecalltoken.patch uploaded by bklang (license 919)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 21:54:01 +00:00
David Vossel
6efb416d91 document and rename strip_control() in app_voicemail
(closes issue #16291)
Reported by: wdoekes



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:21:34 +00:00
Russell Bryant
a10f93404d Only do frame payload check for HOLD frames.
This code was added for helping to debug the source of invalid HOLD frames.
However, a side effect of this is that it will incorrectly report errors for
frames that have an integer payload.  Make the check for this block specific
to the HOLD frame case.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:12:47 +00:00
Matthias Nick
2e6e7dcdc2 Parse global variables or expressions in hint extensions
Parse global variables or expressions in hint extensions. Like: exten => 400,hint,DAHDI/i2/${GLOBAL(var)}

(closes issue #16166)
Reported by: rmudgett
Tested by: mnick, rmudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 16:59:21 +00:00
Matthias Nick
5bcec8ad6c Warning message gets displayed only once
Added additional field 'int display_inband_dtmf_warning', which when set to '1' displays the warning ('Inband DTMF is not supported on codec %s. Use RFC2833'), and when set to '0' doesn't display the warning. Otherwise you would get hundreds of warnings every second.

(closes issue #15769)
Reported by: falves11
Patches:
	patch_15769_14.txt uploaded by mnick (license 874)
Tested by: mnick, falves11



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 15:17:03 +00:00