dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

14275 Commits

Author SHA1 Message Date
rizzo 596c9a8c6a another bunch of gui localizations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94817 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 22:29:45 +00:00
qwell a9a2a75c3d Make 'else' argument to ExecIf optional. Clean up the description and usage text a bit.
Closes issue #11564, patch by pnlarsson (with some extra cleanup by me).


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94814 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 22:14:21 +00:00
rizzo 8a2e9c134d more localization of sdl stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94813 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 22:10:32 +00:00
rizzo 5972f78166 move more gui stuff into console_gui.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94810 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 21:10:42 +00:00
tilghman 2d1c262738 Merged revisions 94808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94808 | tilghman | 2007-12-26 14:43:38 -0600 (Wed, 26 Dec 2007) | 6 lines

Workaround for what is probably a glibc bug (but we'll see this crop up again
and again, if we don't add the workaround).
Reported by: rolek
Patch by: tilghman
(Closes issue #11601, closes issue #11426)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94809 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 20:49:35 +00:00
qwell df53774db6 Use defined return values in load_module in more places.
(closes issue #11096)
Patches:
      pbx_config.c.patch uploaded by moy (license 222)
      pbx_dundi.c.patch uploaded by moy (license 222)
      pbx_gtkconsole.c.patch uploaded by moy (license 222)
      pbx_loopback.c.patch uploaded by moy (license 222)
      pbx_realtime.c.patch uploaded by moy (license 222)
      pbx_spool.c.patch uploaded by moy (license 222)
      app_adsiprog.c.patch uploaded by moy (license 222)
      app_alarmreceiver.c.patch uploaded by moy (license 222)
      app_amd.c.patch uploaded by moy (license 222)
      app_authenticate.c.patch uploaded by moy (license 222)
      app_cdr.c.patch uploaded by moy (license 222)
      app_zapateller.c.patch uploaded by moy (license 222)
      app_zapbarge.c.patch uploaded by moy (license 222)
      app_zapras.c.patch uploaded by moy (license 222)
      app_zapscan.c.patch uploaded by moy (license 222)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94806 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 20:02:27 +00:00
rizzo 4d04a3258e more preparation for untangling of the various console_video stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94805 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 20:01:16 +00:00
russell 9b60268827 Merged revisions 94801 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94801 | russell | 2007-12-26 13:04:31 -0600 (Wed, 26 Dec 2007) | 4 lines

Just in case the AST_FLAG_END_DTMF_ONLY flag was already set before starting
autoservice, remember it and ensure that the channel has the same setting when
autoservice gets stopped.  (pointed out by d1mas, patched up by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94802 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 19:09:17 +00:00
russell 22436a9c1b Add a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
the existence of a dialplan target.

(closes issue #11579)
Reported by: irroot
Patches: 
      func_dialplan2.c uploaded by irroot (license 52)
	  -- Additional changes by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94799 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 18:54:21 +00:00
russell 4141321cd6 Merged revisions 94797 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94797 | russell | 2007-12-26 12:46:39 -0600 (Wed, 26 Dec 2007) | 4 lines

When a channel is in autoservice, mark a flag on the channel that says that
we only care about the END of a digit.  That way, no magic digit emulation stuff
will happen when all we're doing is queueing up END frames.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94798 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 18:47:52 +00:00
russell a561878e07 Leave a note for a minor bug that was pointed out by d1mas
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94796 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 18:19:46 +00:00
tilghman 14fc36c09d Convert raw bits for callprogress bitfield to use constants, for greater code clarity
Reported by: dimas
Patch by: dimas
(Closes issue #11280)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94795 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 18:05:28 +00:00
russell a73c661b03 Merged revisions 94793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94793 | russell | 2007-12-26 11:24:17 -0600 (Wed, 26 Dec 2007) | 3 lines

Don't try to send a parked call back to itself.
(closes issue #11622, reported by djrodman, patched by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 17:26:04 +00:00
russell 3377f3a6cd Merged revisions 94789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94789 | russell | 2007-12-26 11:00:03 -0600 (Wed, 26 Dec 2007) | 5 lines

List include/asterisk/version.h as a .PHONY target because we want the commands
listed for this target to be executed regardless of whether the file exists or
not.  This fixes having the version not up to date when running from svn.
(closes issue #11619, reported by plack, fixed by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94792 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 17:07:55 +00:00
russell 0b1a2bce95 Merged revisions 94790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94790 | russell | 2007-12-26 11:06:26 -0600 (Wed, 26 Dec 2007) | 5 lines

Don't store DTMF BEGIN frames while a channel is in autoservice.  It's just
going to make ast_read() do a lot of extra work when the channel comes back
out of autoservice.
(closes issue #11628, patched by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94791 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 17:07:12 +00:00
russell 2476ab62b5 Fix a bug in peer handling that caused multiple instances of a peer to end up
in the peers container after a reload.  Somehow, this bug doesn't exist in 1.4 ...
(closes issue #11626)
(reported by pnlarsson, additional info from mvanbaak, fixed by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94788 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 16:51:16 +00:00
russell 7c43626743 update svn:ignore for astcanary
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94787 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 16:31:43 +00:00
mmichelson 06049447cd Adding support for storing the queue log entries in a realtime backend.
(closes issue #11625, reported and patched by sergee)

Thank you very much to sergee for adding this new feature!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 15:58:17 +00:00
rizzo 7f64f70d63 Split console_video.c so that video codecs and gui functions
are in separate files (still #include'd because of tangling in the data
structures, but this is going to be cleaned up).

The video grabbing functions still need to be moved to a separate file.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94774 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 10:14:11 +00:00
tilghman 68d4a88f5f Add pickup by channel
(Closes issue #11161)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94773 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-25 04:10:57 +00:00
tilghman f05ce0bb95 Change the abbreviated TON from 'A' to 'V', since 'A' is a legitimate DTMF
character.  Also, fix the documentation to match the code.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94772 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-25 03:34:09 +00:00
tilghman d98d8ea32f Add channel thread ID to the information passed to AGI.
Reported by: dror99
Patch by: tilghman
(Closes issue #11162)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94771 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-25 02:57:58 +00:00
file ce3def5acb Blocked revisions 94769 via svnmerge
........
r94769 | file | 2007-12-24 22:27:08 -0400 (Mon, 24 Dec 2007) | 2 lines

file says... build on the builders.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94770 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-25 02:28:01 +00:00
tilghman 88f771e447 Merged revisions 94767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94767 | tilghman | 2007-12-24 13:36:59 -0600 (Mon, 24 Dec 2007) | 5 lines

Race: we need to wait to queue a NewChannel event until after the channel is
inserted into the channel list.  The reason is because some manager users
immediately queue requests from the channel when they see that event and are
confused when Asterisk reports no such channel. (Closes issue #11632)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94768 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-24 19:43:36 +00:00
tilghman f737f0b29c Blocked revisions 94765 via svnmerge
........
r94765 | tilghman | 2007-12-24 10:17:01 -0600 (Mon, 24 Dec 2007) | 5 lines

More deadlock avoidance code (this time between sip_monitor and sip_hangup)
Reported by: apsaras
Patch by: tilghman
(Closes issue #11413)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94766 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-24 16:26:17 +00:00
tilghman ec9dcfa108 Merged revisions 94763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94763 | tilghman | 2007-12-24 09:39:56 -0600 (Mon, 24 Dec 2007) | 5 lines

Another bit of bad logic in realtime_peer
Reported by: dimas
Patch by: dimas
(Closes issue #11631)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94764 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-24 15:45:01 +00:00
rizzo 75eb3fc9cc support sdl_videodriver to send output to x11/aalib/console
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94741 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-23 14:51:00 +00:00
rizzo c745148078 move reading info from the keypad to a separate function.
Remove an unused keypad field and some debugging messages.
Adjust formatting on config file parsing


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94736 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-23 14:34:17 +00:00
rizzo e2d7f8d793 make sure the minimum surface depth is 16bpp so we can create YUVoverlays.
With this change we can do

	setenv SDL_VIDEODRIVER aalib

and output to an ascii window (which is still in an X11 window).
If you also do

	unsetenv DISPLAY

then the output goes into the main asterisk window, unfortunately
it interferes with the normal output so you don't see much.

In any case, i don't think we are very far away from having a working
xterm videophone!




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94714 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-23 12:36:32 +00:00
rizzo b7e2b87525 avoid rebuilding dependent files if the generated busy.h and ringtone.h
do not change.

Ths masks (but does not solve) a but that i am seeing in doing a
'gmake install' without donig a 'gmake all' first.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94713 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-23 12:29:48 +00:00
tilghman ab1d58647d Merged revisions 94660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94660 | tilghman | 2007-12-22 19:21:03 -0600 (Sat, 22 Dec 2007) | 2 lines

Argh... I suppose third time's the charm.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94662 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-23 01:38:46 +00:00
rizzo 7b9f51dd11 Change the name of config file entries for keypad regions
from 'keypad_entry' to 'region'. Fix the example file accordingly.
Also make some fixes in the code do reset entries on reload of the keypad.

The recently committed kpad2.jpg has the correct names.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94638 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-22 22:44:31 +00:00
rizzo f80efb1987 add a sample keypad (with annotations) for console video
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94637 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-22 22:39:55 +00:00
rizzo 86307f549a Build console_video support by linking in, as opposed to including,
console_video.c

This will ease the task of splitting console_video.c into its components
(V4L and X11 grabbers, various video codecs and packetizers, SDL),
as well as ease future extensions (e.g. additional video sources,
codecs and rendering engines).

For the time being nothing changes for users: video support is off by
default, and requires -DHAVE_VIDEO_CONSOLE on the command line to be included
(if SDL and FFMPEG are available).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94615 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-22 18:28:40 +00:00
mmichelson f5d88738f1 Something I've been itching to do for a while now. A minor optimization in app_voicemail.
Since the dtable in base_encode always gets populated with the same values every time and never
changes, make it static and const and only initialize it once. Also, there's no reason to 
define BASEMAXINLINE twice, so remove the redundant #define.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94593 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 21:19:19 +00:00
mattf 83a89cc17e We should only clear this value if we have to
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94551 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:50:26 +00:00
mattf 1e66fcde41 Commit non TCP transport part of #11506. Includes numerous additional parameters, as well as RLT support for DMS type switches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94549 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:48:15 +00:00
mmichelson bbf9585e07 Store dates using local time instead of UTC
(closes issue #11610, reported and patched by rbraun_performatique)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94548 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:38:18 +00:00
mmichelson 1fd7575638 Fix a memory leak when reloading queue rules.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94547 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:30:05 +00:00
mmichelson d65ab00415 The one documentation source I forgot to update after the merge of the queue-penalty branch
was the CHANGES file. No longer!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94546 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:28:04 +00:00
mmichelson b2262f0cc9 Lots of coding guidelines cleanup.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94545 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:24:24 +00:00
mmichelson 082024a258 Blocked revisions 94543 via svnmerge
........
r94543 | mmichelson | 2007-12-21 14:21:59 -0600 (Fri, 21 Dec 2007) | 3 lines

Bunch of coding guidelines cleanup


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94544 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:22:52 +00:00
mmichelson 25e8dd3093 Merged revisions 94540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94540 | mmichelson | 2007-12-21 14:11:34 -0600 (Fri, 21 Dec 2007) | 8 lines

Better quota support for using IMAP storage voicemail

(closes issue #11415, reported by jaroth)
(closes issue #11152, reported by selsky)

Patch provided by jaroth


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94542 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:18:26 +00:00
qwell 7c0eb401e6 codecs.conf really shouldn't be mandatory.. it never had been before, so let's go back to being optional.
A big "thank you" to pnlarsson on IRC for allowing me access to his system to debug this.

Closes issue #11584.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94541 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:12:50 +00:00
mmichelson b2043fb3e3 Merged revisions 94538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94538 | mmichelson | 2007-12-21 13:59:45 -0600 (Fri, 21 Dec 2007) | 5 lines

The mail_copy c-client function does not expect a full imap mailbox string, just the name of the mailbox.

(closes issue #11419, reported and patched by jaroth, with additional patchwork from me)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94539 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:01:10 +00:00
mmichelson 1c2f295df0 AST_LIST_REMOVE_CURRENT only takes one argument in trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94516 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 17:40:44 +00:00
mmichelson 4b0258fbbe Merged revisions 94468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94468 | mmichelson | 2007-12-21 10:49:35 -0600 (Fri, 21 Dec 2007) | 6 lines

Since we are freeing list elements within a list traversal, we need to use the safe
traversal and remove the item from the list before freeing it.

(closes issue 11612, reported by dtyoo)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94477 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 16:52:04 +00:00
russell 6aaafa095c Blocked revisions 94466 via svnmerge
........
r94466 | russell | 2007-12-21 10:37:47 -0600 (Fri, 21 Dec 2007) | 6 lines

Convert the contexts lock to a read/write lock to resolve a deadlock.  This
has a nice side benefit of improving performance.  :)

(closes issue #11609)
(closes issue #11080)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 16:42:52 +00:00
mmichelson 9fcb942ecb Merged revisions 94464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94464 | mmichelson | 2007-12-21 10:11:44 -0600 (Fri, 21 Dec 2007) | 3 lines

Removing a debug message I accidentally just committed


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94465 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 16:12:14 +00:00
mmichelson 4d1324be79 Merged revisions 94420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94420 | mmichelson | 2007-12-21 09:45:14 -0600 (Fri, 21 Dec 2007) | 5 lines

Fixing Portuguese syntax for saying dates and times. Also some coding guidelines cleanup.

(closes issue #11599, reported and patched by caio1982, coding guidelines cleanup by me)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 16:10:21 +00:00