Russell Bryant
7c6766e67b
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
2006-05-11 10:12:34 +00:00
Russell Bryant
44d4ed1b37
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
2006-05-11 09:50:41 +00:00
Luigi Rizzo
d06427978c
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
2006-05-11 09:38:53 +00:00
Luigi Rizzo
5cd1ec4e17
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
2006-05-11 09:36:10 +00:00
Luigi Rizzo
e08e646252
staticize a variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:32:51 +00:00
Luigi Rizzo
798b82e184
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
2006-05-11 09:29:37 +00:00
Luigi Rizzo
067c472abb
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
2006-05-11 09:24:35 +00:00
Kevin P. Fleming
0cc5a88350
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
2006-05-11 09:07:45 +00:00
Kevin P. Fleming
70a554a264
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
2006-05-11 09:01:53 +00:00
Mark Spencer
dda130c334
Set "MARK" whenever SSRC changes (bug #6934 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 08:47:37 +00:00
Mark Spencer
c16bf2c7dd
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
2006-05-11 08:28:16 +00:00
Olle Johansson
71aabeef4f
Ignore CANCEL on call that is already answered
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 08:25:20 +00:00
Olle Johansson
2dd2865d7b
Small formatting fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 08:20:59 +00:00
Olle Johansson
52cb5c87db
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
2006-05-11 08:08:54 +00:00
Luigi Rizzo
52e35b96bf
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
2006-05-11 08:00:35 +00:00
Olle Johansson
9b2d51fb4a
- 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
2006-05-11 07:57:03 +00:00
Luigi Rizzo
62caa0be55
fix behaviour for earlymatch and matchmore.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 07:49:12 +00:00
Olle Johansson
d04f0da698
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
2006-05-11 07:25:03 +00:00
Luigi Rizzo
c5e9360e8e
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
2006-05-10 22:14:56 +00:00
Luigi Rizzo
7c415648d1
change macro into a function, remove unused code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 21:55:25 +00:00
Luigi Rizzo
b09dd8708b
start cleanup indentation etc.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 21:12:55 +00:00
Luigi Rizzo
466407e814
lock conlock before accessing the list.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 20:44:28 +00:00
Luigi Rizzo
8fcae1192d
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
2006-05-10 20:34:18 +00:00
Russell Bryant
8f8c2a7052
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
2006-05-10 19:45:45 +00:00
Kevin P. Fleming
5fb4e7019f
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
2006-05-10 16:14:26 +00:00
Russell Bryant
19ca8dc7c1
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
2006-05-10 15:41:23 +00:00
Luigi Rizzo
698cead822
support reload say.conf to ease testing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:38:54 +00:00
Russell Bryant
932c5c7fd7
use the channel lock wrappers (issue #7120 , Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:30:59 +00:00
Luigi Rizzo
e0f0f4b4a4
german syntax for numbers from christian richter
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:30:37 +00:00
Russell Bryant
6ea26d0bee
use the channel lock wrappers (issue #7128 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:17:58 +00:00
Mark Spencer
8e9e1ac6bc
Fix buglet on debug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:13:26 +00:00
Kevin P. Fleming
b5a7328dbe
update the ->indicate() callback for the new arguments
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:00:33 +00:00
Russell Bryant
a1aefcd03d
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
2006-05-10 14:35:38 +00:00
Russell Bryant
04ecb29d03
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
2006-05-10 13:22:15 +00:00
Russell Bryant
8e897e1a53
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
2006-05-10 13:05:17 +00:00
Kevin P. Fleming
fdcfd6469b
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
2006-05-10 12:24:11 +00:00
Luigi Rizzo
1904069f71
fix indentation of two large blocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 12:17:25 +00:00
Luigi Rizzo
c99f6d4576
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
2006-05-10 11:38:43 +00:00
Luigi Rizzo
16ee7c509c
add missing rule
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 10:48:29 +00:00
Luigi Rizzo
97c275d768
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
2006-05-10 10:41:38 +00:00
Luigi Rizzo
298eec4d28
use 'switch' insteaf of multiple 'if'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 10:10:03 +00:00
Mark Spencer
66ed134473
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
2006-05-10 09:09:16 +00:00
Luigi Rizzo
e8dcc5d429
document special character interpretation.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 07:45:14 +00:00
Luigi Rizzo
67fb4f4a02
indentation fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 07:19:29 +00:00
Luigi Rizzo
0b3482cedc
prevent a warning for uninitialized variable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 07:13:23 +00:00
BJ Weschke
2d65bd68f1
Implement new support for "meetme list <confno> concise"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 02:57:20 +00:00
Luigi Rizzo
eb28827660
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
2006-05-09 18:34:30 +00:00
Kevin P. Fleming
ed3ffb4b46
various doxygen fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 16:24:07 +00:00
Luigi Rizzo
674c5e9b0b
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
2006-05-09 16:19:24 +00:00
Olle Johansson
2b3ae24942
Formatting fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 15:17:12 +00:00