Terry Wilson [Wed, 9 Jan 2008 21:37:26 +0000 (21:37 +0000)]
Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution. It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97634
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 9 Jan 2008 20:30:54 +0000 (20:30 +0000)]
Merged revisions 97622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #11718)
........
r97622 | qwell | 2008-01-09 14:28:43 -0600 (Wed, 09 Jan 2008) | 5 lines
Correctly display a message if a command could not be found.
Also fix a comment which may have led to this happening.
Issue 11718, reported by kshumard.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97623
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 9 Jan 2008 20:13:14 +0000 (20:13 +0000)]
Merged revisions 97618 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97618 | qwell | 2008-01-09 14:05:45 -0600 (Wed, 09 Jan 2008) | 1 line
Fix some locking and return value funkiness. We really shouldn't be unlocking this lock inside of a function, unless we locked it there too.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97620
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 9 Jan 2008 18:53:29 +0000 (18:53 +0000)]
Merged revisions 97575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97575 | mmichelson | 2008-01-09 12:48:15 -0600 (Wed, 09 Jan 2008) | 3 lines
Part 2 of app_queue doxygen improvements. Some smaller functions this time
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97577
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 9 Jan 2008 18:12:44 +0000 (18:12 +0000)]
remove a wrong 'const'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97533
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 9 Jan 2008 18:04:17 +0000 (18:04 +0000)]
add annotations for the two message windows
we use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97532
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 9 Jan 2008 18:04:14 +0000 (18:04 +0000)]
Merged revisions 97529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97529 | russell | 2008-01-09 12:02:08 -0600 (Wed, 09 Jan 2008) | 2 lines
Fix saying the parking space number to the caller doing the parking ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97531
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 9 Jan 2008 18:03:40 +0000 (18:03 +0000)]
Two changes:
- 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
Kevin P. Fleming [Wed, 9 Jan 2008 17:30:13 +0000 (17:30 +0000)]
Merged revisions 97491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97491 | kpfleming | 2008-01-09 11:21:14 -0600 (Wed, 09 Jan 2008) | 2 lines
report the same message whether Zaptel does not have transcoder support loaded or no transcoders were found
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97495
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Philippe Sultan [Wed, 9 Jan 2008 16:59:09 +0000 (16:59 +0000)]
Merged revisions 97489 via svnmerge from
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
Luigi Rizzo [Wed, 9 Jan 2008 16:44:20 +0000 (16:44 +0000)]
Implement keyboard handling, and use it to enter
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
Joshua Colp [Wed, 9 Jan 2008 16:13:24 +0000 (16:13 +0000)]
Merged revisions 97450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97450 | file | 2008-01-09 12:11:17 -0400 (Wed, 09 Jan 2008) | 6 lines
Don't do conferencing totally in Zaptel if Monitor is running on the channel.
(closes issue #11709)
Reported by: BigJimmy
Patches:
patch-meetmerec uploaded by BigJimmy (license 371)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97451
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 9 Jan 2008 15:45:34 +0000 (15:45 +0000)]
Merged revisions 97448 via svnmerge from
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
Kevin P. Fleming [Wed, 9 Jan 2008 15:31:56 +0000 (15:31 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97421
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 9 Jan 2008 12:23:18 +0000 (12:23 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97390
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 9 Jan 2008 12:13:32 +0000 (12:13 +0000)]
make get_video_desc() return the active console if
passed a null argument (channel).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97389
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 9 Jan 2008 00:58:22 +0000 (00:58 +0000)]
New option in trunk, needs strdupa to be safe, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97365
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 9 Jan 2008 00:51:59 +0000 (00:51 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97364
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 9 Jan 2008 00:18:15 +0000 (00:18 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97309
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 8 Jan 2008 23:56:24 +0000 (23:56 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97307
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 8 Jan 2008 23:51:51 +0000 (23:51 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97305
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 8 Jan 2008 23:35:05 +0000 (23:35 +0000)]
add copyright (most of this code was written by Marta Carbone),
remove some unused code, add/clarify some comments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97303
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 8 Jan 2008 23:14:48 +0000 (23:14 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97282
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 8 Jan 2008 23:11:25 +0000 (23:11 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97281
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 8 Jan 2008 23:09:44 +0000 (23:09 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97280
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Tue, 8 Jan 2008 21:56:57 +0000 (21:56 +0000)]
Initialize new variable to NULL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97248
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 8 Jan 2008 21:28:04 +0000 (21:28 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97208
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 8 Jan 2008 21:18:32 +0000 (21:18 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97203
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 8 Jan 2008 21:01:46 +0000 (21:01 +0000)]
Change reference to external library so it appears on the extref listing
http://www.asterisk.org/doxygen/trunk/extref.html
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97200
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 8 Jan 2008 20:58:56 +0000 (20:58 +0000)]
Iksemel is alive in a new home. Release 1.3 is out with bug fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97199
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 8 Jan 2008 20:56:38 +0000 (20:56 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97198
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 20:52:07 +0000 (20:52 +0000)]
One line documentation ftw!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97197
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 20:50:57 +0000 (20:50 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97196
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 8 Jan 2008 20:45:59 +0000 (20:45 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97193
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 20:06:52 +0000 (20:06 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 19:55:56 +0000 (19:55 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97153
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 8 Jan 2008 19:06:27 +0000 (19:06 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97125
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 18:42:39 +0000 (18:42 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@97103
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 8 Jan 2008 15:26:50 +0000 (15:26 +0000)]
Make ast_atomic_fetchadd_int_slow magically appear in extconf.
(closes issue #11703)
Reported by: dmartin
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97041
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 7 Jan 2008 23:03:11 +0000 (23:03 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96988
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 7 Jan 2008 22:31:03 +0000 (22:31 +0000)]
Explicitly make literal constants long where they are expected to be.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96987
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 7 Jan 2008 21:12:33 +0000 (21:12 +0000)]
Display a message if no config mappings are found with "core show config mappings".
Closes issue #11704, patch by kshumard.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96936
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 7 Jan 2008 21:10:59 +0000 (21:10 +0000)]
Document some weird casting magic that's necessary to interface
with the c-client
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96935
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 7 Jan 2008 21:04:09 +0000 (21:04 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96934
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Jan 2008 20:48:23 +0000 (20:48 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96933
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Jan 2008 17:15:11 +0000 (17:15 +0000)]
Add a note about viewing the default set of documentation using the built-in http server
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96888
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Jan 2008 17:09:23 +0000 (17:09 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96887
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Jan 2008 16:59:04 +0000 (16:59 +0000)]
Build the HTML version of the doc files for tarballs, as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96886
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 7 Jan 2008 16:42:42 +0000 (16:42 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96885
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 7 Jan 2008 16:17:31 +0000 (16:17 +0000)]
add a file-format driver for 16KHz signed linear... which may or may not work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96862
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 7 Jan 2008 15:52:55 +0000 (15:52 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96858
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 7 Jan 2008 15:06:54 +0000 (15:06 +0000)]
update comments to reflect reality (or at least planned behaviour).
minor code cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96836
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 7 Jan 2008 11:22:01 +0000 (11:22 +0000)]
resolve a load-time problem avoiding a call to console_do_answer.
On passing, fix dialling from the keypad.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96776
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 23:05:35 +0000 (23:05 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96743
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 22:09:06 +0000 (22:09 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96717
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 22:04:08 +0000 (22:04 +0000)]
Print out the name of a function being registered in color, just like the name
of applications when they get registered.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96716
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 21:35:54 +0000 (21:35 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96715
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 21:25:45 +0000 (21:25 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96692
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 5 Jan 2008 02:12:10 +0000 (02:12 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96645
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 5 Jan 2008 01:05:50 +0000 (01:05 +0000)]
improve chan_usbradio to use indications just like chan_alsa/chan_oss do now
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96621
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 4 Jan 2008 23:12:43 +0000 (23:12 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96576
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 4 Jan 2008 22:57:56 +0000 (22:57 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96574
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 4 Jan 2008 19:35:00 +0000 (19:35 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@96547
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 4 Jan 2008 17:21:25 +0000 (17:21 +0000)]
[commit message]
(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
Philippe Sultan [Fri, 4 Jan 2008 17:19:25 +0000 (17:19 +0000)]
Use SASL DIGEST-MD5 authentication over unsecured network connections only.
This authentication mechanism is implemented under the iksemel API, which
makes use of GnuTLS, whereas we use OpenSSL. Note : there's ongoing
dicsussion at the SASL IETF WG in order to deprecate SASL DIGEST-MD5, see
http://ietfreport.isoc.org/ids-wg-sasl.html.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96499
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 4 Jan 2008 16:21:08 +0000 (16:21 +0000)]
Merged revisions 96449 via svnmerge from
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
Kevin P. Fleming [Thu, 3 Jan 2008 23:14:15 +0000 (23:14 +0000)]
we have to *always* use a completely silent 'make' invocation for generating the module embedding rules
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96398
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 3 Jan 2008 23:01:53 +0000 (23:01 +0000)]
there was no reason to add this define for non-Solaris platforms
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96397
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 3 Jan 2008 22:46:37 +0000 (22:46 +0000)]
Merged revisions 96394 via svnmerge from
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
Tilghman Lesher [Thu, 3 Jan 2008 21:58:52 +0000 (21:58 +0000)]
Document recent API addition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96368
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 3 Jan 2008 21:43:58 +0000 (21:43 +0000)]
Merged revisions 96318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r96318 | tilghman | 2008-01-03 15:37:02 -0600 (Thu, 03 Jan 2008) | 4 lines
Missed initialization caused crash.
Reported and fixed by: tiziano
(Closes issue #11671)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96332
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 3 Jan 2008 21:27:57 +0000 (21:27 +0000)]
Allow the uniqueid to be used for searching for a channel in the list.
Reported and initially patched by: michael-fig
(Closes issue #11340)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96301
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 3 Jan 2008 20:04:30 +0000 (20:04 +0000)]
add some simple infrastructure for modules to be used for testing parts of Asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96272
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 3 Jan 2008 19:56:29 +0000 (19:56 +0000)]
eliminiate sound_thread() and other stuff from chan_oss since Asterisk 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
Kevin P. Fleming [Thu, 3 Jan 2008 18:10:13 +0000 (18:10 +0000)]
coding guidelines cleanup
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
Christian Richter [Thu, 3 Jan 2008 14:47:30 +0000 (14:47 +0000)]
Merged revisions 96198 via svnmerge from
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
Tilghman Lesher [Thu, 3 Jan 2008 06:16:48 +0000 (06:16 +0000)]
Add coordination between AMI and AGI applications, with an asyncagi method
Feature proposed and patched by: moy
(Closes issue #11282)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96174
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 3 Jan 2008 01:59:27 +0000 (01:59 +0000)]
Compatibility fix for OpenBSD
Report and fix by: mvanbaak
(Closes issue #11669)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96147
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jan 2008 23:48:43 +0000 (23:48 +0000)]
Merged revisions 96102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r96102 | mmichelson | 2008-01-02 17:46:02 -0600 (Wed, 02 Jan 2008) | 4 lines
We need to reset the membername to NULL on each iteration of this loop, otherwise the result is that
multiple members can have the same name, since the variable was not reset on each iteration of the loop.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96103
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jan 2008 23:22:25 +0000 (23:22 +0000)]
Add support for generating a ringing sound on an incoming call. This is a bit
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
Russell Bryant [Wed, 2 Jan 2008 22:52:13 +0000 (22:52 +0000)]
Note that this module doesn't actually play a ringing sound for an incoming call
... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96077
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jan 2008 22:50:09 +0000 (22:50 +0000)]
Show the correct CLI command to answer the call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96076
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 22:41:23 +0000 (22:41 +0000)]
actually parse and store echocan parameters from zapata.conf... this *should* work <G>
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96073
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 2 Jan 2008 22:40:55 +0000 (22:40 +0000)]
Don't use AST_C_DEFINE_CHECK for the two pthread things that may not actually be definitions, they could be enums for example.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96071
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jan 2008 22:29:15 +0000 (22:29 +0000)]
Add curly braces around a compound if statement so that trunk will build properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96028
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jan 2008 22:15:58 +0000 (22:15 +0000)]
Blocked revisions 96024 via svnmerge
........
r96024 | russell | 2008-01-02 16:14:28 -0600 (Wed, 02 Jan 2008) | 2 lines
Convert locks of the contexts list in pbx_config to the appropriate rdlock or wrlock
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96025
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jan 2008 22:05:31 +0000 (22:05 +0000)]
Blocked revisions 96022 via svnmerge
........
r96022 | russell | 2008-01-02 16:04:47 -0600 (Wed, 02 Jan 2008) | 2 lines
pbx_dundi only needs a rdlock on the contexts list.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96023
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 2 Jan 2008 22:00:50 +0000 (22:00 +0000)]
Blocked revisions 96020 via svnmerge
........
r96020 | russell | 2008-01-02 16:00:21 -0600 (Wed, 02 Jan 2008) | 2 lines
app_macro only needs a rdlock on the contexts list.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96021
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 21:51:37 +0000 (21:51 +0000)]
another checkpoint... chan_zap can now use the new ZT_ECHOCAN_PARAMS ioctl 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
Russell Bryant [Wed, 2 Jan 2008 21:49:44 +0000 (21:49 +0000)]
Add doxygen documentation to libresample.h while it's still fresh on my mind
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96018
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jan 2008 21:08:33 +0000 (21:08 +0000)]
Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to 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
Joshua Colp [Wed, 2 Jan 2008 20:26:25 +0000 (20:26 +0000)]
Merged revisions 95946 via svnmerge from
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
Mark Michelson [Wed, 2 Jan 2008 20:23:23 +0000 (20:23 +0000)]
Since ',' is the standard argument separator in trunk, change app_queue
to use AST_STANDARD_APP_ARGS instead of AST_NONSTANDARD_APP_ARGS for determining
member data.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95945
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Jan 2008 20:19:40 +0000 (20:19 +0000)]
Fix a typo in a comment. AST_STANDARD_APP_ARGS uses ',' as the separator,
not '|'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95944
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 19:47:25 +0000 (19:47 +0000)]
clean up hwgain CLI command and improve docs for swgain CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95939
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 19:34:33 +0000 (19:34 +0000)]
improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked for, but just check for its existence
finish implementation of check for Zaptel HWGAIN support
add check for Zaptel ECHOCANCEL_PARAMS support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95937
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 18:21:04 +0000 (18:21 +0000)]
and now just to keep the libresample party going... if the functions from libresample are going to be in the main Asterisk binary, it makes sense for the header that defines them to be available without any special CFLAGS and to out-of-tree modules building against /usr/include/asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95894
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 2 Jan 2008 18:17:15 +0000 (18:17 +0000)]
umm... this did not compile on x86-64, and could not possibly have worked on 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
Mark Michelson [Wed, 2 Jan 2008 18:05:57 +0000 (18:05 +0000)]
Merged revisions 95890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r95890 | mmichelson | 2008-01-02 11:51:22 -0600 (Wed, 02 Jan 2008) | 9 lines
A change to improve the accuracy of queue logging in the case where a member does not
answer during the specified timeout period. Prior to this change, there was a small chance
that the member name recorded in this case would be blank. Also prior to this change, if using
the ringall strategy, if no one answered the call during the specified timeout, the member name
listed in the queue log would randomly be one of the members that was rung.
(closes issue #11498, reported and tested by hloubser, patched by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95891
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 2 Jan 2008 17:38:02 +0000 (17:38 +0000)]
Update osplookup documentation to use commas instead of pipes.
Closes issue #11666, patch by Laureano.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95888
65c4cc65-6c06-0410-ace0-
fbb531ad65f3