Archived
14
0
Fork 0
Commit graph

4830 commits

Author SHA1 Message Date
crichter
3059048325 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: http://svn.digium.com/svn/asterisk/trunk@96221 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 14:47:30 +00:00
russell
245fbece26 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: http://svn.digium.com/svn/asterisk/trunk@96079 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 23:22:25 +00:00
russell
fafd23dfeb Note that this module doesn't actually play a ringing sound for an incoming call
... oops


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96077 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:52:13 +00:00
russell
16ec2e0402 Show the correct CLI command to answer the call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:50:09 +00:00
kpfleming
bcc9a193e3 actually parse and store echocan parameters from zapata.conf... this *should* work <G>
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96073 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:41:23 +00:00
mmichelson
d58696d360 Add curly braces around a compound if statement so that trunk will build properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:29:15 +00:00
kpfleming
3b9ff99221 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: http://svn.digium.com/svn/asterisk/trunk@96019 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 21:51:37 +00:00
mmichelson
eff3a6e5af 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: http://svn.digium.com/svn/asterisk/trunk@95994 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 21:08:33 +00:00
file
a192502092 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: http://svn.digium.com/svn/asterisk/trunk@95947 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 20:26:25 +00:00
kpfleming
e6a8f95f77 clean up hwgain CLI command and improve docs for swgain CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95939 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 19:47:25 +00:00
kpfleming
a7c4d3677c 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: http://svn.digium.com/svn/asterisk/trunk@95893 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 18:17:15 +00:00
kpfleming
d1bc2f34f0 fix some long-time breakage that kept chan_misdn from being embedded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95841 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 14:53:26 +00:00
kpfleming
392b2695dd use the proper technique for including submodules so that embedding will work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95840 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 14:50:46 +00:00
rizzo
4ff493aff5 call directly the cli command to implement hangup.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95673 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01 23:55:19 +00:00
rizzo
02e1d2fdce prevent a panic when destroying a channel with no incoming video.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95672 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01 23:54:40 +00:00
rizzo
2632ca870c remove a leftover sleep(1) used for debugging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95671 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01 23:53:43 +00:00
russell
982aedfab4 Update chan_console to natively use a 16 kHz sample rate. If it is talking
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: http://svn.digium.com/svn/asterisk/trunk@95527 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 21:33:45 +00:00
russell
4bc50170da Merge the main set of changes from team/russell/chan_console.
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: http://svn.digium.com/svn/asterisk/trunk@95412 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 16:13:26 +00:00
rizzo
d35a061a76 Move grabbers definitions to a separate file, vgrabbers.c, so it is easier
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: http://svn.digium.com/svn/asterisk/trunk@95313 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-29 02:02:03 +00:00
rizzo
2f8edd72db virtualize the interface for video grabbers, which should
make it easier to add support for more grabbers (V4L2,
firewire, and so on).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95288 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-29 01:10:14 +00:00
rizzo
026cd63b05 Add a few entries up to 1408x1152 in the table of known video resolutions.
This makes it very convenient to enlarge images using the right-click
on the video window.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95264 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 23:15:11 +00:00
rizzo
6341df8cbf change the interface of video encapsulation routines, they only
need the buffer and mtu as input.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 23:04:04 +00:00
rizzo
956da6a580 various rearrangements and renaming of console_video stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95262 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 22:37:40 +00:00
russell
b1e06567ce Merged revisions 95191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r95191 | russell | 2007-12-28 12:24:59 -0600 (Fri, 28 Dec 2007) | 6 lines

Remove duplicate increment of the header count in the add_header() function.

(closes issue #11648)
Reported by: makoto
Patch provided by sergee, committed patch by me, inspired by comments from putnopvut

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95192 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 18:26:26 +00:00
rizzo
02ba367421 fix a small bug in printing out geometries - wrong input.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95139 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 08:57:01 +00:00
rizzo
99038eda0d remove useless casts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 23:00:55 +00:00
file
dedbfb6302 Merged revisions 94924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94924 | file | 2007-12-27 13:32:15 -0400 (Thu, 27 Dec 2007) | 6 lines

Include types.h in chan_h323 as without it it can not be compiled on some operating systems like FreeBSD to name one.
(closes issue #11585)
Reported by: sobomax
Patches:
      chan_h323.c.diff uploaded by sobomax (license 359)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94934 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 17:34:00 +00:00
file
b8f41ba0bb Merged revisions 94905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94905 | file | 2007-12-27 13:27:11 -0400 (Thu, 27 Dec 2007) | 4 lines

Use ast_strlen_zero to see if our_contact is set or not on the dialog. It is possible for it to be a pointer to NULL.
(closes issue #11557)
Reported by: FuriousGeorge

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94908 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 17:28:52 +00:00
rizzo
115c729a35 more localization of gui stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94904 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 17:26:16 +00:00
rizzo
3873b83f28 more steps to decouple the gui from the rest of the code.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94823 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 00:48:38 +00:00
rizzo
3362e1caef Enable building the code even if SDL is not present (similarly,
SDL is also detected at runtime).
Now we should be able to stream video even without a rendering device
(useful for remote monitoring).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94822 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 00:21:02 +00:00
rizzo
7a2d553924 more localizations around sdl_setup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94821 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 23:40:23 +00:00
rizzo
e7bc9bf26e use fread instead of mmap to read in the comment area from the keypad.
fread is simpler and more portable, and there is no performance gain
in using mmap.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 23:00:29 +00:00
tilghman
254edbf055 Allow more spans than 32. Also, rearrange compiler flags so the most often
used flags appear closer to the top.
Reported by: tzafrir
Patch by: tzafrir,tilghman
(Closes issue #11528)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 22:38:02 +00:00
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
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
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
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
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
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
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
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
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
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