dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

14275 Commits

Author SHA1 Message Date
kpfleming a1a41b71a0 Merged revisions 97410 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@97421 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 15:31:56 +00:00
rizzo e7e581b9cf implement the "console startgui" and "console stopgui"
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: http://svn.digium.com/svn/asterisk/trunk@97390 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 12:23:18 +00:00
rizzo 82a06bcfb7 make get_video_desc() return the active console if
passed a null argument (channel).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97389 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 12:13:32 +00:00
tilghman 8d91c5d7d2 New option in trunk, needs strdupa to be safe, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97365 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 00:58:22 +00:00
tilghman 718f79ad46 Merged revisions 97350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97350 | tilghman | 2008-01-08 18:44:14 -0600 (Tue, 08 Jan 2008) | 5 lines

Allow filename completion on zero-length modules, remove a memory leak, remove
a file descriptor leak, and make filename completion thread-safe.
Patched and tested by tilghman.
(Closes issue #11681)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97364 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 00:51:59 +00:00
mmichelson 30ba6f136c Merged revisions 97308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97308 | mmichelson | 2008-01-08 18:17:40 -0600 (Tue, 08 Jan 2008) | 3 lines

use the \retval doxygen command properly


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97309 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 00:18:15 +00:00
mmichelson a558da191f Merged revisions 97304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97304 | mmichelson | 2008-01-08 17:49:11 -0600 (Tue, 08 Jan 2008) | 5 lines

Part 1 of N of adding doxygen comments to app_queue. I picked some of the most common functions
used (which also happen to be some the biggest/ugliest functions too) to document first. I'm pretty
new to doxygen so criticism is welcome.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97307 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:56:24 +00:00
tilghman 1fcd1a4189 Add a new flag 'd' (with optional context) permitting any extension within
that context to be entered as a new extension during the playback of a
voicemail greeting.
Patch inspired by bluecrow76, by tilghman.
(Closes issue #7063)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97305 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:51:51 +00:00
rizzo 9549fe99d1 add copyright (most of this code was written by Marta Carbone),
remove some unused code, add/clarify some comments.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:35:05 +00:00
rizzo a426f32147 Add the annotation for the textarea used for messages,
and also change the background from white to something
different to show that we can make use of fonts with transparent
background.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97282 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:14:48 +00:00
rizzo 8529b8342e add a font suitable for use with the console GUI.
The background of this particular image is transparent so we
can preserve the original background when we draw strings.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97281 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:11:25 +00:00
rizzo 3b8929f929 add support for textareas, used for various dialog windows on the gui.
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: http://svn.digium.com/svn/asterisk/trunk@97280 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 23:09:44 +00:00
twilson 661c86104f Initialize new variable to NULL
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97248 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 21:56:57 +00:00
mmichelson 035e21dbef Blocked revisions 97206 via svnmerge
........
r97206 | mmichelson | 2008-01-08 15:24:48 -0600 (Tue, 08 Jan 2008) | 3 lines

Some coding guidelines-related cleanup


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97208 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 21:28:04 +00:00
mmichelson 245c11d367 Adding the option of specifying a second interface in a member definition for a queue. app_queue
will monitor this second device's state for the member, even though it actually calls the first
interface. This ability has been added for statically defined queue members, realtime queue members,
and dynamic queue members added through the CLI, dialplan, or manager.

(closes issue #11603, reported by acidv)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97203 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 21:18:32 +00:00
oej 8839b7d4f7 Change reference to external library so it appears on the extref listing
http://www.asterisk.org/doxygen/trunk/extref.html



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 21:01:46 +00:00
oej 4251dcdf48 Iksemel is alive in a new home. Release 1.3 is out with bug fixes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97199 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:58:56 +00:00
tilghman eb1bd79af9 Merged revisions 97194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97194 | tilghman | 2008-01-08 14:47:07 -0600 (Tue, 08 Jan 2008) | 3 lines

Increase constants to where we're less likely to hit them while debugging.
(Closes issue #11694)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97198 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:56:38 +00:00
file 7ceb4b22e6 One line documentation ftw!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:52:07 +00:00
file 903742efb7 Merged revisions 97195 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@97196 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:50:57 +00:00
mmichelson d3d7bd53d0 Merged revisions 97192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97192 | mmichelson | 2008-01-08 14:42:07 -0600 (Tue, 08 Jan 2008) | 9 lines

Making some changes designed to not allow for a corrupted mailstream for a vm_state.

1. Add locking to the vm_state retrieval functions so that no linked list corruption occurs.
2. Make sure to always grab the persistent vm_state when mailstream access is necessary.
3. Correct an incorrect return value in the init_mailstream function.

(closes issue #11304, reported by dwhite)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97193 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:45:59 +00:00
file 974143000d Move common code for setting T38 capabilities and fix a bug with fax 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: http://svn.digium.com/svn/asterisk/trunk@97154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 20:06:52 +00:00
file 76f4abf3f4 Merged revisions 97152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97152 | file | 2008-01-08 15:53:52 -0400 (Tue, 08 Jan 2008) | 4 lines

If no group has been provided to the GROUP_COUNT dialplan function then use the first one specific to the channel.
(closes issue #11077)
Reported by: m4him

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97153 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 19:55:56 +00:00
tilghman f800df5c6b Merged revisions 97077 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@97125 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 19:06:27 +00:00
file d555bbed96 Merged revisions 97093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97093 | file | 2008-01-08 14:36:40 -0400 (Tue, 08 Jan 2008) | 4 lines

Make app_queue calls work with directed pickup.
(closes issue #11700)
Reported by: jbauer

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97103 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 18:42:39 +00:00
file d2509a4bb7 Make ast_atomic_fetchadd_int_slow magically appear in extconf.
(closes issue #11703)
Reported by: dmartin


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97041 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 15:26:50 +00:00
rizzo 360dff1573 add support for cropping the keypad image while displaying it.
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: http://svn.digium.com/svn/asterisk/trunk@96988 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 23:03:11 +00:00
mmichelson 9092e38467 Explicitly make literal constants long where they are expected to be.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96987 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 22:31:03 +00:00
qwell d6c121d04e Display a message if no config mappings are found with "core show config mappings".
Closes issue #11704, patch by kshumard.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96936 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 21:12:33 +00:00
mmichelson a2bf8b4a46 Document some weird casting magic that's necessary to interface
with the c-client



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96935 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 21:10:59 +00:00
mmichelson f6d4739457 Adding user-configurable TCP timeout settings to IMAP voicemail. This could
go a long way towards preventing unexplainable hangs experienced by people. In the
case of MWI hangs, this also will mean that the SIP port isn't blocked anymore.

(closes issue #11665, reported by yehavi)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96934 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 21:04:09 +00:00
russell 2cc08905d6 Merged revisions 96932 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r96932 | russell | 2008-01-07 14:47:52 -0600 (Mon, 07 Jan 2008) | 10 lines

Merged revisions 96931 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r96931 | russell | 2008-01-07 14:46:22 -0600 (Mon, 07 Jan 2008) | 2 lines

Change misery.digium.com to pbx.digium.com

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96933 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 20:48:23 +00:00
russell 81f5f8704d Add a note about viewing the default set of documentation using the built-in http server
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96888 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 17:15:11 +00:00
russell c25a66aadc If the HTML documentation exists, install it in the static-http/docs directory
so that it can be viewed through the Asterisk http server if it is turned on.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96887 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 17:09:23 +00:00
russell 7af8444f25 Build the HTML version of the doc files for tarballs, as well
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96886 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 16:59:04 +00:00
russell 621f017866 Merged revisions 96884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96884 | russell | 2008-01-07 10:39:23 -0600 (Mon, 07 Jan 2008) | 3 lines

Don't crash if something happens when setting up an SMDI interface and it gets
destroyed before the SMDI port handling thread gets created.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96885 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 16:42:42 +00:00
kpfleming e2b34a1cc6 add a file-format driver for 16KHz signed linear... which may or may not work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96862 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 16:17:31 +00:00
file a995706a85 Move ModuleLoad and ModuleCheck manager commands from loader.c to manager.c. Previously they would get registered twice because of the way manager.c operates.
(closes issue #11699)
Reported by: caio1982
Patches:
      manager_module_commands1.diff uploaded by caio1982 (license 22)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96858 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 15:52:55 +00:00
rizzo 74ec4f4279 update comments to reflect reality (or at least planned behaviour).
minor code cleanups



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96836 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 15:06:54 +00:00
rizzo fc37acff50 resolve a load-time problem avoiding a call to console_do_answer.
On passing, fix dialling from the keypad.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96776 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 11:22:01 +00:00
russell 16a48590aa Convert this file over the new method of getting the Asterisk version.
(I don't have this building on this machine, so caio1982 on IRC is going to
 test it for me.  :) )


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96743 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 23:05:35 +00:00
russell ab908a2a8b Now that the version.h file was getting properly regenerated every time the svn
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: http://svn.digium.com/svn/asterisk/trunk@96717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:09:06 +00:00
russell 080a06a473 Print out the name of a function being registered in color, just like the name
of applications when they get registered.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96716 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:04:08 +00:00
russell 7193c2e2ef Add a note about changing modules.conf since another console channel driver is
now present that can not be used at the same time as chan_alsa or chan_oss.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 21:35:54 +00:00
russell ff87f59277 Add the URL to the home page for portaudio. Also add the location of the
svn repository to check out portaudio v19.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96692 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 21:25:45 +00:00
russell 07749ff028 Merged revisions 96644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96644 | russell | 2008-01-04 20:09:19 -0600 (Fri, 04 Jan 2008) | 2 lines

Don't pass an empty string as the device name.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96645 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 02:12:10 +00:00
kpfleming 99893cdf53 improve chan_usbradio to use indications just like chan_alsa/chan_oss do now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96621 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 01:05:50 +00:00
tilghman 26729a461a Merged revisions 96575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96575 | tilghman | 2008-01-04 17:03:40 -0600 (Fri, 04 Jan 2008) | 7 lines

Fix the problem of notification of a device state change to a device with a '-'
in the name.  Could probably do with a better fix in trunk, but this bug has
been open way too long without a better solution.
Reported by: stevedavies
Patch by: tilghman
(Closes issue #9668)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96576 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 23:12:43 +00:00
qwell 0d47bcbafd Merged revisions 96573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #11237)
........
r96573 | qwell | 2008-01-04 16:55:56 -0600 (Fri, 04 Jan 2008) | 4 lines

Properly continue in the dialplan if using PARKINGEXTEN and the slot is full.

Issue 11237, patch by me.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96574 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 22:57:56 +00:00
tilghman 6f39b42d84 Merged revisions 96525 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@96547 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 19:35:00 +00:00