Commit Graph

8325 Commits

Author SHA1 Message Date
Tilghman Lesher 9fd91e0829 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
2006-05-11 23:16:27 +00:00
Russell Bryant ad8ff708de fix the build with astmm (issue #7139)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 21:24:54 +00:00
Russell Bryant 8a390e342a 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
2006-05-11 20:29:00 +00:00
Luigi Rizzo b91ce5a738 set correct type for lock initializers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:21:11 +00:00
Russell Bryant f9c578a8a0 - 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
2006-05-11 20:07:44 +00:00
Luigi Rizzo 126ce7882c 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
2006-05-11 20:03:52 +00:00
Luigi Rizzo 46a9459d57 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
2006-05-11 15:51:43 +00:00
Luigi Rizzo 1f0d723c1e 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
2006-05-11 15:50:25 +00:00
Luigi Rizzo 2b8bc286ef 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
2006-05-11 15:25:21 +00:00
Mark Spencer c696006923 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
2006-05-11 14:56:52 +00:00
Luigi Rizzo 87e909476d simplify determine_firstline_parts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:55:34 +00:00
Luigi Rizzo f3e6fa56ab remove last instance of add_blank_header()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:47:12 +00:00
Luigi Rizzo b87aea8d60 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
2006-05-11 14:35:06 +00:00
Olle Johansson 5237a0e06d - 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
2006-05-11 13:54:00 +00:00
Kevin P. Fleming 76347c8d31 various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 13:15:10 +00:00
Kevin P. Fleming 74cd80b1a4 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
2006-05-11 10:37:39 +00:00
Russell Bryant 1a8f3dd2d2 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
2006-05-11 10:28:37 +00:00
Kevin P. Fleming a541309599 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
2006-05-11 10:28:22 +00:00
Luigi Rizzo 945ec73b09 remove trailing space
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:26:39 +00:00
Luigi Rizzo 589241e300 remove a duplicate prototype
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:26:00 +00:00
Luigi Rizzo 96478ea3a2 remove duplicated code in add_header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:22:18 +00:00
Russell Bryant 476c7a53e1 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
2006-05-11 10:20:16 +00:00
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