AgeCommit message (Collapse)AuthorFilesLines
2011-02-24Use autotagged externalsv1.6.2.18-rc1lmadsen0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/ f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-24Importing release summary for release.lmadsen2-0/+977
git-svn-id: http://svn.digium.com/svn/asterisk/tags/ f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-24Importing files for release.lmadsen3-0/+29986
git-svn-id: http://svn.digium.com/svn/asterisk/tags/ f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-23Creating tag for the release of asterisk-
git-svn-id: http://svn.digium.com/svn/asterisk/tags/ f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-22Add HTTP URI log, use ast_debug for console logginglathama1-3/+3
Guessed the log levels based on info that level 3 is the soft roof. Can we create a page / document to define the levels? git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@308528 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-21Merged revisions 308413 via svnmerge from mnicholson1-27/+21
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r308413 | mnicholson | 2011-02-21 08:57:15 -0600 (Mon, 21 Feb 2011) | 5 lines Properly check the bounds of arrays when decoding UDPTL packets. Also, remove broken support for receiving UDPTL packets larger than 16k. That shouldn't ever happen anyway. AST-2011-002 FAX-281 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@308414 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-19Add CSS MIME Typelathama1-0/+1
Modern browsers are checking for the MIME Type of pages and in some cases will not load a file if the type is wrong. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@308329 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-15Merged revisions 308002 via svnmerge from qwell1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r308002 | qwell | 2011-02-15 17:32:20 -0600 (Tue, 15 Feb 2011) | 10 lines Fix regression that changed behavior of queues when ringing a queue member. This reverts r298596, which was to fix a highly bizarre and contrived issue with a queue member that called into his own queue being transferred back into his own queue. I couldn't reproduce that issue in any way. I think one of the other recent transfer fixes actually fixed this. (closes issue #18747) Reported by: vrban ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@308007 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-15Need to retrieve the rows affected before using the associated variable.tilghman1-1/+4
(closes issue #18795) Reported by: irroot Patches: 20110211__issue18795.diff.txt uploaded by tilghman (license 14) Tested by: tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307836 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-14Increment usage count at first reference, to avoid a race condition with ↵tilghman1-3/+8
many threads creating connections all at once. (issue #18156) Reported by: asgaroth Patches: 20110214__issue18156.diff.txt uploaded by tilghman (license 14) Tested by: tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307792 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-11Merged revisions 307623 via svnmerge from rmudgett1-4/+82
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r307623 | rmudgett | 2011-02-10 18:29:17 -0600 (Thu, 10 Feb 2011) | 13 lines Reentrancy problem if outgoing call gets different B channel than requested. The chan_dahdi pri_fixup_principle() routine needs to protect the Asterisk channel with the channel lock when it changes the technology private pointer to a new private structure. * Added lock protection while pri_fixup_principle() moves a call from one private structure to another. * Made some pri_fixup_principle() messages more meaningful. Partial backport from v1.8 -r300714. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307624 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-10Merged revisions 307534 via svnmerge from qwell2-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r307534 | qwell | 2011-02-10 16:33:09 -0600 (Thu, 10 Feb 2011) | 8 lines Remove color when executing commands via a remote console. Essentially this makes '-x' imply '-n' on rasterisk. This was done in a different and incomplete way previously, which I'm reverting here. (issue #18776) Reported by: alecdavis ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307535 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-09Disable color during running testlathama1-1/+1
(closes issue #18776) Reported by: alecdavis Patches: ast_deb_init.diff uploaded by lathama (license 1028) Tested by: andrel, lathama git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307316 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-09Make sure to set parking dial context for non-default parking lots.jpeeler1-1/+1
Since parking_con_dial isn't settable, set all parking lots to "park-dial". (closes issue #17946) Reported by: bluecrow76 Patches: asterisk-1.8.0-beta4-multipark-fixes-2010SEP02.diff uploaded by bluecrow76 (license 270) modified by me git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@307227 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-08Merged revisions 306972 via svnmerge from twilson1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306972 | twilson | 2011-02-08 12:05:13 -0800 (Tue, 08 Feb 2011) | 2 lines Fix comparison for REFER Replaces tags with pedantic=yes ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306973 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-08Merged revisions 306965 via svnmerge from jpeeler1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306965 | jpeeler | 2011-02-08 13:40:58 -0600 (Tue, 08 Feb 2011) | 1 line fix this line again ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306966 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-08Merged revisions 306960 via svnmerge from jpeeler1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306960 | jpeeler | 2011-02-08 13:18:50 -0600 (Tue, 08 Feb 2011) | 9 lines Backup file storing message duration is not used with IMAP_STORAGE, remove code. The message duration is stored in the body of the email when using IMAP_STORAGE, so nothing needs to happen with the backup file. (closes issue #18718) Reported by: kerframil ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306961 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-08Merged revisions 306864 via svnmerge from jpeeler1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306864 | jpeeler | 2011-02-08 10:19:17 -0600 (Tue, 08 Feb 2011) | 1 line make this safer and fully correct, pointed out by Steve Davis ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306865 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-07Merged revisions 306672 via svnmerge from twilson1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306672 | twilson | 2011-02-07 14:35:20 -0800 (Mon, 07 Feb 2011) | 10 lines Don't try to pickup a call in the middle of a masquerade If A calls B which doesn't answer and C & D both try to do a call pickup, it is possible for ast_pickup_call to answer the call, then fail to masquerade one of the calls because the other one is already in the process of masquerading. This patch checks to see if the channel is in the process of masquerading before call before selecting it for a pickup. Review: https://reviewboard.asterisk.org/r/1094/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306673 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-07Merged revisions 306617 via svnmerge from twilson1-1/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306617 | twilson | 2011-02-07 13:51:43 -0800 (Mon, 07 Feb 2011) | 10 lines Don't allow a REFER w/replaces to replace its own dialog Asterisk currently accepts a REFER with a Refer-To with an embedded Replaces header that matches the dialog of the REFER. This would be a situation like A calls B, A calls C, A transfers B to A, which is just silly. This patch makes the transfer fail instead of making Asterisk freak out and forget to hang other channels up. Review: https://reviewboard.asterisk.org/r/1093/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306618 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-04Don't fallthrough to 'unknown' in the 'ringing' case.qwell1-0/+1
This could cause improper exits from the queue. (closes issue #18499) Reported by: zaltar Patches: app_queue.patch uploaded by zaltar (license 1148) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306346 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03Merged revisions 306119 via svnmerge from twilson1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r306119 | twilson | 2011-02-03 12:36:34 -0800 (Thu, 03 Feb 2011) | 9 lines Set hangup cause in local_hangup When a call involves a local channel (like SIP -> Local -> SIP), the hangup cause was not being set. This resulted in SIP channels sometimes getting a 503 error instead of a 486 when the far side sent a busy. In Asterisk 1.8+ this also can cause issues with CCSS that involve a local channel. This patch sets the hangupcause for one side of the local channel to the other in local_hangup for outbound calls. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306126 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03Set exception on channel in parking thread when POLLPRI event detected.jpeeler1-1/+1
This is done just to make the code be equivalent to the old select code. As noted in 303106 the same issue was already fixed in this branch, but the exception was not set on the channel in the case of POLLPRI. The reason that this did not cause a problem here is because in 122923 the check in __ast_read to check the exception flag was removed. (related to #18637) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@306123 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03res_phoneprov add snom 300, 320, 360, 370, 820, 821, 870 supportlathama2-0/+27
(issue #18713) Reported by: lathama Patches: snom_dir.diff uploaded by lathama (license 1028) Tested by: lathama git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305985 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-03Merged revisions 305888 via svnmerge fromrmudgett4-7/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r305888 | rmudgett | 2011-02-02 18:02:43 -0600 (Wed, 02 Feb 2011) | 8 lines Minor AST_FRAME_TEXT related issues. * Include the null terminator in the buffer length. When the frame is queued it is copied. If the null terminator is not part of the frame buffer length, the receiver could see garbage appended onto it. * Add channel lock protection with ast_sendtext(). * Fixed AMI SendText action ast_sendtext() return value check. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305889 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-02Replace link to old doc with new wiki page.lathama1-3/+3
Link to https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305752 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-01SIP Configuration Documentationlathama1-1/+2
sip show settings reports qualifyfreq in milliseconds. sip.conf configures qualifyfreg in seconds. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305648 f38db490-d61c-443f-a65b-d21fe96a405b
2011-02-01Merged revisions 305471 via svnmerge from qwell1-0/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r305471 | qwell | 2011-02-01 11:00:55 -0600 (Tue, 01 Feb 2011) | 9 lines Close file descriptor for timing source when a MOH class gets destroyed. (closes issue #18457) Reported by: mcallist Patches: 18457-closetimer.diff uploaded by qwell (license 4) 18457-closetimer_trunk.diff uploaded by qwell (license 4) Tested by: qwell, loloski ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305472 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-31Merged revisions 305341 via svnmerge from rmudgett1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r305341 | rmudgett | 2011-01-31 17:45:58 -0600 (Mon, 31 Jan 2011) | 7 lines Obtain the pri lock for PRI queue counters. Need to obtain the pri lock when calling pri_dump_info_str() to avoid a reentrancy problem when calculating the Q.921 Q count statistic. JIRA AST-484 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305342 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-31Merged revisions 305252 via svnmerge from qwell2-1/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r305252 | qwell | 2011-01-31 16:56:54 -0600 (Mon, 31 Jan 2011) | 10 lines Prevent a crash when dialing a technology with no destination (ex: Dial(SIP/)) chan_iax2 and other channel drivers already had code to prevent this. The attempt that app_dial was making to prevent it was not correct, so I fixed that. (closes issue #18371) Reported by: gbour Patches: 18371.patch uploaded by gbour (license 1162) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305253 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-31Merged revisions 305129 via svnmerge from qwell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r305129 | qwell | 2011-01-31 14:56:25 -0600 (Mon, 31 Jan 2011) | 2 lines Set file descriptors to -1 on creation, so that we don't see weirdness later. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305130 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-31Asterisk HTTP response Content-typelathama1-0/+8
Address content type for BSD and other platforms (closes issue #18456) Reported by: alexo Patches: asterisk18_http.patch uploaded by alexo (license 1175) Tested by: alexo git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@305082 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-31Merged revisions 304952 via svnmerge from tilghman1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304952 | tilghman | 2011-01-31 00:54:45 -0600 (Mon, 31 Jan 2011) | 2 lines Fix compilation when ODBC_STORAGE is defined. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304978 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-29Plug some memory leaks in the LDAP realtime driver.seanbright1-2/+4
(closes issue #18435) Reported by: zaltar Patches: res_config_ldap.patch uploaded by zaltar (license 1148) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304865 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-29If we fail to allocate our announcement objects, make sure we don't leak ↵seanbright1-2/+2
objects. The majority of this patch was committed already in r304726 and r304729. (issue #18225) Reported by: kenji (issue #18444) Reported by: junky (closes issue #18343) Reported by: kobaz Patches: meetme-refs.diff uploaded by kobaz (license 834) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304776 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-29When we pass the S() or L() options to MeetMe, make sure that we honor C as ↵seanbright1-0/+10
well. Without this patch, if the user was kicked from the conference via the S() or L() mechanism, we would just hang up on them even if we also passed C (continue in dialplan when kicked). With this patch we honor the C flag in those cases. (closes issue #17317) Reported by: var git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304773 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-29Make sure that we unref the correct object when ejecting the most recent caller.seanbright1-2/+2
Currently, when we kick the last user to enter, we decrement our own reference count which results in a crash when we kick another user or when we exit the conference ourselves. This will fix #18225 in 1.8 and trunk, but that particular bug does not exist in 1.6.2. (closes issue #18225) Reported by: kenji Patches: issue18225.patch uploaded by seanbright (license 71) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304729 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-29Fix user reference leak in MeetMe.seanbright1-3/+3
We were unlinking the user from the conferences user container, but not decrementing the reference count of the user as well, resulting in a leak. (closes issue #18444) Reported by: junky Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304726 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-28Revert part of the previous commit that snuck in.seanbright1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304682 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-28Don't leak references if we can't create a pseudo channel for mixing in MeetMe.seanbright1-1/+12
If there was a problem allocating a pseudo channel when building our meetme, we weren't destroying our user container or destroying the mutexes that we created. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304659 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-27Merged revisions 304464 via svnmerge from qwell2-6/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304464 | qwell | 2011-01-27 10:57:46 -0600 (Thu, 27 Jan 2011) | 9 lines Fix default prefix=/usr regression on non-Linux systems. This partially reverts a change made in branches/1.4/ r267759, which will cause issue #17013 to be reopened. This issue was pointed out by a user on #asterisk, who helpfully discovered that paths were being set incorrectly. To truly understand what was wrong, one should run: svn diff --force -c<this revision> configure ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304465 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-27Merged revisions 304460 via svnmerge from qwell1-427/+368
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304460 | qwell | 2011-01-27 10:47:03 -0600 (Thu, 27 Jan 2011) | 1 line Rerun bootstrap.sh with no changes, so that it is more obvious what my next commit changes. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304461 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Change delimiter used internally for GOTO_ON_BLINDXFR to commas to match 76703.jpeeler1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304338 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Merged revisions 304242 via svnmerge from mmichelson1-5/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304242 | mmichelson | 2011-01-26 14:38:37 -0600 (Wed, 26 Jan 2011) | 3 lines Get rid of unused 'verbose' field in ast_udptl ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304250 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Merged revisions 304247 via svnmerge from mnicholson0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304247 | mnicholson | 2011-01-26 15:00:15 -0600 (Wed, 26 Jan 2011) | 2 lines Convert from network to host byte ordering before checking if an IP is a multicast address. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304249 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Merged revisions 304241 via svnmerge from mnicholson1-0/+193
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304241 | mnicholson | 2011-01-26 14:38:22 -0600 (Wed, 26 Jan 2011) | 6 lines This patch modifies chan_sip to route responses to the address the request came from. It also modifies chan_sip to respect the maddr parameter in the Via header. ABE-2664 Review: https://reviewboard.asterisk.org/r/1059/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304244 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Merged revisions 304159 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304159 | seanbright | 2011-01-26 15:18:29 -0500 (Wed, 26 Jan 2011) | 1 line Make sure the sample queues.conf is properly commented. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304181 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Merged revisions 304148 fromrmudgett1-3/+4
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier .......... r304148 | rmudgett | 2011-01-26 13:23:46 -0600 (Wed, 26 Jan 2011) | 2 lines Update documentation for DAHDISendCallreroutingFacility() application. .......... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304149 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-26Per the man page, setvbuf() must be called before any other operation on an ↵seanbright1-5/+5
open file. We use setvbuf() to associate a buffer with a stream, but we have already written to the open file. This works (by chance) on Linux, but fails on other platforms, such as OpenSolaris. (closes issue #16610) Reported by: bklang Patches: setvbuf.patch uploaded by crjw (license 963) Tested by: bklang, asgaroth, efutch git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304096 f38db490-d61c-443f-a65b-d21fe96a405b
2011-01-25Merged revisions 304005 via svnmerge from rmudgett1-3/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304005 | rmudgett | 2011-01-25 17:21:09 -0600 (Tue, 25 Jan 2011) | 8 lines DTMF attended transfers sometimes fail for no apparent reason. The loop in feature_request_and_dial() can exit when Party C has answered without processing an AST_CONTROL_ANSWER. Also sometimes an AST_CONTROL_ANSWER never happens even though Party C has answered. Don't hangup Party C if he is up or we receive an AST_CONTROL_ANSWER. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@304006 f38db490-d61c-443f-a65b-d21fe96a405b