[asterisk-commits] murf: branch murf/bug_7605 r48439 - in /team/murf/bug_7605: ./ agi/ apps/ bui...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Dec 13 00:11:41 MST 2006


Author: murf
Date: Wed Dec 13 01:11:39 2006
New Revision: 48439

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48439
Log:
Merged revisions 48048,48050,48056,48062,48067,48071,48073-48074,48077-48084,48086,48089-48090,48096,48098-48100,48102-48103,48108-48112,48114,48116,48123,48130,48136,48139,48144,48148-48150,48153,48156,48160,48163-48164,48167,48169,48175,48178,48180,48187-48188,48191,48194,48196,48200,48205-48206,48208,48213,48216-48217,48220,48224,48229,48231,48235,48249,48253,48255,48258-48259,48266,48269,48271,48273,48276-48277,48280,48282-48283,48299-48300,48302-48303,48305-48307,48318,48324-48325,48327,48332,48338,48350-48351,48358-48360,48364-48365,48373,48376,48378,48380,48383-48384,48388-48390,48392,48397,48400,48402,48408-48410,48415-48417,48432-48433 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r48048 | russell | 2006-11-27 10:19:47 -0700 (Mon, 27 Nov 2006) | 9 lines

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)

........

................
r48050 | tilghman | 2006-11-27 10:31:56 -0700 (Mon, 27 Nov 2006) | 18 lines

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)

........

................

................
r48056 | file | 2006-11-27 11:10:59 -0700 (Mon, 27 Nov 2006) | 18 lines

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)

........

................

................
r48062 | rizzo | 2006-11-27 11:51:10 -0700 (Mon, 27 Nov 2006) | 3 lines

staticize a global variable and remove an unused field structure.


................
r48067 | rizzo | 2006-11-27 12:19:48 -0700 (Mon, 27 Nov 2006) | 7 lines

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.


................
r48071 | rizzo | 2006-11-27 13:21:40 -0700 (Mon, 27 Nov 2006) | 6 lines

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.


................
r48073 | rizzo | 2006-11-27 14:25:55 -0700 (Mon, 27 Nov 2006) | 6 lines

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.


................
r48074 | rizzo | 2006-11-27 17:02:42 -0700 (Mon, 27 Nov 2006) | 6 lines

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!


................
r48077 | rizzo | 2006-11-28 02:27:37 -0700 (Tue, 28 Nov 2006) | 4 lines

always use managerid to determine whether this is an AMI or HTTP session,
and document it.


................
r48078 | rizzo | 2006-11-28 02:39:16 -0700 (Tue, 28 Nov 2006) | 5 lines

another normalization of AMI vs HTTP identification.
Should really define a macro IS_AMI(s) so it is clear what
we want to do.


................
r48079 | rizzo | 2006-11-28 02:43:44 -0700 (Tue, 28 Nov 2006) | 3 lines

More informative message on invalid commands.


................
r48080 | rizzo | 2006-11-28 03:23:25 -0700 (Tue, 28 Nov 2006) | 16 lines

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

................
r48081 | rizzo | 2006-11-28 04:20:39 -0700 (Tue, 28 Nov 2006) | 6 lines

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.


................
r48082 | rizzo | 2006-11-28 05:05:25 -0700 (Tue, 28 Nov 2006) | 3 lines

mosty comment and documentation cleanup on waitevent.


................
r48083 | rizzo | 2006-11-28 06:08:56 -0700 (Tue, 28 Nov 2006) | 4 lines

do not return 500 Internal error if the AMI command provides
no output.


................
r48084 | rizzo | 2006-11-28 07:07:09 -0700 (Tue, 28 Nov 2006) | 9 lines

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 ?


................
r48086 | rizzo | 2006-11-28 08:53:12 -0700 (Tue, 28 Nov 2006) | 3 lines

initialize the dynamic string in a sane way.


................
r48089 | file | 2006-11-28 09:59:20 -0700 (Tue, 28 Nov 2006) | 18 lines

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)

........

................

................
r48090 | rizzo | 2006-11-28 10:08:19 -0700 (Tue, 28 Nov 2006) | 10 lines

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.


................
r48096 | qwell | 2006-11-28 11:28:07 -0700 (Tue, 28 Nov 2006) | 10 lines

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.

........

................
r48098 | russell | 2006-11-28 16:04:36 -0700 (Tue, 28 Nov 2006) | 2 lines

resolve a couple of compiler warnings

................
r48099 | russell | 2006-11-28 16:13:37 -0700 (Tue, 28 Nov 2006) | 3 lines

Add a comment to note near some code that performs a very expensive operation
that occurs for every incoming media frame.

................
r48100 | file | 2006-11-28 20:12:16 -0700 (Tue, 28 Nov 2006) | 2 lines

Use the proper version of extra sounds. (issue #8441 reported by jtodd)

................
r48102 | file | 2006-11-28 21:28:21 -0700 (Tue, 28 Nov 2006) | 10 lines

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.

........

................
r48103 | russell | 2006-11-28 22:08:19 -0700 (Tue, 28 Nov 2006) | 5 lines

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.

................
r48108 | file | 2006-11-29 09:53:27 -0700 (Wed, 29 Nov 2006) | 18 lines

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)

........

................

................
r48109 | russell | 2006-11-29 10:37:31 -0700 (Wed, 29 Nov 2006) | 7 lines

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

................
r48110 | russell | 2006-11-29 10:59:13 -0700 (Wed, 29 Nov 2006) | 6 lines

- 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.

................
r48111 | oej | 2006-11-29 12:44:06 -0700 (Wed, 29 Nov 2006) | 2 lines

Change logging for p2p rtp bridge mode

................
r48112 | oej | 2006-11-29 12:47:45 -0700 (Wed, 29 Nov 2006) | 2 lines

Explain RTP timeouts

................
r48114 | oej | 2006-11-29 13:57:48 -0700 (Wed, 29 Nov 2006) | 2 lines

Clarify some settings for status reports in subscriptions, queues and manager

................
r48116 | file | 2006-11-29 14:07:14 -0700 (Wed, 29 Nov 2006) | 10 lines

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)

........

................
r48123 | file | 2006-11-29 20:29:42 -0700 (Wed, 29 Nov 2006) | 2 lines

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)

................
r48130 | oej | 2006-11-30 02:23:25 -0700 (Thu, 30 Nov 2006) | 3 lines

Merging patch from 1.2/1.4. I think this was originally spotted by
Luigi, but hit me in the back today.

................
r48136 | oej | 2006-11-30 07:32:52 -0700 (Thu, 30 Nov 2006) | 2 lines

Add information on status events

................
r48139 | oej | 2006-11-30 10:15:54 -0700 (Thu, 30 Nov 2006) | 2 lines

Adding some generic docs on extension and device states - watchers and providers

................
r48144 | file | 2006-11-30 10:58:53 -0700 (Thu, 30 Nov 2006) | 18 lines

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)

........

................

................
r48148 | file | 2006-11-30 11:20:57 -0700 (Thu, 30 Nov 2006) | 16 lines

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)

........

................

................
r48149 | oej | 2006-11-30 11:22:10 -0700 (Thu, 30 Nov 2006) | 2 lines

Doxygen updates

................
r48150 | oej | 2006-11-30 11:25:51 -0700 (Thu, 30 Nov 2006) | 2 lines

Small update

................
r48153 | file | 2006-11-30 11:49:59 -0700 (Thu, 30 Nov 2006) | 18 lines

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)

........

................

................
r48156 | file | 2006-11-30 12:06:22 -0700 (Thu, 30 Nov 2006) | 18 lines

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)

........

................

................
r48160 | file | 2006-11-30 13:09:46 -0700 (Thu, 30 Nov 2006) | 18 lines

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)

........

................

................
r48163 | file | 2006-11-30 13:29:11 -0700 (Thu, 30 Nov 2006) | 16 lines

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)

........

................

................
r48164 | oej | 2006-11-30 13:34:23 -0700 (Thu, 30 Nov 2006) | 2 lines

Documentation updates

................
r48167 | oej | 2006-11-30 13:55:43 -0700 (Thu, 30 Nov 2006) | 2 lines

Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)

................
r48169 | file | 2006-11-30 14:22:01 -0700 (Thu, 30 Nov 2006) | 10 lines

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)

........

................
r48175 | oej | 2006-12-01 10:33:56 -0700 (Fri, 01 Dec 2006) | 2 lines

Tiny doxygen improvement

................
r48178 | oej | 2006-12-01 11:16:16 -0700 (Fri, 01 Dec 2006) | 3 lines

- Remove T.38 early media, since T.38 requires two way communication (imported from 1.4)
- Small fixes to limitonpeer

................
r48180 | tilghman | 2006-12-01 12:41:02 -0700 (Fri, 01 Dec 2006) | 10 lines

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)

........

................
r48187 | qwell | 2006-12-01 13:26:44 -0700 (Fri, 01 Dec 2006) | 18 lines

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

........

................

................
r48188 | oej | 2006-12-01 13:49:06 -0700 (Fri, 01 Dec 2006) | 2 lines

Formatting fix

................
r48191 | russell | 2006-12-01 16:20:17 -0700 (Fri, 01 Dec 2006) | 20 lines

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)

........

................
r48194 | kpfleming | 2006-12-01 16:39:59 -0700 (Fri, 01 Dec 2006) | 18 lines

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)

........

................

................
r48196 | russell | 2006-12-01 20:53:02 -0700 (Fri, 01 Dec 2006) | 10 lines

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.

........

................
r48200 | oej | 2006-12-02 05:05:40 -0700 (Sat, 02 Dec 2006) | 9 lines

- Disable RTP timeouts during T.38 transmission
- Encapsulate RTP timers to the RTP structure, so we have one set for video and one for audio
- Document RTP keepalive configuration option
- Cleanup and document the monitor support function to hangup on RTP timeouts
- Add RTP keepalive to SIP show settings

Imported from 1.4 with modifications for trunk.


................
r48205 | oej | 2006-12-02 06:40:13 -0700 (Sat, 02 Dec 2006) | 5 lines

- Code formatting
- remove coef_in.h and coef_out.h that was only included as data definitions in fskmodem.c

If you understand spanish, please help us translate the comments in fskmodem.c. Thanks!

................
r48206 | oej | 2006-12-02 07:07:20 -0700 (Sat, 02 Dec 2006) | 2 lines

Doxygenification

................
r48208 | oej | 2006-12-02 10:40:58 -0700 (Sat, 02 Dec 2006) | 4 lines

Oops. 
Something is wrong in the agi directory. Asking for autoconfig.h.
I have it disabled locally, but no reason to commit that change.

................
r48213 | oej | 2006-12-02 12:11:02 -0700 (Sat, 02 Dec 2006) | 2 lines

Invitestate updates

................
r48216 | oej | 2006-12-02 13:30:58 -0700 (Sat, 02 Dec 2006) | 12 lines

Send CANCEL to call with early media (PROGRESS INBAND).
This is imported from branch "invitestate" and "invitestate-1.4"

***
***
*** IF YOU HAVE ISSUES WITH BYEs/CANCELs - PLEASE UPDATE AND TEST AGAIN!
*** 	Thank you!
***
***

/Olle

................
r48217 | oej | 2006-12-02 13:50:54 -0700 (Sat, 02 Dec 2006) | 3 lines

Removing two .h files means we need to update cleancount to force
make depend again (or ?)

................
r48220 | oej | 2006-12-02 15:03:14 -0700 (Sat, 02 Dec 2006) | 2 lines

Cleaning up handle_response a bit. (Imported from 1.4)

................
r48224 | russell | 2006-12-02 23:35:46 -0700 (Sat, 02 Dec 2006) | 11 lines

Merged revisions 48223 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48223 | russell | 2006-12-03 01:34:14 -0500 (Sun, 03 Dec 2006) | 3 lines

When "fetch" is in use, instead of "wget", --continue is not a valid option.
(issue #8451)

........

................
r48229 | qwell | 2006-12-04 10:44:12 -0700 (Mon, 04 Dec 2006) | 12 lines

Merged revisions 48228 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48228 | qwell | 2006-12-04 11:43:24 -0600 (Mon, 04 Dec 2006) | 4 lines

Attempt to document some of the dependencies that are needed for net-snmp

Issue 8499 - initial patch by blitzrage.

........

................
r48231 | qwell | 2006-12-04 10:55:38 -0700 (Mon, 04 Dec 2006) | 12 lines

Merged revisions 48230 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48230 | qwell | 2006-12-04 11:54:46 -0600 (Mon, 04 Dec 2006) | 4 lines

Add documentation to voicemail.conf.sample for ODBC storage.

Issue 8499 - patch by blitzrage.

........

................
r48235 | file | 2006-12-04 11:18:07 -0700 (Mon, 04 Dec 2006) | 16 lines

Blocked revisions 48234 via svnmerge

................
r48234 | file | 2006-12-04 13:16:31 -0500 (Mon, 04 Dec 2006) | 9 lines

Blocked revisions 48233 via svnmerge

........
r48233 | file | 2006-12-04 13:14:46 -0500 (Mon, 04 Dec 2006) | 2 lines

If the generic bridge tells us not to retry, and we have a frame to spit out then break the bridge. Props to markit in #asterisk-bugs for bringing this up.

........

................

................
r48249 | qwell | 2006-12-04 14:49:38 -0700 (Mon, 04 Dec 2006) | 10 lines

Merged revisions 48248 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48248 | qwell | 2006-12-04 15:48:41 -0600 (Mon, 04 Dec 2006) | 2 lines

Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP).

........

................
r48253 | tilghman | 2006-12-04 18:39:53 -0700 (Mon, 04 Dec 2006) | 22 lines

Merged revisions 48252 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48252 | tilghman | 2006-12-04 19:34:34 -0600 (Mon, 04 Dec 2006) | 14 lines

Merged revisions 48251 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006) | 6 lines

If the recording in the database is too large, it will fail to retrieve with
an mmap error.  Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it).  Solution is to ask for the file in
smaller chunks.  (Bug 8385)

........

................

................
r48255 | tilghman | 2006-12-04 18:46:14 -0700 (Mon, 04 Dec 2006) | 10 lines

Merged revisions 48254 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48254 | tilghman | 2006-12-04 19:41:02 -0600 (Mon, 04 Dec 2006) | 2 lines

Oops, forgot to release the odbc handle

........

................
r48258 | oej | 2006-12-05 03:52:53 -0700 (Tue, 05 Dec 2006) | 16 lines

Reserving flags for coming code (currently in the "videocaps" branch) 
implementing T.140 support in RTP.

T.140/RFC 4351 is TDD over IP - text telephony for hearing impaired.
It defines a realtime text chat, much like the old "talk" application
in Unix. 

T.140 is character by character in real time. It's not 
the same as our current MESSAGE format - that is more like IM, but
can be gatewayed to MESSAGE with a text "codec" if needed.

More patches will follow, as soon as we've separated this code from
the video capabilities functions in the videocaps branch.

Code by John Martin, Aupix (disclaimer on file)

................
r48259 | oej | 2006-12-05 04:09:23 -0700 (Tue, 05 Dec 2006) | 2 lines

Well, yes... 

................
r48266 | transnexus | 2006-12-05 07:33:21 -0700 (Tue, 05 Dec 2006) | 2 lines

1. Change to remove the compiling warning: "app_osplookup.c:2169: warning: initialization discards qualifiers from pointer target type"

................
r48269 | oej | 2006-12-05 09:48:15 -0700 (Tue, 05 Dec 2006) | 2 lines

Adding docs on t.38

................
r48271 | oej | 2006-12-05 10:34:55 -0700 (Tue, 05 Dec 2006) | 2 lines

Blocking invitestate patch that is already merged to svn trunk.

................
r48273 | oej | 2006-12-05 12:41:26 -0700 (Tue, 05 Dec 2006) | 3 lines

Issue #8506 - translate spanish comments in fskmodem to english (according to bug guidelines)
Thanks merbanan!

................
r48276 | qwell | 2006-12-05 13:15:37 -0700 (Tue, 05 Dec 2006) | 5 lines

Expand on r48273 (from issue 8506), to translate more of the fskmodem stuff to English.

r48273 dealt with the comments and such, this deals with the code itself.
(This couldn't have been easily done if it weren't for 48273 - thanks again for that merbanan)

................
r48277 | oej | 2006-12-05 13:39:13 -0700 (Tue, 05 Dec 2006) | 2 lines

Doxygen updates

................
r48280 | qwell | 2006-12-05 13:44:12 -0700 (Tue, 05 Dec 2006) | 12 lines

Merged revisions 48279 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48279 | qwell | 2006-12-05 14:42:52 -0600 (Tue, 05 Dec 2006) | 4 lines

Fix curl version number testing to be much more friendly to non-bash shells.

Issue 8508, patch by me.  This *SHOULD* be POSIX compliant now..

........

................
r48282 | file | 2006-12-05 13:46:26 -0700 (Tue, 05 Dec 2006) | 2 lines

Regenerate configure for Qwell's last commit.

................
r48283 | qwell | 2006-12-05 13:52:37 -0700 (Tue, 05 Dec 2006) | 9 lines

Blocked revisions 48281 via svnmerge

........
r48281 | file | 2006-12-05 14:45:28 -0600 (Tue, 05 Dec 2006) | 2 lines

Regenerate configure from Qwell's last commit.

........

................
r48299 | russell | 2006-12-06 00:15:16 -0700 (Wed, 06 Dec 2006) | 3 lines

Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
warning.

................
r48300 | russell | 2006-12-06 00:16:09 -0700 (Wed, 06 Dec 2006) | 2 lines

Instead of creating an unused instance of an unnamed enum, give it a name.

................
r48302 | russell | 2006-12-06 00:23:32 -0700 (Wed, 06 Dec 2006) | 2 lines

Constify a bunch of the usage strings for CLI commands.

................
r48303 | russell | 2006-12-06 00:28:56 -0700 (Wed, 06 Dec 2006) | 2 lines

Staticize one, and Constify a bunch of usage strings for CLI commands.

................
r48305 | russell | 2006-12-06 00:31:28 -0700 (Wed, 06 Dec 2006) | 2 lines

Constify a bunch of usage strings for CLI commands.

................
r48306 | russell | 2006-12-06 00:35:31 -0700 (Wed, 06 Dec 2006) | 2 lines

Constify a bunch of usage strings for CLI commands.

................
r48307 | russell | 2006-12-06 00:39:39 -0700 (Wed, 06 Dec 2006) | 3 lines

Resolve some pointer signedness compiler warnings in app_osplookup, and
constify a bunch of usage strings for CLI commands.

................
r48318 | oej | 2006-12-06 05:34:58 -0700 (Wed, 06 Dec 2006) | 3 lines

Don't send Contact in SIP Messages (imported from 1.2/1.4).
Reported by Gunnar at Omnitor.

................
r48324 | rizzo | 2006-12-06 09:17:57 -0700 (Wed, 06 Dec 2006) | 14 lines

Make externally visible some generic code useful to create
and implement services over tcp and/or tcp-tls.
 
This commit is nothing more than moving structure definitions
(and documentation) from main/http.c to include/asterisk/http.h
(temporary location until we find a better place), and removing the
'static' qualifier from server_root() and server_start().
 
The name change (adding the ast_ prefix as a minimum, and then
possibly a more meaningful name) is postponed to future commits.

Does not apply to other versions of asterisk.


................
r48325 | russell | 2006-12-06 09:19:01 -0700 (Wed, 06 Dec 2006) | 19 lines

Merged revisions 48323 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48323 | russell | 2006-12-06 11:15:45 -0500 (Wed, 06 Dec 2006) | 11 lines

Merged revisions 48322 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48322 | russell | 2006-12-06 11:05:54 -0500 (Wed, 06 Dec 2006) | 3 lines

Fix the name of the rtignoreregexpire option in the sample configuration file.
(issue #8526, arkadia)

........

................

................
r48327 | oej | 2006-12-06 09:54:27 -0700 (Wed, 06 Dec 2006) | 2 lines

Handle multiple 487's correctly

................
r48332 | rizzo | 2006-12-06 11:45:19 -0700 (Wed, 06 Dec 2006) | 23 lines

Part of the transformations necessary to add TLS support,
as described in
http://lists.digium.com/pipermail/asterisk-dev/2006-December/025213.html

In detail, this commit does the following:

b) change the function get_input() to use fread() instead of read()
   to collect the data. One can still do the ast_wait_for_input() on
   the original descriptor returned by accept().

c) change the function send_string() to work on the FILE *.
   As a side effect, this change now really guarantees that
   we don't spend more than "writetimeout" milliseconds on
   each line sent.

d) modify the function action_command() so that it creates a
   temporary file descriptor to be passed to ast_cli_command(),
   and then read back the data from the temp file and write it
   to the output with send_string(). The code is similar to
   what is done in generic_http_callback() to support AMI-over-HTTP.



................
r48338 | rizzo | 2006-12-06 13:46:01 -0700 (Wed, 06 Dec 2006) | 11 lines

remove duplicated code to start the server threads, use
the infrastructure exposed in http.c earlier today.

As a bonus, now we can restart the session on a different
port just reloading the module.

On passing, fix a bug in the handling of 'enabled' in the configuration
file - previously, a missing "enabled=" line in manager.conf meant
"whatever the state was before" instead of a specific value.


................
r48350 | murf | 2006-12-07 09:03:56 -0700 (Thu, 07 Dec 2006) | 115 lines

Merged revisions 47986,47995,47997,48001,48003-48004,48008-48014,48016,48018-48019 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r47986 | oej | 2006-11-24 07:00:19 -0700 (Fri, 24 Nov 2006) | 6 lines

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.

................
r47995 | murf | 2006-11-24 10:40:49 -0700 (Fri, 24 Nov 2006) | 1 line

This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code
................
r47997 | murf | 2006-11-24 11:17:25 -0700 (Fri, 24 Nov 2006) | 1 line

removed the svnmerge-integrated property from trunk; it's confusing svnmerge in newly created branches
................
r48001 | rizzo | 2006-11-25 02:02:42 -0700 (Sat, 25 Nov 2006) | 5 lines

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.


................
r48003 | oej | 2006-11-25 02:45:57 -0700 (Sat, 25 Nov 2006) | 9 lines

- 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.


................
r48004 | oej | 2006-11-25 02:48:30 -0700 (Sat, 25 Nov 2006) | 2 lines

Changing ERROR to lesser level. Imported from 1.2/1.4

................
r48008 | rizzo | 2006-11-25 10:37:04 -0700 (Sat, 25 Nov 2006) | 7 lines

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).


................
r48009 | mattf | 2006-11-25 13:30:04 -0700 (Sat, 25 Nov 2006) | 1 line

Updates to show linkset command
................
r48010 | mattf | 2006-11-25 13:54:38 -0700 (Sat, 25 Nov 2006) | 2 lines

Add ss7 show linkset command

................
r48011 | mattf | 2006-11-25 14:32:33 -0700 (Sat, 25 Nov 2006) | 1 line

Make sure we don't send a group reset on a group larger than 32 CICs
................
r48012 | mattf | 2006-11-25 14:35:23 -0700 (Sat, 25 Nov 2006) | 1 line

bug fix
................
r48013 | mattf | 2006-11-25 14:46:58 -0700 (Sat, 25 Nov 2006) | 1 line

Make compiler happier
................
r48014 | mattf | 2006-11-25 14:50:42 -0700 (Sat, 25 Nov 2006) | 1 line

Little fix so we use the right message
................
r48016 | murf | 2006-11-25 17:15:42 -0700 (Sat, 25 Nov 2006) | 9 lines

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.
........

................
r48018 | murf | 2006-11-25 17:31:13 -0700 (Sat, 25 Nov 2006) | 9 lines

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
........

................
r48019 | russell | 2006-11-25 23:55:33 -0700 (Sat, 25 Nov 2006) | 6 lines

- 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.

................

................
r48351 | rizzo | 2006-12-07 09:42:29 -0700 (Thu, 07 Dec 2006) | 19 lines

- Generalize the function ssl_setup() so that the certificate info
  are passed as an argument.

- Update the code in main/http.c to use the new interface
  (the diff is large but mostly mechanical, due to the name change of
  several variables);

- And since now it is trivial, implement "AMI over TLS", and document
  the possible options in manager.conf

- And since the test client (openssl s_client -connect host:port )
  does not generate \r\n as a line terminator, make get_input()
  also accept just a \n as a line terminator (Mac users: do you
  also need the \r-only version ?)
 
The option parsing in manager.conf is not very efficient, and needs
to be cleaned up and made similar to what we have in http.conf


................
r48358 | russell | 2006-12-07 11:21:21 -0700 (Thu, 07 Dec 2006) | 19 lines

Merged revisions 48357 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48357 | russell | 2006-12-07 13:17:28 -0500 (Thu, 07 Dec 2006) | 11 lines

Merged revisions 48356 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48356 | russell | 2006-12-07 13:14:13 -0500 (Thu, 07 Dec 2006) | 3 lines

Ensure that the file position is not incremented beyond the total number of
files available for playback.  (issue #8539, ulogic)

........

................

................
r48359 | russell | 2006-12-08 22:04:38 -0700 (Fri, 08 Dec 2006) | 6 lines

- Fix a few spelling mistakes
- Use sizeof() to pass an array size to a function
- Use a single bit for a variable in the chan_iax2_pvt stuct since that is all
  it needs.
- Add some comments about the iaxs, iaxl, and lastused arrays.

................
r48360 | russell | 2006-12-09 00:10:55 -0700 (Sat, 09 Dec 2006) | 11 lines

chan_iax2 has an extremely large function, socket_process(), to handle incoming
frames.  The function, before this commit, was roughly 1400 lines long.  So, I
am working on breaking this up into functions so that the code is easier to
follow and debug.  Also, I will be committing these changes in chunks as I do
them to ease tracking down any potentially introduced problems.

Break out roughly 150 lines from socket_process() and introduce a new function, 
socket_process_meta() which handles the parsing of an incoming meta frame.
Also, restructure some of this code a bit to reduce the deep nesting that was
in this code.

................
r48364 | russell | 2006-12-09 09:04:06 -0700 (Sat, 09 Dec 2006) | 16 lines

Merged revisions 48363 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48363 | russell | 2006-12-09 10:59:42 -0500 (Sat, 09 Dec 2006) | 8 lines

Use locking when accessing the registrations list.  This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible.  For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.

In passing, go ahead and convert this list to use the linked list macros.

........

................
r48365 | russell | 2006-12-09 09:44:41 -0700 (Sat, 09 Dec 2006) | 2 lines

convert the thread IO state and type to use enums.

................
r48373 | murf | 2006-12-09 20:14:27 -0700 (Sat, 09 Dec 2006) | 17 lines

Merged revisions 48372 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48372 | murf | 2006-12-09 20:04:18 -0700 (Sat, 09 Dec 2006) | 9 lines

Merged revisions 48371 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line

This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).
........

................

................
r48376 | tilghman | 2006-12-10 17:52:19 -0700 (Sun, 10 Dec 2006) | 21 lines

Merged revisions 48375 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48375 | tilghman | 2006-12-10 18:47:21 -0600 (Sun, 10 Dec 2006) | 13 lines

Merged revisions 48374 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines

When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.

........

................

................
r48378 | file | 2006-12-10 22:01:37 -0700 (Sun, 10 Dec 2006) | 10 lines

Merged revisions 48377 via svnmerge from 

[... 8454 lines stripped ...]


More information about the asterisk-commits mailing list