Commit graph

8699 commits

Author SHA1 Message Date
Russell Bryant
66dca5e378 Merged revisions 32818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32818 | russell | 2006-06-07 13:53:21 -0400 (Wed, 07 Jun 2006) | 2 lines

fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:54:26 +00:00
Russell Bryant
39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
(issue #6305, by ivanfm, with mods)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:44:36 +00:00
Russell Bryant
503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +00:00
Christian Richter
7924c21e33 changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 13:01:02 +00:00
Russell Bryant
efd1fd9829 revert my changes to convert fields of zt_pvt to use stringfields. When I did
this, I was not keeping in mind the fact that after a stringfield is overwritten
by another string, the memory used by the old string can not be recovered.  I
would like to go back through these changes and make sure that stringfields are
not used for fields that are written to many times before these changes are
committed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 23:22:12 +00:00
Matthew Fredrickson
f809fde426 Add q.921 state information. (#7260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 22:19:19 +00:00
Russell Bryant
db7ee8b54b oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 21:03:18 +00:00
Russell Bryant
004848236a move a variable declaration to the beginning of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:55:17 +00:00
Russell Bryant
6947fdbf62 use sizeof to determine the size of a buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:47:46 +00:00
Russell Bryant
1bd42310a2 use sizeof to get the size of a buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:45:26 +00:00
BJ Weschke
6dc79b1447 More updates.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:44:50 +00:00
Russell Bryant
66a782e8ce make a global list head static
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:44:10 +00:00
BJ Weschke
61cfff7b82 More cleanup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:39:11 +00:00
Russell Bryant
204ba36938 move a declaration to the beginning of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:37:51 +00:00
BJ Weschke
3c30abc476 Don't leak memory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:34:00 +00:00
Russell Bryant
aee460f50b allocate an int on the stack instead of with ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:18:01 +00:00
BJ Weschke
66e0ff5202 All better now!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 20:04:52 +00:00
Matt O'Gorman
6c0155e6cb fixes some issues with description loggin on presence
as well as some typos.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 19:51:26 +00:00
Matt O'Gorman
835c77ccfa fix a potential segfault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 19:18:44 +00:00
Russell Bryant
1f7db8df6a add missing include
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 19:07:52 +00:00
Matt O'Gorman
c04e4bd380 allow presence events to be handled before the
roster is received.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 18:51:37 +00:00
Matt O'Gorman
c7dbc3c166 fixed autoregister bug.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 17:25:07 +00:00
BJ Weschke
63a271eb55 If the recorded file is found, don't actually start to play it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 17:15:16 +00:00
Tilghman Lesher
95871f201d Merged revisions 32605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32605 | tilghman | 2006-06-06 11:55:23 -0500 (Tue, 06 Jun 2006) | 2 lines

Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:59:13 +00:00
Kevin P. Fleming
e855040110 fix some compiler warnings about variables used before initialization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:54:52 +00:00
Olle Johansson
479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
and some patches (all disclaimed).

- Don't change RTP properties if we reject a re-INVITE
- Don't add video to an outbound channel if there's no video on the inbound channel
- Don't include video in the "preferred codec" list for codec selection
- Clean up and document code that parses and adds SDP attachments

Since we do not transcode video, we can't handle video the same way as audio. This is a
bug fix patch. In future releases, we need to work on a solution for video negotiation,
not codecs but formats and framerates instead.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:09:33 +00:00
Tilghman Lesher
016034115e Merged revisions 32582 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32582 | tilghman | 2006-06-06 11:02:43 -0500 (Tue, 06 Jun 2006) | 2 lines

Bug 7268 - Callerid leaks memory on error

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:05:29 +00:00
Kevin P. Fleming
22b45aa4d3 Merged revisions 32566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32566 | kpfleming | 2006-06-06 10:48:00 -0500 (Tue, 06 Jun 2006) | 2 lines

clean up yesterday's security fix to not cause breakage when video mini frames are received

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 15:48:42 +00:00
Russell Bryant
fa595a8d82 don't return -1 if zapata.conf is not present (part of the patch from
issue #7290, tzafrir)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 14:24:59 +00:00
Christian Richter
24818d53b1 added select before write to avoid deadlock on full buffer. added some defines for deadlock debugging. added code snippet for generating silence if we don't have data to write.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 09:40:41 +00:00
BJ Weschke
3d973a0686 Introducing app_followme into /trunk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 07:29:57 +00:00
Russell Bryant
1eac38db1d fix a channel deadlock in ast_answer
(deadlock reported by and debuged with hads on #asterisk-dev on IRC)
(probably fixes issue #7267, maybe others)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 05:27:14 +00:00
Russell Bryant
80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
- constify some arguments to functions in callerid.c / callerid.h


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:22:47 +00:00
Russell Bryant
bbc584e3d7 fix some typos in the stringfields documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:21:52 +00:00
Russell Bryant
06b381a54d add the ability to do the same thing as "make dont-optimize" by enabling the
option in menuselect.  This is very useful for developers if you want to ensure
that all of your builds are done without optimizations.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 00:25:23 +00:00
Kevin P. Fleming
e856010714 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Kevin P. Fleming
8a95a1ddc1 Merged revisions 32373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32373 | kpfleming | 2006-06-05 14:53:16 -0500 (Mon, 05 Jun 2006) | 2 lines

ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:10:06 +00:00
Kevin P. Fleming
b34e3d09ab begin adding support for new sound packages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 19:16:04 +00:00
Kevin P. Fleming
427df3f6c3 yet another massive performance and memory savings improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 18:05:53 +00:00
Russell Bryant
b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
my concerns are listed in issue #6305


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 16:17:31 +00:00
Russell Bryant
de0c61807d use the standard Asterisk copyright header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:56:35 +00:00
Russell Bryant
db528623ad clean up various formatting issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:47:36 +00:00
Joshua Colp
2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:44:37 +00:00
Olle Johansson
723e900bf3 Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:20:09 +00:00
Kevin P. Fleming
dd6de5ee4e it's time... only enable global priority jumping if the config file says to do so
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 14:00:13 +00:00
Olle Johansson
4ab449be1b Move definition of RTP structure to rtp.h (preparing for future changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 09:42:28 +00:00
Olle Johansson
e60100750d Issue 7231 - Utility to convert libtonezone indications to indications.conf format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 09:31:02 +00:00
Olle Johansson
4e74b8fb75 Issue #7231 - Missing indications from libtonezone (tzafrir)
- "tuttter" changed to "stutter" ;-)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 09:27:38 +00:00
Olle Johansson
2dc6947144 Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)
Thanks to everyone involved in working with this!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 08:39:42 +00:00
Olle Johansson
f80bde18be - Add headers to e-mail with caller ID name and number to simplify automatic parsing
- Formatting fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 08:06:02 +00:00