summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-11Add a minor loop optimization to the custom device state callback. Once theRussell Bryant
correct device is found, it should just break out of the loop ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11Merged revisions 61427 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r61427 | russell | 2007-04-11 10:09:39 -0500 (Wed, 11 Apr 2007) | 14 lines Merged revisions 61426 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) | 6 lines Fix a bug with switching between host=dynamic and using specific hosts for peers. The code would only reset the peer's address when it is dynamic if it was a new peer structure. Now, it will also reset the address if it was already in the peer list, but before the reload, it was not dynamic. (issue #9515, reported by caio1982, fixed by me) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11Merged revisions 61407 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r61407 | russell | 2007-04-11 09:48:01 -0500 (Wed, 11 Apr 2007) | 4 lines Add "svgz" to the mimetypes table. (issue #9510, bkruse) In passing, constify the elements of the mimetypes table. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11Merged revisions 61377 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r61377 | russell | 2007-04-11 09:04:44 -0500 (Wed, 11 Apr 2007) | 13 lines Merged revisions 61376 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) | 5 lines Remove the attempt at reporting configuration errors in sip.conf. This can cause a bunch of improper messages when using realtime. I give up. As oej tried to convince me when I put this in, there is just no easy way to do it. (inspired by a message on the -dev list) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11via 8119, a patch to allow voicemail data to be stored in RealTime.Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11Remove duplicate prototype declaration. (issue #9517 reported by junky)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11via 8118, a RealTime upgrade to make RT a complete storage abstraction. The ↵Steve Murphy
store/destroy mechanisms needed these missing peices. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Issue 6082 - New DTMF event for managerTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Added zapata.conf parameter "cid_rxgain" to allow the user to adjust the ↵Doug Bailey
gain bump used during CID acquisition. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Note the bridge manager action and application in the CHANGES file.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Merge changes from team/russell/issue_5841:Russell Bryant
This patch adds a "Bridge" Manager action, as well as a "Bridge" dialplan application. The manager action will allow you to steal two active channels in the system and bridge them together. Then, the one that did not hang up will continue in the dialplan. Using the application will bridge the calling channel to an arbitrary channel in the system. Whichever channel does not hang up here will continue in the dialplan, as well. This patch has been touched by a bunch of people over the course of a couple years. Please forgive me if I have missed your name in the history of things. The most recent patch came from issue #5841, but there is also a reference to an earlier version of this patch from issue #4297. The people involved in writing and/or reviewing the code include at least: twisted, mflorrel, heath1444, davetroy, tim_ringenbach, moy, tmancill, serge-v, and me. There are also positive test reports from many people. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Add an option to the dial API for playing music instead of ringing to the ↵Russell Bryant
caller. I started this for use with SLA but ended up deciding not to use it. However, there is no reason not to put this part in, anyway. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Blocked revisions 61220 via svnmergeRussell Bryant
........ r61220 | russell | 2007-04-10 11:05:55 -0500 (Tue, 10 Apr 2007) | 5 lines File upload support was added to solve some needs for the Asterisk GUI. However, after much discussion, it has been decided that adding this to 1.4 is not in the best interests of the project. It has been removed here, but will remain in trunk. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10updated ast_channel_alloc() call to include the 4 extra args everyone got. ↵Steve Murphy
Not much info there, as the config file evidently does not allow amaflags, or accountcode settings; and the pvt's exten doesn't sound like what we need in the cdr, either. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Merged revisions 61183 via svnmerge from Nadi Sarrar
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r61183 | nadi | 2007-04-10 14:43:40 +0200 (Di, 10 Apr 2007) | 10 lines Merged revisions 61170 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61170 | nadi | 2007-04-10 14:31:45 +0200 (Di, 10 Apr 2007) | 2 lines msns config parameter defaults to '*' ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10Merged revisions 60989 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered. This also adds the mods from 1.4/r.61136; ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Remove unused instances of unnamed enums.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 61072 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r61072 | oej | 2007-04-09 21:58:17 +0200 (Mon, 09 Apr 2007) | 11 lines Merged revisions 61038 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines - Don't send ActionID before Response: header. - Don't use a blank in an AMI header ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 61070 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r61070 | kpfleming | 2007-04-09 14:55:14 -0500 (Mon, 09 Apr 2007) | 2 lines fix up some warnings found using --enable-dev-mode ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 61062 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r61062 | kpfleming | 2007-04-09 14:49:09 -0500 (Mon, 09 Apr 2007) | 2 lines remove some more stuff we don't need ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Blocked revisions 61042,61044 via svnmergeRussell Bryant
........ r61042 | russell | 2007-04-09 14:40:29 -0500 (Mon, 09 Apr 2007) | 2 lines Remove various files that I thought I already removed. ........ r61044 | russell | 2007-04-09 14:41:04 -0500 (Mon, 09 Apr 2007) | 2 lines Remove another directory that should no longer be there ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 61022 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r61022 | qwell | 2007-04-09 14:05:48 -0500 (Mon, 09 Apr 2007) | 4 lines Use the appropriate interface name with COMPLETECALLER. Issue 9395. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Add hint to ExtensionStatus AMI event in managerOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09use "ChannelType" in events to indicate which channel driver that generates ↵Olle Johansson
the event. This replaces "ChannelDriver" and "Channel", previously used to indicate channel driver. ChannelType is more in line with "core show channeltypes" git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Fix JabberEventsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Fix missing newline in JabberEventOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 60936 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60936 | qwell | 2007-04-09 12:22:59 -0500 (Mon, 09 Apr 2007) | 13 lines Merged revisions 60935 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines Allow matching on names shorter than 3 chars. This also fixes the case where somebody wants to match on less then 3 chars. Issue 9071 ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09updated UPGRADE.txt to include format_wav changesDwayne M. Hubbard
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Make RTP session ID and session version generation random. (issue #9456 ↵Joshua Colp
reported by tjardick) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 60850 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60850 | tilghman | 2007-04-08 22:01:12 -0500 (Sun, 08 Apr 2007) | 10 lines Merged revisions 60849 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007) | 2 lines Don't check for error when lowering priority (according to the manpage, it should never happen anyway). It might could happen, though, if another thread messed with the priority, so safeguard against that (reported via -dev list). ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 60847 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60847 | tilghman | 2007-04-08 21:42:48 -0500 (Sun, 08 Apr 2007) | 10 lines Merged revisions 60846 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08 Apr 2007) | 2 lines Bug 9505 - If the return value for local_queue_frame is set, then p->lock is no longer valid. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Merged revisions 60798 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60798 | file | 2007-04-08 21:03:14 -0400 (Sun, 08 Apr 2007) | 10 lines Merged revisions 60797 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09Add counter for sip show registry CLI command. (issue #9352 reported by junky)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08Merged revisions 60762 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60762 | file | 2007-04-08 13:04:44 -0400 (Sun, 08 Apr 2007) | 2 lines Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08Merged revisions 60713 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60713 | tilghman | 2007-04-08 09:14:29 -0500 (Sun, 08 Apr 2007) | 10 lines Merged revisions 60711 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08Merged revisions 60712 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60712 | tilghman | 2007-04-08 09:12:00 -0500 (Sun, 08 Apr 2007) | 2 lines Fix --enable-dev-mode ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08Blocked revisions 60709 via svnmergeTilghman Lesher
........ r60709 | tilghman | 2007-04-08 08:45:24 -0500 (Sun, 08 Apr 2007) | 2 lines Off by one error, resulting in a crash (Issue 9500) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08Merged revisions 60661 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60661 | tilghman | 2007-04-07 20:40:47 -0500 (Sat, 07 Apr 2007) | 10 lines Merged revisions 60660 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines Bug 9486 - memory leak when opening a filestream ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06removed GAIN preprocessor definition, removed needsgain from struct ↵Dwayne M. Hubbard
wav_desc, removed unnecessary gain code from wav_read() and wav_write() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Filter out -Wundef so that the automatically generated C files will compile ↵Russell Bryant
cleanly git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Remove a bunch of files that weren't supposed to get added.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60603 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines To be able to achieve the things that we would like to achieve with the Asterisk GUI project, we need a fully functional HTTP interface with access to the Asterisk manager interface. One of the things that was intended to be a part of this system, but was never actually implemented, was the ability for the GUI to be able to upload files to Asterisk. So, this commit adds this in the most minimally invasive way that we could come up with. A lot of work on minimime was done by Steve Murphy. He fixed a lot of bugs in the parser, and updated it to be thread-safe. The ability to check permissions of active manager sessions was added by Dwayne Hubbard. Then, hacking this all together and do doing the modifications necessary to the HTTP interface was done by me. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60565 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines When a station picks up a trunk that was on hold, make the hints reflect that nobody has the trunk on hold anymore. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Use the same parameter to the two "Registry" AMI events - ChannelDriverOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60521 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60521 | russell | 2007-04-06 13:58:46 -0500 (Fri, 06 Apr 2007) | 16 lines Fix a few problems with SLA. (issue #9459, reported by francesco_r, fixed by me) * The original behavior was that if one station put a call on hold, another one picked it up, and then hung up, the code would still consider the call on hold by the first station, so the trunk would not be hung up. However, to better comply with what most people seem to expect it to behave, it will now hang up the trunk. * Fix a problem with "barge=no". This was only intended to prevent people from joining calls that are in progress. However, it also prevented other people from picking up a call that was on hold. This has been fixed. * When there are no active stations on a trunk and it is on hold, the code now indicates the HOLD and UNHOLD conditions to the trunk channel. This allows music on hold to be played to the trunk when it is on hold. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60485 via svnmerge from Matthew Fredrickson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60485 | mattf | 2007-04-06 13:21:52 -0500 (Fri, 06 Apr 2007) | 2 lines Make sure we check the faxdetect option before doing fax processing ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60459 via svnmerge from Matthew Fredrickson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60459 | mattf | 2007-04-06 12:32:31 -0500 (Fri, 06 Apr 2007) | 10 lines Merged revisions 60456 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines There should only be one code path for doing DTMF conditionals on channels. This fixes it. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60399 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r60399 | kpfleming | 2007-04-06 09:49:51 -0500 (Fri, 06 Apr 2007) | 10 lines Merged revisions 60398 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007) | 2 lines remove undocumented 'cardsmode' parameter and stop searching for transcoders during reload() ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Major res_speech cleanup. It looks much better now!Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06Merged revisions 60361 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60361 | file | 2007-04-05 22:14:00 -0300 (Thu, 05 Apr 2007) | 2 lines Add support for returning different types of results (ie: NBest). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60362 65c4cc65-6c06-0410-ace0-fbb531ad65f3