Russell Bryant [Sat, 2 Dec 2006 03:53:02 +0000 (03:53 +0000)]
Blocked revisions 48195 via svnmerge
........
r48195 | russell | 2006-12-01 22:50:58 -0500 (Fri, 01 Dec 2006) | 3 lines
Backport the comment containing the warning regarding the limitations on the
usage of this function. It is thread safe, but not technically reentrant.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48196
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 1 Dec 2006 23:39:59 +0000 (23:39 +0000)]
Merged revisions 48193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48193 | kpfleming | 2006-12-01 17:37:28 -0600 (Fri, 01 Dec 2006) | 10 lines
Merged revisions 48192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006) | 2 lines
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48194
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 1 Dec 2006 23:20:17 +0000 (23:20 +0000)]
Merged revisions 48190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48190 | russell | 2006-12-01 18:16:28 -0500 (Fri, 01 Dec 2006) | 12 lines
FreeBSD 6.1 does not include wget by default. However, it has fetch which will
work just fine for our purposes of downloading the sounds packages. So, check
for both wget and fetch and the configure script and use what was found to
download them. If neither one was found, and sound packages are selected that
must be downloaded, the install process will print out an informative error
message indicating the situation.
Also, fix a couple places where "make" was hard coded into some output messages
by replacing them with the $(MAKE) variable.
(issue #8451, initial patch by pabelanger, with additional modifications by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48191
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 1 Dec 2006 20:49:06 +0000 (20:49 +0000)]
Formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48188
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 1 Dec 2006 20:26:44 +0000 (20:26 +0000)]
Merged revisions 48186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48186 | qwell | 2006-12-01 14:25:51 -0600 (Fri, 01 Dec 2006) | 10 lines
Merged revisions 48183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48183 | qwell | 2006-12-01 14:19:10 -0600 (Fri, 01 Dec 2006) | 2 lines
Fix a small typo - issue 8848, reported by pabelanger
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48187
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 1 Dec 2006 19:41:02 +0000 (19:41 +0000)]
Merged revisions 48179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48179 | tilghman | 2006-12-01 13:38:59 -0600 (Fri, 01 Dec 2006) | 2 lines
Double-unlock error (reported by blitzrage on IRC)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48180
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 1 Dec 2006 18:16:16 +0000 (18:16 +0000)]
- Remove T.38 early media, since T.38 requires two way communication (imported from 1.4)
- Small fixes to limitonpeer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48178
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 1 Dec 2006 17:33:56 +0000 (17:33 +0000)]
Tiny doxygen improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48175
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 21:22:01 +0000 (21:22 +0000)]
Merged revisions 48168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48168 | file | 2006-11-30 16:18:24 -0500 (Thu, 30 Nov 2006) | 2 lines
Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48169
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 20:55:43 +0000 (20:55 +0000)]
Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48167
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 20:34:23 +0000 (20:34 +0000)]
Documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48164
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 20:29:11 +0000 (20:29 +0000)]
Blocked revisions 48162 via svnmerge
................
r48162 | file | 2006-11-30 15:28:19 -0500 (Thu, 30 Nov 2006) | 9 lines
Blocked revisions 48161 via svnmerge
........
r48161 | file | 2006-11-30 15:27:29 -0500 (Thu, 30 Nov 2006) | 2 lines
Don't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue #8390 reported by hselasky)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48163
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 20:09:46 +0000 (20:09 +0000)]
Merged revisions 48158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48158 | file | 2006-11-30 15:07:55 -0500 (Thu, 30 Nov 2006) | 10 lines
Merged revisions 48157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48157 | file | 2006-11-30 15:06:43 -0500 (Thu, 30 Nov 2006) | 2 lines
Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48160
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 19:06:22 +0000 (19:06 +0000)]
Merged revisions 48155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48155 | file | 2006-11-30 14:05:14 -0500 (Thu, 30 Nov 2006) | 10 lines
Merged revisions 48154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48154 | file | 2006-11-30 14:04:11 -0500 (Thu, 30 Nov 2006) | 2 lines
Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48156
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 18:49:59 +0000 (18:49 +0000)]
Merged revisions 48152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48152 | file | 2006-11-30 13:47:40 -0500 (Thu, 30 Nov 2006) | 10 lines
Merged revisions 48151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48151 | file | 2006-11-30 13:42:45 -0500 (Thu, 30 Nov 2006) | 2 lines
Print certain CDR messages out at the NOTICE level versus WARNING since they can occur when used with the CDR applications and are perfectly fine. (issue #8367 reported by dartvader)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48153
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 18:25:51 +0000 (18:25 +0000)]
Small update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48150
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 18:22:10 +0000 (18:22 +0000)]
Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48149
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 18:20:57 +0000 (18:20 +0000)]
Blocked revisions 48147 via svnmerge
................
r48147 | file | 2006-11-30 13:19:55 -0500 (Thu, 30 Nov 2006) | 9 lines
Blocked revisions 48146 via svnmerge
........
r48146 | file | 2006-11-30 13:17:54 -0500 (Thu, 30 Nov 2006) | 2 lines
Remember the pointer to the allocated block of memory so that we can free it and not cause a memory leak. (issue #8449 reported by arkadia)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48148
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 17:58:53 +0000 (17:58 +0000)]
Merged revisions 48143 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48143 | file | 2006-11-30 12:57:35 -0500 (Thu, 30 Nov 2006) | 10 lines
Merged revisions 48142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48142 | file | 2006-11-30 12:55:23 -0500 (Thu, 30 Nov 2006) | 2 lines
Document 'port' for SIP peers, came up because of the current mailing list thread. (issue #8450 reported by blitzrage)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48144
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 17:15:54 +0000 (17:15 +0000)]
Adding some generic docs on extension and device states - watchers and providers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48139
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 14:32:52 +0000 (14:32 +0000)]
Add information on status events
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48136
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 30 Nov 2006 09:23:25 +0000 (09:23 +0000)]
Merging patch from 1.2/1.4. I think this was originally spotted by
Luigi, but hit me in the back today.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48130
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 30 Nov 2006 03:29:42 +0000 (03:29 +0000)]
I am pretty sure that oej only meant to change the variable name in the source, not the configuration option name so let's turn it back to srvlookup instead of global_srvlookup. (issue #8442 reported by jtodd)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48123
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 29 Nov 2006 21:07:14 +0000 (21:07 +0000)]
Merged revisions 48115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48115 | file | 2006-11-29 16:05:17 -0500 (Wed, 29 Nov 2006) | 2 lines
Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48116
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 29 Nov 2006 20:57:48 +0000 (20:57 +0000)]
Clarify some settings for status reports in subscriptions, queues and manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48114
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 29 Nov 2006 19:47:45 +0000 (19:47 +0000)]
Explain RTP timeouts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48112
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 29 Nov 2006 19:44:06 +0000 (19:44 +0000)]
Change logging for p2p rtp bridge mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48111
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 29 Nov 2006 17:59:13 +0000 (17:59 +0000)]
- Fix a few spelling mistakes.
- Add some more documentation for the ast_dynamic_str_............() function
to document the behavior of the function in the case of a partial write.
Also, document the return value and note that the function should never need
to be called directly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48110
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 29 Nov 2006 17:37:31 +0000 (17:37 +0000)]
Go ahead and make this write unconditional. Making it conditional is more work
in both the append and non-append modes. Also, always truncating the partial
write makes the behavior of the function more consistent, where in any type of
write, no partial result is left in the buffer.
Thanks for the feedback, luigi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48109
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 29 Nov 2006 16:53:27 +0000 (16:53 +0000)]
Merged revisions 48107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48107 | file | 2006-11-29 11:50:33 -0500 (Wed, 29 Nov 2006) | 10 lines
Merged revisions 48106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48106 | file | 2006-11-29 11:47:10 -0500 (Wed, 29 Nov 2006) | 2 lines
If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48108
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 29 Nov 2006 05:08:19 +0000 (05:08 +0000)]
Remove an XXX command suggesting that this truncation should not be conditional,
and also add a more verbose comment explaining why it is only needed in the
case of appending to the string for any curious readers that come along in the
future.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48103
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 29 Nov 2006 04:28:21 +0000 (04:28 +0000)]
Merged revisions 48101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48101 | file | 2006-11-28 23:26:53 -0500 (Tue, 28 Nov 2006) | 2 lines
Don't crash if the mailstream was not created.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48102
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 29 Nov 2006 03:12:16 +0000 (03:12 +0000)]
Use the proper version of extra sounds. (issue #8441 reported by jtodd)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48100
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 28 Nov 2006 23:13:37 +0000 (23:13 +0000)]
Add a comment to note near some code that performs a very expensive operation
that occurs for every incoming media frame.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48099
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 28 Nov 2006 23:04:36 +0000 (23:04 +0000)]
resolve a couple of compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48098
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 28 Nov 2006 18:28:07 +0000 (18:28 +0000)]
Merged revisions 48095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48095 | qwell | 2006-11-28 12:26:53 -0600 (Tue, 28 Nov 2006) | 2 lines
Export several more variables in top level Makefile. Inspired by issue 8438.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48096
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 17:08:19 +0000 (17:08 +0000)]
don't use outputstr in the struct mansession, it's just
an extra allocation on a path where we have way too many already.
Unfortunately the AMI-over-HTTP requires multiple copies,
because we need to generate a header, then the raw output to
an intermediate buffer, then convert it to html/xml, and
finally copy everything into a malloc'ed buffer because
that's what the generic_http_callback interface expects.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48090
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 28 Nov 2006 16:59:20 +0000 (16:59 +0000)]
Merged revisions 48088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48088 | file | 2006-11-28 11:57:16 -0500 (Tue, 28 Nov 2006) | 10 lines
Merged revisions 48087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov 2006) | 2 lines
According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48089
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 15:53:12 +0000 (15:53 +0000)]
initialize the dynamic string in a sane way.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48086
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 14:07:09 +0000 (14:07 +0000)]
some simplifications to
ast_dynamic_str_thread_build_va_couldnt_we_choose_a_shorter_name()
I am unsure whether the truncation of the string in case of a failed
attempt should be done unconditionally. See the XXX mark.
Russel, ideas ?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48084
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 13:08:56 +0000 (13:08 +0000)]
do not return 500 Internal error if the AMI command provides
no output.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48083
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 12:05:25 +0000 (12:05 +0000)]
mosty comment and documentation cleanup on waitevent.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48082
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 11:20:39 +0000 (11:20 +0000)]
Move the code to purge stale sessions to a function,
to simplify the body of the main loop of the accepting thread.
Rename purge_unused() to purge_events() so one knows what the
function does.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48081
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 10:23:25 +0000 (10:23 +0000)]
Various simplifications of the code:
+ use a wrapper around ast_carefulwrite(), used in two places,
to make life easier when we decide to use a different interface
to the socket.
+ put an ast_verbose() message on astman_append on a case that
should never happen now that we use a temporary file for
AMI-over-HTTP sessions
+ document and slightly simplify process_events() by removing
unnecessary parentheses.
+ in get_input(), use ast_wait_for_input() instead of poll().
We may want to move to a completely non-blocking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48080
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 09:43:44 +0000 (09:43 +0000)]
More informative message on invalid commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48079
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 09:39:16 +0000 (09:39 +0000)]
another normalization of AMI vs HTTP identification.
Should really define a macro IS_AMI(s) so it is clear what
we want to do.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48078
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 09:27:37 +0000 (09:27 +0000)]
always use managerid to determine whether this is an AMI or HTTP session,
and document it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48077
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 28 Nov 2006 00:02:42 +0000 (00:02 +0000)]
In the previous commit i forgot to set the poll_timeout to -1,
causing the http threads to do busy waiting around the socket...
Fix the mistake, sorry for the inconvenience!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48074
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 27 Nov 2006 21:25:55 +0000 (21:25 +0000)]
document the support for running a server on TCP/TLS and
opening an SSL socket.
We are almost ready to make this code available to other modules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48073
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 27 Nov 2006 20:21:40 +0000 (20:21 +0000)]
add a new http.conf option, sslbindaddr.
Because https is more secure than http, it usually
makes sense to keep this service more open than the
one on the unencrypted port.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48071
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 27 Nov 2006 19:19:48 +0000 (19:19 +0000)]
in the helper thread, separate the FILE * creation from the actual
function doing work on the socket. This is another generalization
to provide a generic mechanism to open TCP/TLS socket with a thread
managing the accpet and children threads managing the individual
sessions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48067
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 27 Nov 2006 18:51:10 +0000 (18:51 +0000)]
staticize a global variable and remove an unused field structure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48062
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 27 Nov 2006 18:10:59 +0000 (18:10 +0000)]
Merged revisions 48054 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48054 | file | 2006-11-27 13:06:50 -0500 (Mon, 27 Nov 2006) | 10 lines
Merged revisions 48053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines
Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48056
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 27 Nov 2006 17:31:56 +0000 (17:31 +0000)]
Merged revisions 48049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48049 | tilghman | 2006-11-27 11:20:37 -0600 (Mon, 27 Nov 2006) | 10 lines
Merged revisions 48045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48045 | tilghman | 2006-11-27 11:15:54 -0600 (Mon, 27 Nov 2006) | 2 lines
Random MOH wasn't really random (bug 8381)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48050
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 27 Nov 2006 17:19:47 +0000 (17:19 +0000)]
Blocked revisions 48046 via svnmerge
........
r48046 | russell | 2006-11-27 12:17:40 -0500 (Mon, 27 Nov 2006) | 2 lines
Remove a couple of unused variables (issue #8380, casper)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48048
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 27 Nov 2006 15:48:57 +0000 (15:48 +0000)]
More fixes for referencing a structure after it has been freed. (issue #8425 reported by arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48040
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 27 Nov 2006 15:33:56 +0000 (15:33 +0000)]
Merged revisions 48038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48038 | file | 2006-11-27 10:32:19 -0500 (Mon, 27 Nov 2006) | 10 lines
Merged revisions 48037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48037 | file | 2006-11-27 10:30:37 -0500 (Mon, 27 Nov 2006) | 2 lines
Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48039
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 27 Nov 2006 14:47:15 +0000 (14:47 +0000)]
remove an extra comma in an initializer
Detected by: AST_DEVMODE=yes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48034
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 27 Nov 2006 06:59:20 +0000 (06:59 +0000)]
Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48033
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 27 Nov 2006 06:44:40 +0000 (06:44 +0000)]
Change error message (imported from 1.4)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48032
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 26 Nov 2006 06:55:33 +0000 (06:55 +0000)]
- Add some comments on thread storage with a brief explanation of what it is
as well as what the motivation is for using it.
- Add a comment by the declaration of ast_inet_ntoa() noting that this function
is not reentrant, and the result of a previous call to the function is no
longer valid after calling it again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48019
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 26 Nov 2006 00:31:13 +0000 (00:31 +0000)]
Merged revisions 48017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48017 | murf | 2006-11-25 17:26:16 -0700 (Sat, 25 Nov 2006) | 1 line
might as well also document the raw values of the flag vars
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48018
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 26 Nov 2006 00:15:42 +0000 (00:15 +0000)]
Merged revisions 48015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48015 | murf | 2006-11-25 17:01:34 -0700 (Sat, 25 Nov 2006) | 1 line
A little bit of func_cdr documentation upgrade-- no bug# involved, although 8221 may have inspired it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48016
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 21:50:42 +0000 (21:50 +0000)]
Little fix so we use the right message
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48014
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 21:46:58 +0000 (21:46 +0000)]
Make compiler happier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48013
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 21:35:23 +0000 (21:35 +0000)]
bug fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48012
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 21:32:33 +0000 (21:32 +0000)]
Make sure we don't send a group reset on a group larger than 32 CICs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48011
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 20:54:38 +0000 (20:54 +0000)]
Add ss7 show linkset command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48010
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Sat, 25 Nov 2006 20:30:04 +0000 (20:30 +0000)]
Updates to show linkset command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48009
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 25 Nov 2006 17:37:04 +0000 (17:37 +0000)]
generalize a bit the functions used to create an tcp socket
and then run a service on it.
The code in manager.c does essentially the same things,
so we will be able to reuse the code in here (probably
moving it to netsock.c or another appropriate library file).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48008
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 25 Nov 2006 09:48:30 +0000 (09:48 +0000)]
Changing ERROR to lesser level. Imported from 1.2/1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48004
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 25 Nov 2006 09:45:57 +0000 (09:45 +0000)]
- Adding comment on suspicious memory allocation. Seems like it's never freed, but I don't
have a clear understanding of the frame allocation/deallocation, so I just mark this
for investigation. (Reported by Ed Guy). We're trying to see if a free() hurts...
- Doxygen comments on p2p rtp bridge stuff. I am a bit worried about shortcutting
rtcp this way, but will need feedback from rtcp gurus. This should work for
video calls too, and possibly UDPTL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48003
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 25 Nov 2006 09:02:42 +0000 (09:02 +0000)]
set pointers to NULL after freeing memory to avoid multiple free()
probably 1.4/1.2 issue as well if someone can look into that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48001
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 24 Nov 2006 18:17:25 +0000 (18:17 +0000)]
removed the svnmerge-integrated property from trunk; it's confusing svnmerge in newly created branches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47997
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 24 Nov 2006 17:40:49 +0000 (17:40 +0000)]
This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47995
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 24 Nov 2006 14:00:19 +0000 (14:00 +0000)]
Doxygen update
- Document cause codes
- Document a bit more on channel variables - global, predefined and local
- Fix some doxygen in channel.h. Adding one comment for two definitions does not
work. They won't be copied to each.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47986
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 23 Nov 2006 11:04:25 +0000 (11:04 +0000)]
Remove unused memory allocation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47960
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 23 Nov 2006 10:46:09 +0000 (10:46 +0000)]
Document new configuration option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47957
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 22 Nov 2006 21:49:11 +0000 (21:49 +0000)]
Merged revisions 47944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47944 | file | 2006-11-22 16:47:43 -0500 (Wed, 22 Nov 2006) | 2 lines
Video will never reach Packet2Packet bridging and can do more harm then good.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47945
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 22 Nov 2006 17:47:14 +0000 (17:47 +0000)]
Clarify a bit more.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47935
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 22 Nov 2006 17:43:36 +0000 (17:43 +0000)]
Need to update the CHANGES file as well for the maxfiles option.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47934
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 22 Nov 2006 17:41:07 +0000 (17:41 +0000)]
Add support to set the maximum number of files open when Asterisk loads using the 'maxfiles' configuration option. (issue #7499 reported by rkarlsba)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47933
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 22 Nov 2006 11:28:12 +0000 (11:28 +0000)]
Don't over-deprecate... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47923
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Wed, 22 Nov 2006 05:49:06 +0000 (05:49 +0000)]
Restore some sense of security to manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47912
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 21 Nov 2006 17:34:22 +0000 (17:34 +0000)]
Merged revisions 47897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47897 | file | 2006-11-21 12:32:27 -0500 (Tue, 21 Nov 2006) | 2 lines
If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47898
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 21 Nov 2006 15:25:38 +0000 (15:25 +0000)]
Treat 101 as 100, not 183 session progress
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47893
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 21 Nov 2006 11:53:06 +0000 (11:53 +0000)]
better fix for the previous bug.
In general this code needs a deep revision, because the body of
do_forward() deletes/overwrites the output channel without freeing
the resouce in some cases, and without notifying the caller.
Also, on FreeBSD with MALLOC_OPTIONS set i am seeing various panics
(duplicate freee etc.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47881
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Tue, 21 Nov 2006 11:07:30 +0000 (11:07 +0000)]
do not ast_hangup() on a NULL channel.
In the original code this would happen in the case of
o->forwards >= AST_MAX_FORWARDS
Likely an 1.2/1.4 isse as well - please someone have a look,
while I am hunting a few more similar panics now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47880
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 20 Nov 2006 20:04:11 +0000 (20:04 +0000)]
Merged revisions 47864-47865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47864 | tilghman | 2006-11-20 14:01:58 -0600 (Mon, 20 Nov 2006) | 2 lines
Oops, merge missed release of odbc object
........
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47866
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 20 Nov 2006 19:52:38 +0000 (19:52 +0000)]
Merged revisions 47860 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47860 | file | 2006-11-20 14:51:36 -0500 (Mon, 20 Nov 2006) | 10 lines
Merged revisions 47859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2 lines
Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47861
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 20 Nov 2006 16:19:13 +0000 (16:19 +0000)]
Blocked revisions 47856 via svnmerge
................
r47856 | file | 2006-11-20 11:17:47 -0500 (Mon, 20 Nov 2006) | 9 lines
Blocked revisions 47855 via svnmerge
........
r47855 | file | 2006-11-20 11:16:22 -0500 (Mon, 20 Nov 2006) | 2 lines
Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47857
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 20 Nov 2006 16:06:10 +0000 (16:06 +0000)]
Use RTP/RTCP fds on the RTP structure, don't bother storing them.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47854
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 20 Nov 2006 16:04:14 +0000 (16:04 +0000)]
Merged revisions 47852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47852 | file | 2006-11-20 10:58:50 -0500 (Mon, 20 Nov 2006) | 2 lines
Only remove/destroy the RTCP I/O item if it exists.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47853
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 20 Nov 2006 15:55:58 +0000 (15:55 +0000)]
Merged revisions 47850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47850 | file | 2006-11-20 10:51:37 -0500 (Mon, 20 Nov 2006) | 2 lines
Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47851
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 20 Nov 2006 14:08:04 +0000 (14:08 +0000)]
Erased the svnmerge-integrated prop from trunk. Please, in your svnmerge-ings, don't let these props leak into the trunk or branches.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47847
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 20 Nov 2006 11:46:45 +0000 (11:46 +0000)]
Update docs for videosupport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47846
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 20 Nov 2006 11:36:45 +0000 (11:36 +0000)]
Properly reset schedule items (rizzo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47844
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 19 Nov 2006 04:22:33 +0000 (04:22 +0000)]
Added a few words to explain the change to AEL concerning Gosub()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47836
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Sun, 19 Nov 2006 04:12:39 +0000 (04:12 +0000)]
Added a few words of explanation about macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47835
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 18 Nov 2006 22:14:20 +0000 (22:14 +0000)]
comments-only change:
document a bit more when manager events are delivered
to the clients.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47834
65c4cc65-6c06-0410-ace0-
fbb531ad65f3