summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
2008-01-10Several manager changes:Tilghman Lesher
1) Add the Dialplan class, for NewExten and VarSet events, which should cut down on the volume of traffic in the Call class. 2) Permit some commands to be run from multiple classes, such as allowing DBGet to be run from either the System or the Reporting class. 3) Heavily document each class in the sample config, as there were several that made no sense to be in the write= line, and two that made no sense to be in the read= line (since they controlled no permissions there). (Closes issue #10386) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09remove a wrong 'const'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09Two changes:Luigi Rizzo
- support scrolling of message window; - simplify the code for creating a message window, and try it using a second one in the top of the keypad (where we echo the dialed number). The 'skin' that supports these two windows will be committed separately. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09Merged revisions 97489 via svnmerge from Philippe Sultan
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97489 | phsultan | 2008-01-09 17:44:24 +0100 (Wed, 09 Jan 2008) | 7 lines Set the caller id within the gtalk_alloc function. As underlined in issue #10437 by Josh, we need to prevent a possible memory leak. We only set the name part of the caller id, the number part is not relevant when dealing with JIDs. Closes issue #11549. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09Implement keyboard handling, and use it to enterLuigi Rizzo
a number to dial in the 'message' area under the keypad. Now you can make calls using the keypad as a regular phone (or the keyboard for chars not present on the keypad) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09Merged revisions 97448 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97448 | kpfleming | 2008-01-09 09:43:19 -0600 (Wed, 09 Jan 2008) | 2 lines pass the right variable to get an error string... oops ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09Merged revisions 97410 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97410 | kpfleming | 2008-01-09 09:26:23 -0600 (Wed, 09 Jan 2008) | 2 lines add error number output to ioctl failure messages to help with debugging ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09implement the "console startgui" and "console stopgui"Luigi Rizzo
commands so you can start and stop the gui even outside of a call. This is convenient for testing, and also for using the keypad to pick up a call, and to dial a number (the latter not yet implemented, but should be close). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09make get_video_desc() return the active console ifLuigi Rizzo
passed a null argument (channel). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08add copyright (most of this code was written by Marta Carbone),Luigi Rizzo
remove some unused code, add/clarify some comments. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08add support for textareas, used for various dialog windows on the gui.Luigi Rizzo
The main code to implement the textarea is in console_board.c, and uses a simple png image with the font, blitting characters on the designated areas of the main screen. Additionally we provide some annotations in the image used as a skin to indicate which areas are used for text messages. (images will be committed separately). At the moment the dialog area is only used to display a running counter, just as a proof of concept. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08Change reference to external library so it appears on the extref listingOlle Johansson
http://www.asterisk.org/doxygen/trunk/extref.html git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08One line documentation ftw!Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08Merged revisions 97195 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97195 | file | 2008-01-08 16:48:20 -0400 (Tue, 08 Jan 2008) | 6 lines Fix various DTMF issues in chan_mgcp. (closes issue #11443) Reported by: eferro Patches: dtmf_control_hybrid-inband-mode.patch uploaded by eferro (license 337) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08Move common code for setting T38 capabilities and fix a bug with fax ↵Joshua Colp
detection in the SIP RTP read callback. It's still sort of silly... but more on that later. (closes issue #11239) Reported by: dimas Patches: sipt38prop.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08Merged revisions 97077 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97077 | tilghman | 2008-01-08 12:02:13 -0600 (Tue, 08 Jan 2008) | 3 lines Apply multiple crash fixes, found in issue #11386, but not completely closing that issue. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-07add support for cropping the keypad image while displaying it.Luigi Rizzo
This way it can contain additional elements (e.g. fonts, buttons, widgets) without having to use a zillion files to store them. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-07update comments to reflect reality (or at least planned behaviour).Luigi Rizzo
minor code cleanups git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-07resolve a load-time problem avoiding a call to console_do_answer.Luigi Rizzo
On passing, fix dialling from the keypad. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-05Now that the version.h file was getting properly regenerated every time the svnRussell Bryant
revision changed, every module that used the version was getting rebuilt after every svn update. This severly annoyed me pretty quickly, so I have improved the situation. Now, instead of generating version.h, main/version.c is generated. version.c includes the version information, as well as a couple of API calls for modules to retrieve the version. So now, only version.c will get rebuilt, and the main asterisk binary relinked, which is must faster than rebuilding http.c, manager.c, asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ... The only minor change in behavior here is that the version information reported by chan_sip, for example, is the version of the Asterisk core, and not necessarily the Asterisk version that the chan_sip module came from. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-05Add the URL to the home page for portaudio. Also add the location of theRussell Bryant
svn repository to check out portaudio v19. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-05improve chan_usbradio to use indications just like chan_alsa/chan_oss do nowKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-04Merged revisions 96525 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r96525 | tilghman | 2008-01-04 13:27:25 -0600 (Fri, 04 Jan 2008) | 4 lines If you change the bindaddr in sip.conf to a non-bound address and reload, sip goes kablooie. Reported and patched by: one47 (Closes issue #11535) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-04[commit message]Kevin P. Fleming
(closes issue #10393) Reported by: tzafrir Patches: chan_alarm_asterisk.diff uploaded by tzafrir (license 46) (modified by me and added configure script support) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-04Merged revisions 96449 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r96449 | russell | 2008-01-04 10:19:22 -0600 (Fri, 04 Jan 2008) | 7 lines Make use of the temporary channel pointer while the pvt is unlocked. (closes issue #11675) Reported by: flefoll Patches: chan_zap.c.patch-store-owner-before-unlock uploaded by flefoll (license 244) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-03Merged revisions 96394 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r96394 | russell | 2008-01-03 16:44:22 -0600 (Thu, 03 Jan 2008) | 3 lines Don't crash if the iax2 pvt structure has been destroyed before we get to this point (closes issue #11672, reported by snuffy, patched by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-03eliminiate sound_thread() and other stuff from chan_oss since Asterisk ↵Kevin P. Fleming
indications can handle it remove gentone and all the headers containing tones that are no longer needed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-03coding guidelines cleanupKevin P. Fleming
remove background thread and all sound generation mechanisms, as the built-in indications can handle everything that is needed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-03Merged revisions 96198 via svnmerge from Christian Richter
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r96198 | crichter | 2008-01-03 13:08:40 +0100 (Do, 03 Jan 2008) | 1 line when overlapdial was used and no number was dialed, the call was dropped, now we just jump into the s extension, which makes a lot more sense. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Add support for generating a ringing sound on an incoming call. This is a bitRussell Bryant
of a hack. It just asks the core to generate the same tone that it would when you hear ringback when making an outbound call. But hey, it works, and you get the localized ring tone for the appropriate language set on the channel. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Note that this module doesn't actually play a ringing sound for an incoming callRussell Bryant
... oops git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Show the correct CLI command to answer the callRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02actually parse and store echocan parameters from zapata.conf... this ↵Kevin P. Fleming
*should* work <G> git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Add curly braces around a compound if statement so that trunk will build ↵Mark Michelson
properly git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02another checkpoint... chan_zap can now use the new ZT_ECHOCAN_PARAMS ioctl ↵Kevin P. Fleming
if it is present, but doesn't parse any supplied parameters yet (this implementation is not very memory efficient as the parameters and their values will be duplicated for each channel that has the same settings, but we can worry about that later once it is working) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to ↵Mark Michelson
AST_STANDARD_APP_ARGS(foo, bar) (closes issue #11668, reported and patched by mvanbaak) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02Merged revisions 95946 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r95946 | file | 2008-01-02 16:24:09 -0400 (Wed, 02 Jan 2008) | 4 lines Allocate a SIP refer structure when performing a transfer using BYE with Also so that the transfer information is properly stored. (AST-2008-001) (closes issue #11637) Reported by: greyvoip ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02clean up hwgain CLI command and improve docs for swgain CLI commandKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02umm... this did not compile on x86-64, and could not possibly have worked on ↵Kevin P. Fleming
any platform as it was passing string pointers to a function expecting ints git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02fix some long-time breakage that kept chan_misdn from being embeddedKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02use the proper technique for including submodules so that embedding will workKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-01call directly the cli command to implement hangup.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-01prevent a panic when destroying a channel with no incoming video.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-01remove a leftover sleep(1) used for debuggingLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31Update chan_console to natively use a 16 kHz sample rate. If it is talkingRussell Bryant
to an 8 kHz endpoint, then codec_resample will automatically be used to properly resample the audio before sending it to/from chan_console. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31Merge the main set of changes from team/russell/chan_console.Russell Bryant
Add a new console channel driver, chan_console, which is a console channel driver that uses portaudio as a cross platform audio interface. It was written to provide a console channel driver that works with Mac CoreAudio, but it supports a number of other audio interfaces, as well, including OSS and ALSA. It could one day be the single console channel driver, but does not yet have as many features as chan_oss. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-29Move grabbers definitions to a separate file, vgrabbers.c, so it is easierLuigi Rizzo
to add more entries. This required moving struct grab_desc to the common header, and adding an entry in the Makefile. On passing, cleanup some comments and file headers (some are still missing). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-29virtualize the interface for video grabbers, which shouldLuigi Rizzo
make it easier to add support for more grabbers (V4L2, firewire, and so on). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-28Add a few entries up to 1408x1152 in the table of known video resolutions.Luigi Rizzo
This makes it very convenient to enlarge images using the right-click on the video window. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-28change the interface of video encapsulation routines, they onlyLuigi Rizzo
need the buffer and mtu as input. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95263 65c4cc65-6c06-0410-ace0-fbb531ad65f3