aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-09-1 is interpreted as an error, intead of the maximum mask.tilghman1-1/+1
(closes issue #16241) Reported by: vnovy Patches: manager.c.patch uploaded by vnovy (license 922) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238915 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Stop a crash when no peer is passed to masq_park_call.jpeeler1-1/+1
(distantly related to issue #16406) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238834 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-08Properly calculate the remaining space in the output string when reducing ↵mnicholson1-4/+7
format strings. (closes issue #16560) Reported by: goldwein git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238629 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07fixes crash in "scheduled_destroy" in chan_iaxdvossel1-1/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@238411 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07Change in sip show channels display format allowing more digits for CIDdvossel1-3/+3
(closes issue 0016459) Reported by: Rzadzins Patches: chan_sip_longer_cid.patch uploaded by Rzadzins (license 953) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238409 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Revise documentation on disposition values to the actual values used.tilghman1-4/+5
(closes issue #16289) Reported by: wdoekes git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238230 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06Resolve a crash due to an ast_frame not being fully initialized.russell1-2/+4
(closes issue #16531) Reported by: john8675309 (closes SWP-615) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@238009 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05Change a NOTICE log message to DEBUG where it belongs.russell1-1/+3
(closes issue #16479) Reported by: alexrecarey (closes SWP-577) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@237697 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Bounds checking for input stringtilghman1-25/+25
(closes issue #16407) Reported by: qwell Patches: 20100104__issue16407.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@237573 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Regression in issue #15421 - Pattern matchingtilghman1-22/+20
(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: http://svn.digium.com/svn/asterisk/branches/1.4@237493 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04Add a flag to disable the Background behavior, for AGI users.tilghman3-2/+17
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: http://svn.digium.com/svn/asterisk/branches/1.4@237405 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04It's also possible for the Local channel to directly execute an Application.tilghman1-1/+1
Reviewboard: https://reviewboard.asterisk.org/r/452/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@237318 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-02Release memory of the contact acl before unloading moduleoej1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@237135 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Don't queue frames to channels that have no means to process them.tilghman1-1/+3
(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: http://svn.digium.com/svn/asterisk/branches/1.4@236981 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30Remove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles.jpeeler1-18/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@236890 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-28Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces.seanbright4-19299/+6277
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: http://svn.digium.com/svn/asterisk/branches/1.4@236585 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-28Avoid a crash with large numbers of MeetMe conferences.seanbright1-30/+33
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: http://svn.digium.com/svn/asterisk/branches/1.4@236509 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-27Turn on colors in the daemon, since there's many requests for it on Ubuntu.tilghman1-1/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@236433 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-26update to latest releases with zero uid/gidkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@236357 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23Properly set T.38 attributes and don't return before T.38 ports are ↵mnicholson1-31/+29
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: http://svn.digium.com/svn/asterisk/branches/1.4@236261 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23If EXEC only gets a single argument, don't crash when the second is used.tilghman1-1/+1
(closes issue #16504) Reported by: bklang git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@236184 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-22fixes issue with p->method incorrectly set to ACKdvossel1-2/+9
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: http://svn.digium.com/svn/asterisk/branches/1.4@236062 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-21Change Monitor to not assume file to write to does not contain pathing.jpeeler1-2/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@235940 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-21Send parking lot announcement to the channel which parked the call, not the ↵tilghman1-1/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@235821 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-18Revise verbiage, per #asterisk-dev discussiontilghman2-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@235652 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-18Correct CDR dispositions for BUSY/FAILEDjpeeler2-5/+7
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: http://svn.digium.com/svn/asterisk/branches/1.4@235635 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-18Point to the typical missing package, not the cryptic "termcap support".tilghman2-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@235572 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-17Use context from which Macro is executed, not macro context, if applicable.tilghman1-3/+13
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: http://svn.digium.com/svn/asterisk/branches/1.4@235421 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-15Add a line showing that we can use CIDR notation.jsmith1-0/+1
patch by jsmith, after discussion with jtodd git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@235181 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-15Mandatory argument checkingtilghman1-0/+3
(closes issue #16446) Reported by: nicchap git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@235052 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-14Deal with the situation where .flavor exists but .version does not.tilghman1-1/+12
Also make the script slightly more portable, in keeping with autoconf syntax. (closes issue #14737) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@234699 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-14Update IMAP build documentation.lmadsen1-1/+11
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: http://svn.digium.com/svn/asterisk/branches/1.4@234615 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-14Stop sending 183's after call hangup.oej1-0/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@234492 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-11Fix talking detection status after conference user is muted.jpeeler1-20/+38
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: http://svn.digium.com/svn/asterisk/branches/1.4@234379 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-10Fix unselecting of menuselect options via GLOBAL_MAKEOPTS and USER_MAKEOPTS.qwell1-4/+5
(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: http://svn.digium.com/svn/asterisk/branches/1.4@234255 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-10When we receive no response at all to our INVITE, allow the channel to be ↵tilghman1-3/+7
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: http://svn.digium.com/svn/asterisk/branches/1.4@234095 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-10Update chan_spy documentation.lmadsen1-2/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@234094 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-09Fix breakage of the "module load <module>" CLI command.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233879 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-09Set a module load priority for format modules.russell16-60/+136
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: http://svn.digium.com/svn/asterisk/branches/1.4@233782 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-08Merged revisions 233577 via svnmerge from atis1-6/+6
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: http://svn.digium.com/svn/asterisk/branches/1.4@233618 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-07hex escape control and non 7-bit clean characters in uri_encodedvossel1-1/+1
In ast_uri_encode, non 7-bit clean characters were being hex escaped correctly, but control characters were not. (issue #16299) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233609 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-07fixes missing Contact header angle bracketsdvossel1-1/+3
(closes issue #16298) Reported by: mgernoth Patches: reg_parse_issue_1.4.diff uploaded by dvossel (license 671) Tested by: dvossel git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233471 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-07Allow SDP packets with only video session information.mnicholson1-1/+1
(closes issue #16387) Reported by: zalex1953 Tested by: mnicholson, zalex1953 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233392 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04clarify requirecalltoken option in iax.sample.confdvossel1-1/+2
(closes issue #16223) Reported by: bklang Patches: clarify-iax-requirecalltoken.patch uploaded by bklang (license 919) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233279 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04document and rename strip_control() in app_voicemaildvossel1-3/+9
(closes issue #16291) Reported by: wdoekes git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233116 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04Only do frame payload check for HOLD frames.russell1-3/+3
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: http://svn.digium.com/svn/asterisk/branches/1.4@233092 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04Parse global variables or expressions in hint extensionsmnick1-6/+20
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: http://svn.digium.com/svn/asterisk/branches/1.4@233091 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-04Warning message gets displayed only oncemnick1-1/+6
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: http://svn.digium.com/svn/asterisk/branches/1.4@233014 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-03Deprecate "cz" in favor of "cs".tilghman1-63/+75
Also, change the use of language codes so that language registers as a prefix, rather than an exact match. (closes issue #16272) Reported by: patrol-cz Patches: 20091203__issue16272.diff.txt uploaded by tilghman (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@232820 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-02Send ack (response/message) after receiving manager action usereventjpeeler1-0/+1
(closes issue #16264) Reported by: dimas Patches: event-ack.patch uploaded by dimas (license 88) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@232581 f38db490-d61c-443f-a65b-d21fe96a405b