asterisk/asterisk.git
14 years agomove autoconfig.h to the include/asterisk directory so it will get installed
Kevin P. Fleming [Wed, 7 Jun 2006 19:05:35 +0000 (19:05 +0000)]
move autoconfig.h to the include/asterisk directory so it will get installed
install asterisk.h include the system's default include directory

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

14 years agosimplify autoconfig include mechanism (make tholo happy he can use lint again :-)
Kevin P. Fleming [Wed, 7 Jun 2006 18:54:56 +0000 (18:54 +0000)]
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)

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

14 years agoremove the WITH_SMDI define
Russell Bryant [Wed, 7 Jun 2006 18:28:29 +0000 (18:28 +0000)]
remove the WITH_SMDI define

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

14 years agoMerged revisions 32818 via svnmerge from
Russell Bryant [Wed, 7 Jun 2006 17:54:26 +0000 (17:54 +0000)]
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

14 years agoadd an updated patch that adds dnsmgr support for outgoing iax2 registrations
Russell Bryant [Wed, 7 Jun 2006 17:44:36 +0000 (17:44 +0000)]
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

14 years agoremove the need to have to re-run make after a default menuselect.makeopts
Russell Bryant [Wed, 7 Jun 2006 16:03:31 +0000 (16:03 +0000)]
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

14 years agochanged the clean_up_bc function to work proper again. fixed the print with the confe...
Christian Richter [Wed, 7 Jun 2006 13:01:02 +0000 (13:01 +0000)]
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

14 years agorevert my changes to convert fields of zt_pvt to use stringfields. When I did
Russell Bryant [Tue, 6 Jun 2006 23:22:12 +0000 (23:22 +0000)]
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

14 years agoAdd q.921 state information. (#7260)
Matthew Fredrickson [Tue, 6 Jun 2006 22:19:19 +0000 (22:19 +0000)]
Add q.921 state information. (#7260)

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

14 years agooops.
Russell Bryant [Tue, 6 Jun 2006 21:03:18 +0000 (21:03 +0000)]
oops.

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

14 years agomove a variable declaration to the beginning of a block
Russell Bryant [Tue, 6 Jun 2006 20:55:17 +0000 (20:55 +0000)]
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

14 years agouse sizeof to determine the size of a buffer
Russell Bryant [Tue, 6 Jun 2006 20:47:46 +0000 (20:47 +0000)]
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

14 years agouse sizeof to get the size of a buffer
Russell Bryant [Tue, 6 Jun 2006 20:45:26 +0000 (20:45 +0000)]
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

14 years ago More updates.
BJ Weschke [Tue, 6 Jun 2006 20:44:50 +0000 (20:44 +0000)]
 More updates.

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

14 years agomake a global list head static
Russell Bryant [Tue, 6 Jun 2006 20:44:10 +0000 (20:44 +0000)]
make a global list head static

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

14 years ago More cleanup.
BJ Weschke [Tue, 6 Jun 2006 20:39:11 +0000 (20:39 +0000)]
 More cleanup.

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

14 years agomove a declaration to the beginning of a block
Russell Bryant [Tue, 6 Jun 2006 20:37:51 +0000 (20:37 +0000)]
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

14 years ago Don't leak memory.
BJ Weschke [Tue, 6 Jun 2006 20:34:00 +0000 (20:34 +0000)]
 Don't leak memory.

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

14 years agoallocate an int on the stack instead of with ast_calloc
Russell Bryant [Tue, 6 Jun 2006 20:18:01 +0000 (20:18 +0000)]
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

14 years agoAll better now!
BJ Weschke [Tue, 6 Jun 2006 20:04:52 +0000 (20:04 +0000)]
All better now!

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

14 years agofixes some issues with description loggin on presence
Matt O'Gorman [Tue, 6 Jun 2006 19:51:26 +0000 (19:51 +0000)]
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

14 years agofix a potential segfault
Matt O'Gorman [Tue, 6 Jun 2006 19:18:44 +0000 (19:18 +0000)]
fix a potential segfault

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

14 years agoadd missing include
Russell Bryant [Tue, 6 Jun 2006 19:07:52 +0000 (19:07 +0000)]
add missing include

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

14 years agoallow presence events to be handled before the
Matt O'Gorman [Tue, 6 Jun 2006 18:51:37 +0000 (18:51 +0000)]
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

14 years agofixed autoregister bug.
Matt O'Gorman [Tue, 6 Jun 2006 17:25:07 +0000 (17:25 +0000)]
fixed autoregister bug.

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

14 years ago If the recorded file is found, don't actually start to play it.
BJ Weschke [Tue, 6 Jun 2006 17:15:16 +0000 (17:15 +0000)]
 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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