asterisk/asterisk.git
13 years agoMerged revisions 33294 via svnmerge from
Joshua Colp [Fri, 9 Jun 2006 18:12:46 +0000 (18:12 +0000)]
Merged revisions 33294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines

Handle hangup during recording of screened name (issue #7304 reported by kulldominique)

........

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

13 years agoAdd more missing newlines (issue #7323 reported by darkskiez)
Joshua Colp [Fri, 9 Jun 2006 16:36:54 +0000 (16:36 +0000)]
Add more missing newlines (issue #7323 reported by darkskiez)

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

13 years agoBlocked revisions 33264 via svnmerge
Joshua Colp [Fri, 9 Jun 2006 16:33:34 +0000 (16:33 +0000)]
Blocked revisions 33264 via svnmerge

........
r33264 | file | 2006-06-09 13:31:29 -0300 (Fri, 09 Jun 2006) | 2 lines

Add missing newlines (issue #7323 reported by darkskiez)

........

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

13 years agoconvert one of my linked lists to ast_linklist
Matt O'Gorman [Fri, 9 Jun 2006 16:08:33 +0000 (16:08 +0000)]
convert one of my linked lists to ast_linklist

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

13 years agoDon't force context for domain= setting (imported from 1.2)
Olle Johansson [Fri, 9 Jun 2006 15:57:28 +0000 (15:57 +0000)]
Don't force context for domain= setting (imported from 1.2)

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

13 years agoRemove the return value from functions that return something that is never checked...
Olle Johansson [Fri, 9 Jun 2006 13:35:41 +0000 (13:35 +0000)]
Remove the return value from functions that return something that is never checked anywhere.

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

13 years agowhen we don't want the call we need to release_complete it.. ignoring it breaks the...
Christian Richter [Fri, 9 Jun 2006 10:31:30 +0000 (10:31 +0000)]
when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..

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

13 years agoRename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
Olle Johansson [Fri, 9 Jun 2006 09:47:44 +0000 (09:47 +0000)]
Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.

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

13 years agoEnabling and disabling debug messages...
Olle Johansson [Fri, 9 Jun 2006 09:38:13 +0000 (09:38 +0000)]
Enabling and disabling debug messages...

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

13 years agoMove a couple semicolons to a more traditional location. Was pointed out by Steven...
Jeffrey C. Ollie [Fri, 9 Jun 2006 02:20:25 +0000 (02:20 +0000)]
Move a couple semicolons to a more traditional location.  Was pointed out by Steven <critch@basesys.com> on the -dev list.

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

13 years agomove 'struct ast_rtp' back to rtp.c where it belongs
Kevin P. Fleming [Thu, 8 Jun 2006 23:10:45 +0000 (23:10 +0000)]
move 'struct ast_rtp' back to rtp.c where it belongs

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

13 years agoalways include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
Russell Bryant [Thu, 8 Jun 2006 20:49:59 +0000 (20:49 +0000)]
always include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
problem on mac and place asterisk.h back at the top of menuselect.c

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

13 years agoDebug logging fixes
Olle Johansson [Thu, 8 Jun 2006 20:30:20 +0000 (20:30 +0000)]
Debug logging fixes

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

13 years agoMake menuselect compile on os/x...
Olle Johansson [Thu, 8 Jun 2006 20:16:19 +0000 (20:16 +0000)]
Make menuselect compile on os/x...

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

13 years agoAt least reply if we get a fatal error in handling a packet.
Olle Johansson [Thu, 8 Jun 2006 20:14:54 +0000 (20:14 +0000)]
At least reply if we get a fatal error in handling a packet.

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

13 years agoDon't crash if chan2 does not exist (one-legged call situations, like echo)
Olle Johansson [Thu, 8 Jun 2006 20:07:05 +0000 (20:07 +0000)]
Don't crash if chan2 does not exist (one-legged call situations, like echo)

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

13 years agoImprove SIP history
Olle Johansson [Thu, 8 Jun 2006 20:06:04 +0000 (20:06 +0000)]
Improve SIP history

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

13 years agoAvoid using the name "early media" for media that is not early
Olle Johansson [Thu, 8 Jun 2006 20:05:36 +0000 (20:05 +0000)]
Avoid using the name "early media" for media that is not early

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

13 years agodocument the new sound/moh file installation process
Kevin P. Fleming [Thu, 8 Jun 2006 19:48:36 +0000 (19:48 +0000)]
document the new sound/moh file installation process

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

13 years agoIssue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
Olle Johansson [Thu, 8 Jun 2006 18:13:06 +0000 (18:13 +0000)]
Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!

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

13 years agoDoxygen updates
Olle Johansson [Thu, 8 Jun 2006 18:03:08 +0000 (18:03 +0000)]
Doxygen updates

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

13 years agohandle out-of-memory conditions in ast_frisolate() properly (reported by Slav Kenov...
Kevin P. Fleming [Thu, 8 Jun 2006 16:59:44 +0000 (16:59 +0000)]
handle out-of-memory conditions in ast_frisolate() properly (reported by Slav Kenov on asterisk-dev)

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

13 years agotry to get keyword substitution working for this file
Kevin P. Fleming [Thu, 8 Jun 2006 16:36:34 +0000 (16:36 +0000)]
try to get keyword substitution working for this file

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

13 years agoFixed detection of dtmfs with bridged channels.
Christian Richter [Thu, 8 Jun 2006 09:51:13 +0000 (09:51 +0000)]
Fixed detection of dtmfs with bridged channels.

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

13 years agoUpdate doxygen for video formats
Olle Johansson [Thu, 8 Jun 2006 08:15:43 +0000 (08:15 +0000)]
Update doxygen for video formats

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

13 years agoAdd video.txt to doxygen
Olle Johansson [Thu, 8 Jun 2006 08:13:32 +0000 (08:13 +0000)]
Add video.txt to doxygen

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

13 years agoDoxygen update
Olle Johansson [Thu, 8 Jun 2006 08:10:58 +0000 (08:10 +0000)]
Doxygen update

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

13 years agoDoxygen formatting
Olle Johansson [Thu, 8 Jun 2006 07:29:46 +0000 (07:29 +0000)]
Doxygen formatting

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

13 years agoEnable doxygen
Olle Johansson [Thu, 8 Jun 2006 07:26:05 +0000 (07:26 +0000)]
Enable doxygen

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

13 years agoCleanup formatting a little...
Mark Spencer [Thu, 8 Jun 2006 05:24:50 +0000 (05:24 +0000)]
Cleanup formatting a little...

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

13 years agomove the common wget arguments to a variable and remove --no-verbose so
Russell Bryant [Wed, 7 Jun 2006 23:09:41 +0000 (23:09 +0000)]
move the common wget arguments to a variable and remove --no-verbose so
users will see download progress

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

13 years agook, new sounds/moh handling stuff should be done... bring on the bug reports!
Kevin P. Fleming [Wed, 7 Jun 2006 22:55:46 +0000 (22:55 +0000)]
ok, new sounds/moh handling stuff should be done... bring on the bug reports!

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

13 years agosolves some bugs with memory allocation, and adds
Matt O'Gorman [Wed, 7 Jun 2006 22:43:20 +0000 (22:43 +0000)]
solves some bugs with memory allocation, and adds
a message stack.

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

13 years agomoh files will now be distributed in native format, not mp3, so...
Kevin P. Fleming [Wed, 7 Jun 2006 22:37:31 +0000 (22:37 +0000)]
moh files will now be distributed in native format, not mp3, so...
update sounds/Makefile to download/unpack the proper files
remove all evidence of mpg123 from the main Makefile
change the sample musiconhold.conf file to use native mode instead of mp3

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

13 years agook, now it knows how to auto-download and install
Kevin P. Fleming [Wed, 7 Jun 2006 22:03:02 +0000 (22:03 +0000)]
ok, now it knows how to auto-download and install

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

13 years agodon't force the sounds to download... only when needed
Kevin P. Fleming [Wed, 7 Jun 2006 21:05:05 +0000 (21:05 +0000)]
don't force the sounds to download... only when needed
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'

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

13 years agowoo-hoo, now it knows how to download the sound packages... doesn't install them...
Kevin P. Fleming [Wed, 7 Jun 2006 20:54:30 +0000 (20:54 +0000)]
woo-hoo, now it knows how to download the sound packages... doesn't install them yet though

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

13 years agoprepare for using sound files from out of the source tree
Kevin P. Fleming [Wed, 7 Jun 2006 20:19:40 +0000 (20:19 +0000)]
prepare for using sound files from out of the source tree

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

13 years agofix a typo in an option name in config parsing
Russell Bryant [Wed, 7 Jun 2006 20:08:29 +0000 (20:08 +0000)]
fix a typo in an option name in config parsing

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

13 years agosimplify the loop that iterates through the categories in followme.conf and
Russell Bryant [Wed, 7 Jun 2006 20:02:07 +0000 (20:02 +0000)]
simplify the loop that iterates through the categories in followme.conf and
don't try to read the general section as a followme profile

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

13 years agofix the build with astmm enabled
Russell Bryant [Wed, 7 Jun 2006 19:53:03 +0000 (19:53 +0000)]
fix the build with astmm enabled

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

13 years agofix an incorrect usage of scanf, where it should be using sscanf, instead,
Russell Bryant [Wed, 7 Jun 2006 19:42:37 +0000 (19:42 +0000)]
fix an incorrect usage of scanf, where it should be using sscanf, instead,
which was causing asterisk to hang when loading this module
(reported by blitzrage on IRC)

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

13 years agoput the proper filename into the ignore property
Kevin P. Fleming [Wed, 7 Jun 2006 19:06:30 +0000 (19:06 +0000)]
put the proper filename into the ignore property

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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