Olle Johansson [Tue, 16 May 2006 12:44:04 +0000 (12:44 +0000)]
One sipfrag attachment is enough...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27306
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 16 May 2006 12:42:59 +0000 (12:42 +0000)]
- Format fixes
- Adding if(option_debug) in front of complicated debug messages...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 16 May 2006 03:18:57 +0000 (03:18 +0000)]
return the result of the cli command registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 16 May 2006 03:18:22 +0000 (03:18 +0000)]
fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27269
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 15 May 2006 19:46:26 +0000 (19:46 +0000)]
allow func_cdr to set amaflags patch provided by
bug 7166
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27231
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 15 May 2006 15:30:21 +0000 (15:30 +0000)]
Make sure that the channel is answered before doing SpeechBackground. (issue #josh-wait-I-dont-have-issue-numbers)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27194
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 13 May 2006 11:06:34 +0000 (11:06 +0000)]
simplify conference user list handling
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27153
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 13 May 2006 10:54:40 +0000 (10:54 +0000)]
Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 13 May 2006 10:43:11 +0000 (10:43 +0000)]
remove some stuff handled by configure and menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27129
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 13 May 2006 10:37:26 +0000 (10:37 +0000)]
remove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
before it was ever set. This removes another stray space in the gcc
commands :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27128
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 13 May 2006 04:18:25 +0000 (04:18 +0000)]
Merged revisions 27093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r27093 | tilghman | 2006-05-12 23:08:29 -0500 (Fri, 12 May 2006) | 2 lines
Bug 7134 - File descriptor leak with ODBC storage of voicemail
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27094
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 11 May 2006 23:16:27 +0000 (23:16 +0000)]
Merged revisions 27051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r27051 | tilghman | 2006-05-11 18:02:57 -0500 (Thu, 11 May 2006) | 2 lines
Bug 7086 - pbx_checkcondition substitution, so that arbitrary strings are true (for regex)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27052
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 21:24:54 +0000 (21:24 +0000)]
fix the build with astmm (issue #7139)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 20:29:00 +0000 (20:29 +0000)]
use config.status instead of include/autoconfig.h as the dependency
for menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26992
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 20:21:11 +0000 (20:21 +0000)]
set correct type for lock initializers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26991
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 20:07:44 +0000 (20:07 +0000)]
- The recent change to linklists.h broke the build on linux for some reason.
So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them
with the equivalent static initializations.
- On passing, fix a memory leak in the unload_module() function of chan_agent.
The agents list mutex was never destroyed, and the elements in the agents
list were not freed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26990
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 20:03:52 +0000 (20:03 +0000)]
oops, missing ! in matchcid...
this should fix bug #7142
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26989
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 15:51:43 +0000 (15:51 +0000)]
remove a now useless debugging message about loading new-style modules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26955
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 15:50:25 +0000 (15:50 +0000)]
properly initialize non-static locks.
(Thanks Dinesh for tracking the bug and fixing it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26954
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 15:25:21 +0000 (15:25 +0000)]
cast sockaddr_in to sockaddr because we need that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26952
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Thu, 11 May 2006 14:56:52 +0000 (14:56 +0000)]
Go ahead and merge STUN mods for RTP in preparation for some STUN
support in SIP.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26920
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 14:55:34 +0000 (14:55 +0000)]
simplify determine_firstline_parts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26919
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 14:47:12 +0000 (14:47 +0000)]
remove last instance of add_blank_header()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26917
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 14:35:06 +0000 (14:35 +0000)]
remove almost all useless instances of add_blank_header() but one,
for which i need to investigate a bit more (but i am almost 100%
sure that one is also useless).
I do the commit in two steps so it is easier to track the problem.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26915
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 13:54:00 +0000 (13:54 +0000)]
- Use systemname for realm in sip, if we have no configuration for realm
- Optionally send systemname in manager (cool when you have a manager proxy)
- Use systemname in CLI prompt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26884
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 13:15:10 +0000 (13:15 +0000)]
various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26877
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 10:37:39 +0000 (10:37 +0000)]
use the proper method to get out of the bridge loop
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26851
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 10:28:37 +0000 (10:28 +0000)]
forcing a dist-clean in the cleantest was a bad idea. Just change the script
that generates buildopts.h to handle old menuselect.makeopts files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 10:28:22 +0000 (10:28 +0000)]
initialize the bridge result to 'no result', so that we can check for code paths that set it to AST_BRIDGE_COMPLETE inside the loop (thanks Oskar!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26849
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 10:26:39 +0000 (10:26 +0000)]
remove trailing space
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26848
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 10:26:00 +0000 (10:26 +0000)]
remove a duplicate prototype
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26847
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 10:22:18 +0000 (10:22 +0000)]
remove duplicated code in add_header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26846
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 10:20:16 +0000 (10:20 +0000)]
add messages at the bottom of the menu for each of the defines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26845
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 10:12:34 +0000 (10:12 +0000)]
remove a trailing tab ... now this Makefile is perfect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26840
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 11 May 2006 09:50:41 +0000 (09:50 +0000)]
change the CFLAGS controlled by menuselect to be placed in a header file
instead of being added to the compiler commands. This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26808
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 09:38:53 +0000 (09:38 +0000)]
simplify init_req()
As the rest of the chan_sip.c changes i am committing, this is
Approved by: oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26804
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 09:36:10 +0000 (09:36 +0000)]
cleanup init_resp with proper variable names and arguments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26802
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 09:32:51 +0000 (09:32 +0000)]
staticize a variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26801
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 09:29:37 +0000 (09:29 +0000)]
replace list unlinking with UNLINK macro
(when the list becomes an astobj this will be revisited;
however at the moment the change would be too intrusive).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26800
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 09:24:35 +0000 (09:24 +0000)]
simplify sip_pretend_ack also removing a bug in the existing
code which called ast_skip_blanks erroneously.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26799
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 09:07:45 +0000 (09:07 +0000)]
block revision for fix that was committed here before 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26781
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 09:01:53 +0000 (09:01 +0000)]
Merged revisions 26760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r26760 | kpfleming | 2006-05-11 03:52:46 -0500 (Thu, 11 May 2006) | 2 lines
ensure that we send a response to REGISTER requests that are successfully authenticated but contain invalid Contact URIs
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26764
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Thu, 11 May 2006 08:47:37 +0000 (08:47 +0000)]
Set "MARK" whenever SSRC changes (bug #6934)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26759
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Thu, 11 May 2006 08:28:16 +0000 (08:28 +0000)]
Make sure we handle long information elements (bug #6654)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26758
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 08:25:20 +0000 (08:25 +0000)]
Ignore CANCEL on call that is already answered
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26757
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 08:20:59 +0000 (08:20 +0000)]
Small formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26756
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 08:08:54 +0000 (08:08 +0000)]
Issue #OEJ12399.3 - Set default maxcallbitrate for users too.
(Well, could have opened a branch for this, but felt community pressure not to... ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26755
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 08:00:35 +0000 (08:00 +0000)]
normalize the code to navigate through extensions and priorities
(use the walk_*() routines so we don't use the link fields
directly, and slightly restructure the blocks to reduce
the nesting depth).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26723
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 07:57:03 +0000 (07:57 +0000)]
- Add more and organize forward declarations (preparing for splitting up this file)
- Doxygen fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26720
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 11 May 2006 07:49:12 +0000 (07:49 +0000)]
fix behaviour for earlymatch and matchmore.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26719
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 11 May 2006 07:25:03 +0000 (07:25 +0000)]
Issue #7081 (kanoop) - use proper cause code for 480
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26716
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 22:14:56 +0000 (22:14 +0000)]
replace a macro with actual code;
mark dubious code with XXX.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26686
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 21:55:25 +0000 (21:55 +0000)]
change macro into a function, remove unused code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26656
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 21:12:55 +0000 (21:12 +0000)]
start cleanup indentation etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26655
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 20:44:28 +0000 (20:44 +0000)]
lock conlock before accessing the list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26625
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 20:34:18 +0000 (20:34 +0000)]
lots of comments trying to document the agreed behaviour of
E_MATCHMORE and '!'.
If the comments are correct, the code must be slightly changed
(simplified).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26624
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 19:45:45 +0000 (19:45 +0000)]
use ast_calloc instaed of calloc, and remove a couple of duplicated
error messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26594
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 10 May 2006 16:14:26 +0000 (16:14 +0000)]
and chan_iax2 gets smaller... remove the old jitterbuffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26564
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 15:41:23 +0000 (15:41 +0000)]
remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26531
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 15:38:54 +0000 (15:38 +0000)]
support reload say.conf to ease testing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26529
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 15:30:59 +0000 (15:30 +0000)]
use the channel lock wrappers (issue #7120, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26528
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 15:30:37 +0000 (15:30 +0000)]
german syntax for numbers from christian richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26527
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 15:17:58 +0000 (15:17 +0000)]
use the channel lock wrappers (issue #7128)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26526
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Wed, 10 May 2006 15:13:26 +0000 (15:13 +0000)]
Fix buglet on debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 10 May 2006 15:00:33 +0000 (15:00 +0000)]
update the ->indicate() callback for the new arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26495
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 14:35:38 +0000 (14:35 +0000)]
suppress the output from generating defaults.h and versions.h, as well as
checking the cleancount
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26492
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 13:22:15 +0000 (13:22 +0000)]
remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 10 May 2006 13:05:17 +0000 (13:05 +0000)]
remove a debug message and make the exit keys not be case sensitive
inside of a category menu
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26441
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 10 May 2006 12:24:11 +0000 (12:24 +0000)]
ensure that control frames with payload can be sent to channel drivers via ->indicate()
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26417
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 12:17:25 +0000 (12:17 +0000)]
fix indentation of two large blocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26416
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 11:38:43 +0000 (11:38 +0000)]
fix a couple of misindented lines;
prepare reduce nesting level in a couple of blocks by
inverting an if () statement (indentation change to be committed
separately).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26378
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 10:48:29 +0000 (10:48 +0000)]
add missing rule
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26347
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 10:41:38 +0000 (10:41 +0000)]
provide a correct return value in case everything goes well,
so you won't get random failures running menuselect.
Detected by -Wall -Werror
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26346
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 10:10:03 +0000 (10:10 +0000)]
use 'switch' insteaf of multiple 'if'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26345
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Wed, 10 May 2006 09:09:16 +0000 (09:09 +0000)]
Allow media to go directly between IAX endpoints while signalling still
goes through the existing path.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26314
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 07:45:14 +0000 (07:45 +0000)]
document special character interpretation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26283
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 07:19:29 +0000 (07:19 +0000)]
indentation fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26282
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 10 May 2006 07:13:23 +0000 (07:13 +0000)]
prevent a warning for uninitialized variable.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26281
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Wed, 10 May 2006 02:57:20 +0000 (02:57 +0000)]
Implement new support for "meetme list <confno> concise"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26250
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 18:34:30 +0000 (18:34 +0000)]
implement the new sorting algorithm for extensions,
see the documentation near functions ext_cmp1() and ext_cmp().
All sorting decisions are now in one place so it is easy
to revise them.
NOTE
the major change is that now most specific patterns come first,
so there might be differences in how diaplans behave.
If you really really really need to revert to the old sorting order
while you adapt your dialplan, you can uncomment the '#if 0' line
in ext_cmp().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26216
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 16:24:07 +0000 (16:24 +0000)]
various doxygen fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26170
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 16:19:24 +0000 (16:19 +0000)]
clear memory before passing to ASTOBJ_INIT
Mayne it is unnecessary, but otherwise there code believes
the mutex is already initialized.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26166
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 9 May 2006 15:17:12 +0000 (15:17 +0000)]
Formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26131
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Tue, 9 May 2006 15:01:10 +0000 (15:01 +0000)]
Make sure that we don't accept an answer on an inbound call and don't permit asterisk to answer an outbound call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26103
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 14:43:00 +0000 (14:43 +0000)]
remove rule for running bootstrap, it's only safe to run it manually now
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26094
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 14:25:57 +0000 (14:25 +0000)]
use an enum for control frame types
support sending control frames with payload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26093
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 14:25:31 +0000 (14:25 +0000)]
minor cleanups and removal of duplicate prototypes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26092
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 9 May 2006 14:21:33 +0000 (14:21 +0000)]
This app is deprecated in /trunk, and thus, the change should not come forward.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26091
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 13:55:33 +0000 (13:55 +0000)]
remove duplicate atof() invokation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26055
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 13:52:01 +0000 (13:52 +0000)]
normalize code, remove some useless casts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26054
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 9 May 2006 13:33:54 +0000 (13:33 +0000)]
Merged revisions 26050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines
Correct memory leak in find_user_realtime #7118 (fnordian)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26051
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 13:26:50 +0000 (13:26 +0000)]
use aclocal version 1.9 instead of 1.4 :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26049
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 13:20:52 +0000 (13:20 +0000)]
ignore some more auto-generated files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26048
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 9 May 2006 13:19:43 +0000 (13:19 +0000)]
update to include latest FreeBSD changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26047
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 9 May 2006 13:14:37 +0000 (13:14 +0000)]
add regenerated configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26046
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 11:45:26 +0000 (11:45 +0000)]
add default values for CPPFLAGS and LDFLAGS on FreeBSD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26020
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Tue, 9 May 2006 11:44:50 +0000 (11:44 +0000)]
Make SIP early media work more efficiently without so many reinvites
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 11:29:34 +0000 (11:29 +0000)]
change some log_warning into log_debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26017
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 9 May 2006 11:27:33 +0000 (11:27 +0000)]
do not use a variable name that hides a useful library symbol (time())
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26016
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 9 May 2006 10:43:08 +0000 (10:43 +0000)]
change the check for zaptel to only check for linux/zaptel.h on Linux, and
zaptel.h otherwise
If you did ./configure --with-tonezone=/usr/local/ on FreeBSD, it would run
the first macro which would not find it, but it wouldn't make it to the second
macro because the first check saw that --with-tonezone was specified and would
exit with error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25989
65c4cc65-6c06-0410-ace0-
fbb531ad65f3