asterisk/asterisk.git
13 years agofix some compiler warnings about variables used before initialization
Kevin P. Fleming [Tue, 6 Jun 2006 16:54:52 +0000 (16:54 +0000)]
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

13 years agoMerge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
Olle Johansson [Tue, 6 Jun 2006 16:09:33 +0000 (16:09 +0000)]
Merge ... 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

13 years agoMerged revisions 32582 via svnmerge from
Tilghman Lesher [Tue, 6 Jun 2006 16:05:29 +0000 (16:05 +0000)]
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

13 years agoMerged revisions 32566 via svnmerge from
Kevin P. Fleming [Tue, 6 Jun 2006 15:48:42 +0000 (15:48 +0000)]
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

13 years agodon't return -1 if zapata.conf is not present (part of the patch from
Russell Bryant [Tue, 6 Jun 2006 14:24:59 +0000 (14:24 +0000)]
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

13 years agoadded select before write to avoid deadlock on full buffer. added some defines for...
Christian Richter [Tue, 6 Jun 2006 09:40:41 +0000 (09:40 +0000)]
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

13 years ago Introducing app_followme into /trunk!
BJ Weschke [Tue, 6 Jun 2006 07:29:57 +0000 (07:29 +0000)]
 Introducing app_followme into /trunk!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32499 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix a channel deadlock in ast_answer
Russell Bryant [Tue, 6 Jun 2006 05:27:14 +0000 (05:27 +0000)]
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

13 years ago- use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
Russell Bryant [Tue, 6 Jun 2006 01:22:47 +0000 (01:22 +0000)]
- 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

13 years agofix some typos in the stringfields documentation
Russell Bryant [Tue, 6 Jun 2006 01:21:52 +0000 (01:21 +0000)]
fix some typos in the stringfields documentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32455 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadd the ability to do the same thing as "make dont-optimize" by enabling the
Russell Bryant [Tue, 6 Jun 2006 00:25:23 +0000 (00:25 +0000)]
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

13 years agouse module names, not file names, in menuselect
Kevin P. Fleming [Mon, 5 Jun 2006 20:46:27 +0000 (20:46 +0000)]
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

13 years agoMerged revisions 32373 via svnmerge from
Kevin P. Fleming [Mon, 5 Jun 2006 20:10:06 +0000 (20:10 +0000)]
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

13 years agobegin adding support for new sound packages
Kevin P. Fleming [Mon, 5 Jun 2006 19:16:04 +0000 (19:16 +0000)]
begin adding support for new sound packages

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoyet another massive performance and memory savings improvement
Kevin P. Fleming [Mon, 5 Jun 2006 18:05:53 +0000 (18:05 +0000)]
yet another massive performance and memory savings improvement

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32349 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agorevert the changes to allow chan_iax2 to use dnsmgr for registrations.
Russell Bryant [Mon, 5 Jun 2006 16:17:31 +0000 (16:17 +0000)]
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

13 years agouse the standard Asterisk copyright header
Russell Bryant [Mon, 5 Jun 2006 15:56:35 +0000 (15:56 +0000)]
use the standard Asterisk copyright header

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32306 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoclean up various formatting issues
Russell Bryant [Mon, 5 Jun 2006 15:47:36 +0000 (15:47 +0000)]
clean up various formatting issues

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoConvert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their...
Joshua Colp [Mon, 5 Jun 2006 15:44:37 +0000 (15:44 +0000)]
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

13 years agoDoxygen updates
Olle Johansson [Mon, 5 Jun 2006 15:20:09 +0000 (15:20 +0000)]
Doxygen updates

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32302 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoit's time... only enable global priority jumping if the config file says to do so
Kevin P. Fleming [Mon, 5 Jun 2006 14:00:13 +0000 (14:00 +0000)]
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

13 years agoMove definition of RTP structure to rtp.h (preparing for future changes)
Olle Johansson [Mon, 5 Jun 2006 09:42:28 +0000 (09:42 +0000)]
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

13 years agoIssue 7231 - Utility to convert libtonezone indications to indications.conf format
Olle Johansson [Mon, 5 Jun 2006 09:31:02 +0000 (09:31 +0000)]
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

13 years agoIssue #7231 - Missing indications from libtonezone (tzafrir)
Olle Johansson [Mon, 5 Jun 2006 09:27:38 +0000 (09:27 +0000)]
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

13 years agoIssue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)
Olle Johansson [Mon, 5 Jun 2006 08:39:42 +0000 (08:39 +0000)]
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

13 years ago- Add headers to e-mail with caller ID name and number to simplify automatic parsing
Olle Johansson [Mon, 5 Jun 2006 08:06:02 +0000 (08:06 +0000)]
- 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

13 years agoIssue 7208 - Handle ; in userinfo part of URI too
Olle Johansson [Mon, 5 Jun 2006 07:43:40 +0000 (07:43 +0000)]
Issue 7208 - Handle ; in userinfo part of URI too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32207 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDo not use ':' as a separator between arguments (kept around for 1.4 for backwards...
Olle Johansson [Mon, 5 Jun 2006 06:36:18 +0000 (06:36 +0000)]
Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32185 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoOnly override callingpres set by rpid if user/peer preference is set. (Issue #7240)
Olle Johansson [Mon, 5 Jun 2006 06:23:22 +0000 (06:23 +0000)]
Only override callingpres set by rpid if user/peer preference is set. (Issue #7240)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32183 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix a typo in the documentation of how to use string fields
Russell Bryant [Mon, 5 Jun 2006 04:51:10 +0000 (04:51 +0000)]
fix a typo in the documentation of how to use string fields

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoCode simplification
Olle Johansson [Sun, 4 Jun 2006 21:13:48 +0000 (21:13 +0000)]
Code simplification

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32138 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- Fix more problems in transfer code (thanks Tholo!)
Olle Johansson [Sun, 4 Jun 2006 21:01:13 +0000 (21:01 +0000)]
- Fix more problems in transfer code (thanks Tholo!)
- Add debug for hangup not in UP state

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32137 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- Add information about transcoding to "show channel"
Olle Johansson [Sun, 4 Jun 2006 19:38:05 +0000 (19:38 +0000)]
- Add information about transcoding to "show channel"

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32115 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRespond to some of Luigis questions...
Olle Johansson [Sun, 4 Jun 2006 19:18:24 +0000 (19:18 +0000)]
Respond to some of Luigis questions...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32111 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix potential bug. THanks luigi!
Olle Johansson [Sun, 4 Jun 2006 18:58:27 +0000 (18:58 +0000)]
Fix potential bug. THanks luigi!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32089 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- 5 is the highest used debug level, so let's stay there
Olle Johansson [Sun, 4 Jun 2006 18:55:16 +0000 (18:55 +0000)]
- 5 is the highest used debug level, so let's stay there
- Change formatting of RTP debug to align better

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- Doxygen fix
Olle Johansson [Sun, 4 Jun 2006 18:35:29 +0000 (18:35 +0000)]
- Doxygen fix
- Debug message change

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32087 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoShow max bitrate in "sip show user" and "sip show channel"
Olle Johansson [Sun, 4 Jun 2006 17:35:30 +0000 (17:35 +0000)]
Show max bitrate in "sip show user" and "sip show channel"

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agooops my config file was out of date not the sample
Matt O'Gorman [Sun, 4 Jun 2006 17:08:18 +0000 (17:08 +0000)]
oops my config file was out of date not the sample

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32064 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agooops fixing example config
Matt O'Gorman [Sun, 4 Jun 2006 17:07:09 +0000 (17:07 +0000)]
oops fixing example config

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32063 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agooops
Matt O'Gorman [Sun, 4 Jun 2006 17:00:59 +0000 (17:00 +0000)]
oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32046 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosolves some issues with jabberstatus app
Matt O'Gorman [Sun, 4 Jun 2006 16:56:16 +0000 (16:56 +0000)]
solves some issues with jabberstatus app

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMake tonezone writeable in CHANNEL() (from my old func_tonezone.c)
Olle Johansson [Sun, 4 Jun 2006 11:47:51 +0000 (11:47 +0000)]
Make tonezone writeable in CHANNEL() (from my old func_tonezone.c)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32018 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- Typo in chan_sip (: missing)
Olle Johansson [Sun, 4 Jun 2006 11:09:14 +0000 (11:09 +0000)]
- Typo in chan_sip (: missing)
- Only print formats once in dumpchan()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32017 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd formats in text form to dumpchan()
Olle Johansson [Sun, 4 Jun 2006 11:00:12 +0000 (11:00 +0000)]
Add formats in text form to dumpchan()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32003 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDoxygen improvements
Olle Johansson [Sun, 4 Jun 2006 08:57:34 +0000 (08:57 +0000)]
Doxygen improvements

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31979 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDoxygen formatting fixes
Olle Johansson [Sun, 4 Jun 2006 08:15:41 +0000 (08:15 +0000)]
Doxygen formatting fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31977 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoUse a dynamically sized array to store the list of files for moh "files" mode
Russell Bryant [Sun, 4 Jun 2006 06:21:43 +0000 (06:21 +0000)]
Use a dynamically sized array to store the list of files for moh "files" mode
 - Instead of always allocating 64KB of memory for every MOH class, this has
   been reduced to only a single pointer per class, with more memory only
   allocatted when using "files" mode, as needed
 - Instead of imposing a length limit on the full filename, including full
   path, of 127 characters, use PATH_MAX, the maximum length that the system
   can handle
 - There is no longer a limit on the number of files than can be used for a
   single MOH class using "files" mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31953 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31921 via svnmerge from
Kevin P. Fleming [Sun, 4 Jun 2006 03:45:54 +0000 (03:45 +0000)]
Merged revisions 31921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31921 | kpfleming | 2006-06-03 22:43:35 -0500 (Sat, 03 Jun 2006) | 2 lines

return bridge exit logic to what it was before i broke it :-(

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadd a bit of comment on what build_route does,
Luigi Rizzo [Sun, 4 Jun 2006 00:09:13 +0000 (00:09 +0000)]
add a bit of comment on what build_route does,
plus minor code simplification.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoremove some duplicated code;
Luigi Rizzo [Sat, 3 Jun 2006 23:58:32 +0000 (23:58 +0000)]
remove some duplicated code;
fix indentation on one line;
mark XXX some unreachable code;
mark XXX another place where we could reduce the nesting depth.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31872 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosmall simplification in assignments, and fix a typo in a comment.
Luigi Rizzo [Sat, 3 Jun 2006 23:46:23 +0000 (23:46 +0000)]
small simplification in assignments, and fix a typo in a comment.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomark XXX some places where there is a return right before
Luigi Rizzo [Sat, 3 Jun 2006 23:34:01 +0000 (23:34 +0000)]
mark XXX some places where there is a return right before
a large "else" block, which is suitable for a reduction of
the nesting depth.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31870 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix indentation of a block
Luigi Rizzo [Sat, 3 Jun 2006 23:23:24 +0000 (23:23 +0000)]
fix indentation of a block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosome code simplifications using S_OR() to remove some if blocks
Luigi Rizzo [Sat, 3 Jun 2006 23:17:54 +0000 (23:17 +0000)]
some code simplifications using S_OR() to remove some if blocks
and duplicate code.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agouse ast_skip_blanks() where appropriate, and use standard
Luigi Rizzo [Sat, 3 Jun 2006 23:03:29 +0000 (23:03 +0000)]
use ast_skip_blanks() where appropriate, and use standard
C jargoon  *foo++ = '\0'; instead of two separate statements.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31861 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomark XXX a buggy section of code and implement a probable
Luigi Rizzo [Sat, 3 Jun 2006 22:56:45 +0000 (22:56 +0000)]
mark XXX a buggy section of code and implement a probable
replacement (leave the original in case my code does not
do what the function was meant to do).
oej, please check this...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosimplify logic in a small block of code
Luigi Rizzo [Sat, 3 Jun 2006 22:29:37 +0000 (22:29 +0000)]
simplify logic in a small block of code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31842 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomark XXX a bug in the code. oej/kevin, any idea what you want
Luigi Rizzo [Sat, 3 Jun 2006 22:18:41 +0000 (22:18 +0000)]
mark XXX a bug in the code. oej/kevin, any idea what you want
to use here ?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31841 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago Make sure DEBUG is really cranked up before we decide to flood the logs with message...
BJ Weschke [Sat, 3 Jun 2006 22:08:25 +0000 (22:08 +0000)]
 Make sure DEBUG is really cranked up before we decide to flood the logs with messages about Internal timing when a channel has to make a decision about generating internal timing (eg - MOH)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31840 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoremove duplicate code
Luigi Rizzo [Sat, 3 Jun 2006 20:40:54 +0000 (20:40 +0000)]
remove duplicate code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoReplace '\"' with '"'.
Luigi Rizzo [Sat, 3 Jun 2006 20:34:26 +0000 (20:34 +0000)]
Replace '\"' with '"'.
The escape is unnecessary, and makes a bad example
to people reading the code.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31813 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agowhen using moh files mode, don't look for a file past the number of files
Russell Bryant [Sat, 3 Jun 2006 17:04:51 +0000 (17:04 +0000)]
when using moh files mode, don't look for a file past the number of files
that have been loaded, or worse, past the size of the files array

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31776 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31738 via svnmerge from
BJ Weschke [Sat, 3 Jun 2006 14:49:52 +0000 (14:49 +0000)]
Merged revisions 31738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31738 | bweschke | 2006-06-03 10:48:13 -0400 (Sat, 03 Jun 2006) | 3 lines

 Fix doxygen comment about AST_LIST_HEAD_INIT_NOLOCK

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31739 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdding John Martin to CREDITS for his video work
Olle Johansson [Sat, 3 Jun 2006 10:07:25 +0000 (10:07 +0000)]
Adding John Martin to CREDITS for his video work

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31715 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoTwo missed cases
Tilghman Lesher [Sat, 3 Jun 2006 02:18:59 +0000 (02:18 +0000)]
Two missed cases

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31691 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoOoops, those characters weren't really periods (credit to John Olson)
Tilghman Lesher [Sat, 3 Jun 2006 02:17:00 +0000 (02:17 +0000)]
Ooops, those characters weren't really periods (credit to John Olson)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31690 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadd credits for cdr_radius
Russell Bryant [Fri, 2 Jun 2006 13:38:37 +0000 (13:38 +0000)]
add credits for cdr_radius

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdding credits for SIP transfer work
Olle Johansson [Fri, 2 Jun 2006 06:24:30 +0000 (06:24 +0000)]
Adding credits for SIP transfer work

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31636 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadd a comment where some memory usage optimization needs to be done
Russell Bryant [Fri, 2 Jun 2006 03:34:09 +0000 (03:34 +0000)]
add a comment where some memory usage optimization needs to be done

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agouse strcpy instead of snprintf in a couple places
Russell Bryant [Thu, 1 Jun 2006 22:17:01 +0000 (22:17 +0000)]
use strcpy instead of snprintf in a couple places

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31586 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31555 via svnmerge from
Kevin P. Fleming [Thu, 1 Jun 2006 21:47:49 +0000 (21:47 +0000)]
Merged revisions 31555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31555 | kpfleming | 2006-06-01 16:46:50 -0500 (Thu, 01 Jun 2006) | 2 lines

remove pointless forcing of the channel into SLINEAR mode; the write format will be set later based on the file that is chosen to be played to the channel

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31556 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31520 via svnmerge from
Kevin P. Fleming [Thu, 1 Jun 2006 20:53:17 +0000 (20:53 +0000)]
Merged revisions 31520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31520 | kpfleming | 2006-06-01 15:27:50 -0500 (Thu, 01 Jun 2006) | 2 lines

handle Zap transfers behind chan_agent properly so the agent doesn't get stuck waiting for the call to hang up

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31522 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFormatting fixes
Olle Johansson [Thu, 1 Jun 2006 19:48:31 +0000 (19:48 +0000)]
Formatting fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31497 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDoxygen reformatting
Olle Johansson [Thu, 1 Jun 2006 19:28:01 +0000 (19:28 +0000)]
Doxygen reformatting

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31496 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- Formatting
Olle Johansson [Thu, 1 Jun 2006 19:21:46 +0000 (19:21 +0000)]
- Formatting
- Add some comments

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31495 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMinor change to DEBUG and WARNING messages
Olle Johansson [Thu, 1 Jun 2006 19:15:40 +0000 (19:15 +0000)]
Minor change to DEBUG and WARNING messages

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agochanges for base64 to work in multiline instances
Matt O'Gorman [Thu, 1 Jun 2006 19:05:45 +0000 (19:05 +0000)]
changes for base64 to work in multiline instances
as well as being more efficient, patch from jcollie's
base64 branch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomore minor fixes thanks Julian on pointing out
Matt O'Gorman [Thu, 1 Jun 2006 18:48:22 +0000 (18:48 +0000)]
more minor fixes thanks Julian on pointing out
potential problems

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31469 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoallow menuselect to display dependencies and conflicts for modules
Russell Bryant [Thu, 1 Jun 2006 17:40:50 +0000 (17:40 +0000)]
allow menuselect to display dependencies and conflicts for modules

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31443 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoIssue #7103 take two. Thanks Mikael!
Olle Johansson [Thu, 1 Jun 2006 16:58:06 +0000 (16:58 +0000)]
Issue #7103 take two. Thanks Mikael!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- add the ability to configure forced jitterbuffers on h323, jingle,
Russell Bryant [Thu, 1 Jun 2006 16:47:28 +0000 (16:47 +0000)]
- add the ability to configure forced jitterbuffers on h323, jingle,
  and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
  the sip, zap, and skinny channel drivers, as copying the same global
  configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomy last changes to the jitterbuffer files need a forced make clean
Russell Bryant [Thu, 1 Jun 2006 16:42:38 +0000 (16:42 +0000)]
my last changes to the jitterbuffer files need a forced make clean

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31412 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agothe interface needs to be changed as well..
Christian Richter [Thu, 1 Jun 2006 16:41:07 +0000 (16:41 +0000)]
the interface needs to be changed as well..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31411 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agounified the PH_CONTROL Interface for the mISDN_dsp interface to int
Christian Richter [Thu, 1 Jun 2006 16:25:04 +0000 (16:25 +0000)]
unified the PH_CONTROL Interface for the mISDN_dsp interface to int

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31409 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoThis is what I get for coding while tired.. sorry ;/
North Antara [Thu, 1 Jun 2006 15:44:35 +0000 (15:44 +0000)]
This is what I get for coding while tired..  sorry ;/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31385 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix an incorrect comment (issue #7259, tardieu)
Russell Bryant [Thu, 1 Jun 2006 14:18:12 +0000 (14:18 +0000)]
fix an incorrect comment (issue #7259, tardieu)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomake a global variable static and remove an unused global variable
Russell Bryant [Thu, 1 Jun 2006 14:15:16 +0000 (14:15 +0000)]
make a global variable static and remove an unused global variable
(issue #7258, tardieu)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago- add slav, zoa, and royk to the CREDITS for the generic jitterbuffer
Russell Bryant [Thu, 1 Jun 2006 14:07:03 +0000 (14:07 +0000)]
- add slav, zoa, and royk to the CREDITS for the generic jitterbuffer
- change references to the "scx" jitterbuffer to be called "fixed" and change
  references to the "stevek" jitterbuffer to be called "adaptive", instead

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31356 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadded bearer capability reject support. we send release instead of disconnect in...
Christian Richter [Thu, 1 Jun 2006 12:51:41 +0000 (12:51 +0000)]
added bearer capability reject support. we send release instead of disconnect in case we have no real channel yet. added support for Restarting channels added support for sending complete decoding. changed some log levels.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31324 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31321 via svnmerge from
Kevin P. Fleming [Thu, 1 Jun 2006 12:43:01 +0000 (12:43 +0000)]
Merged revisions 31321 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31321 | kpfleming | 2006-06-01 07:41:47 -0500 (Thu, 01 Jun 2006) | 2 lines

remove a sample entry that never should have been added (code to support it was not merged)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31322 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agosolves bug where reload deleted things it shouldnt have
Matt O'Gorman [Thu, 1 Jun 2006 08:22:44 +0000 (08:22 +0000)]
solves bug where reload deleted things it shouldnt have
and adds check into jabberstatus so it cant segfault.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadds statusmessage customization from Julian Lyndon-Smith
Matt O'Gorman [Thu, 1 Jun 2006 07:49:47 +0000 (07:49 +0000)]
adds statusmessage customization from Julian Lyndon-Smith
and fixes bug with pruneregister

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31275 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoCommit of the new SIP transfer support (oej/siptransfer branch)
Olle Johansson [Thu, 1 Jun 2006 07:30:45 +0000 (07:30 +0000)]
Commit of the new SIP transfer support (oej/siptransfer branch)
- improved support of attended transfers (REFER with replaces)
- support of INVITE/replaces in the context of a transfer
- improved support of blind transfers (REFER)

Thanks to Voop, Nuvio and Foniris for sponsoring this work.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoNobody saw this coming, I bet.
North Antara [Thu, 1 Jun 2006 04:35:00 +0000 (04:35 +0000)]
Nobody saw this coming, I bet.

jitterbuffer!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31250 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agochange a warning message to a debug message
Russell Bryant [Thu, 1 Jun 2006 00:15:25 +0000 (00:15 +0000)]
change a warning message to a debug message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31226 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agofix the problem where defaults.h is missing after a forced make clean in a
Russell Bryant [Thu, 1 Jun 2006 00:09:18 +0000 (00:09 +0000)]
fix the problem where defaults.h is missing after a forced make clean in a
different way that actually works

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31225 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 31194 via svnmerge from
Russell Bryant [Wed, 31 May 2006 23:51:39 +0000 (23:51 +0000)]
Merged revisions 31194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31194 | russell | 2006-05-31 19:50:00 -0400 (Wed, 31 May 2006) | 3 lines

if the connection to a FastAGI server fails because of a timeout, log a more
informative log message

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoDocumentation changes for Qwell
Joshua Colp [Wed, 31 May 2006 23:10:56 +0000 (23:10 +0000)]
Documentation changes for Qwell

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix up meetme some more (thanks TonyM!!!)
Joshua Colp [Wed, 31 May 2006 22:54:58 +0000 (22:54 +0000)]
Fix up meetme some more (thanks TonyM!!!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31163 65c4cc65-6c06-0410-ace0-fbb531ad65f3