[svn-commits] murf: branch murf/323work r39266 - in
/team/murf/323work: ./ agi/ apps/ cdr/ ...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Aug 7 16:20:26 MST 2006
Author: murf
Date: Mon Aug 7 18:20:25 2006
New Revision: 39266
URL: http://svn.digium.com/view/asterisk?rev=39266&view=rev
Log:
Merged revisions 37308,37318,37320,37323-37324,37339,37345-37348,37355,37362,37379-37380,37382,37396,37403,37418,37433,37440,37457,37459,37474-37477,37483-37485,37492,37494,37501,37508,37514-37515,37517,37532,37547,37563-37565,37572,37586,37596,37604,37613,37629,37638,37643-37644,37652-37653,37661,37669-37670,37678,37680,37682,37692,37719,37733-37734,37744,37755,37766,37785,37809,37829-37830,37857,37881,37896,37907,37925,37936-37937,37950-37953,37973-37974,37988,37999-38000,38009-38010,38021,38030,38042,38051,38060,38068,38076-38078,38088-38089,38099,38108,38117-38118,38127,38129,38139,38148-38149,38158,38168,38187,38201,38223,38235,38250,38258,38271,38283,38286,38291,38311,38329-38330,38348,38368-38369,38371,38374,38389,38418,38421-38422,38439,38441,38452,38454,38464-38466,38476,38489,38502,38521,38532-38533,38548,38573,38586-38587,38612,38633,38652,38655,38687,38714,38732,38762,38785,38801,38823,38826,38853,38871,38887,38905,38929,38951,38973,38994,39014,39032,39057-39058,39082,39109,39131-39132,39151,39171,39182,39203,39206,39229,39248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r37308 | file | 2006-07-07 17:59:54 -0600 (Fri, 07 Jul 2006) | 10 lines
Merged revisions 37307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37307 | file | 2006-07-07 19:57:53 -0400 (Fri, 07 Jul 2006) | 2 lines
Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems
........
................
r37318 | markster | 2006-07-07 20:24:07 -0600 (Fri, 07 Jul 2006) | 3 lines
Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA.
................
r37320 | kpfleming | 2006-07-09 08:32:08 -0600 (Sun, 09 Jul 2006) | 2 lines
remove skeleton support for G.723.1 codec since we will never ship the rest of what is needed anyway :-)
................
r37323 | crichter | 2006-07-10 05:06:47 -0600 (Mon, 10 Jul 2006) | 1 line
removed unnecessary locking, which might have created deadlocks. removed find_chan_by_l3id, since the l3id is not unique over all ports. removed automatic nt_stack reinitialization, since this creates segfaults.
................
r37324 | oej | 2006-07-10 05:20:49 -0600 (Mon, 10 Jul 2006) | 4 lines
Remove configuration option "restrictcid" that is nowhere to
be seen in the code. Did it exist, was it planned to exist
or was it documentationware only? Ask Dr Asterisk.
................
r37339 | tilghman | 2006-07-10 11:42:12 -0600 (Mon, 10 Jul 2006) | 2 lines
Whitespace changes only
................
r37345 | tilghman | 2006-07-10 13:05:48 -0600 (Mon, 10 Jul 2006) | 2 lines
Whitespace changes only
................
r37346 | file | 2006-07-10 13:39:47 -0600 (Mon, 10 Jul 2006) | 2 lines
Remove BRIDGE_OPTIMIZATION since it is deprecated or obsolete (take your pick)
................
r37347 | file | 2006-07-10 13:55:06 -0600 (Mon, 10 Jul 2006) | 2 lines
Unbreak ast_join due to whitespace changes
................
r37348 | file | 2006-07-10 13:58:33 -0600 (Mon, 10 Jul 2006) | 2 lines
Fixed. Done. Good. Make ast_join work like it used to.
................
r37355 | crichter | 2006-07-10 14:53:44 -0600 (Mon, 10 Jul 2006) | 1 line
removed mqueue branch reference, because mqueue is head now.
................
r37362 | kpfleming | 2006-07-10 15:07:48 -0600 (Mon, 10 Jul 2006) | 10 lines
Merged revisions 37361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37361 | kpfleming | 2006-07-10 16:01:35 -0500 (Mon, 10 Jul 2006) | 2 lines
do masquerade-behind-proxy checking with better control over locks
........
................
r37379 | file | 2006-07-11 13:01:49 -0600 (Tue, 11 Jul 2006) | 9 lines
Blocked revisions 37378 via svnmerge
........
r37378 | file | 2006-07-11 14:00:50 -0500 (Tue, 11 Jul 2006) | 2 lines
Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
........
................
r37380 | file | 2006-07-11 13:03:56 -0600 (Tue, 11 Jul 2006) | 2 lines
And now the trunk version! Add an option for IAX2 users that allows you to set how many outstanding AUTHREQs chan_iax2 will wait for replies on.
................
r37382 | crichter | 2006-07-11 13:30:35 -0600 (Tue, 11 Jul 2006) | 6 lines
* Introducing a new way for the l1watcher thread using the ast_sched way. Now l1watcher timeouts can be configured separately for every portgroup.
* added a signal handler to allow waking up the misdn task thread (that may sleep in a poll call) via misdn_tasks_wakeup().
* overlap_dial functionality implemented.
* fixes a bug which leads to a segfault after reordering config elements in the enum or struct
................
r37396 | kpfleming | 2006-07-11 17:27:51 -0600 (Tue, 11 Jul 2006) | 2 lines
say times in spanish properly (using new sound files that are not yet released)
................
r37403 | mogorman | 2006-07-11 21:58:47 -0600 (Tue, 11 Jul 2006) | 10 lines
Merged revisions 37402 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r37402 | mogorman | 2006-07-11 22:55:36 -0500 (Tue, 11 Jul 2006) | 2 lines
GRRR no fprintf!
........
................
r37418 | kpfleming | 2006-07-12 07:29:10 -0600 (Wed, 12 Jul 2006) | 10 lines
Merged revisions 37417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37417 | kpfleming | 2006-07-12 08:18:21 -0500 (Wed, 12 Jul 2006) | 2 lines
get rid of some more printf's (although most of these were ifdef-ed out)
........
................
r37433 | kpfleming | 2006-07-12 08:04:16 -0600 (Wed, 12 Jul 2006) | 10 lines
Merged revisions 37419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37419 | kpfleming | 2006-07-12 08:54:10 -0500 (Wed, 12 Jul 2006) | 2 lines
remove some more bad examples of using printf
........
................
r37440 | file | 2006-07-12 09:25:17 -0600 (Wed, 12 Jul 2006) | 10 lines
Merged revisions 37439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37439 | file | 2006-07-12 11:23:59 -0400 (Wed, 12 Jul 2006) | 2 lines
Add support to have maxauthreq as a global option
........
................
r37457 | russell | 2006-07-12 12:28:31 -0600 (Wed, 12 Jul 2006) | 3 lines
make some counter variables unsigned, use ast_tvcmp instead of a custom
SOONER macro, and some other little cleanups for things like indentation
................
r37459 | tilghman | 2006-07-12 12:39:36 -0600 (Wed, 12 Jul 2006) | 10 lines
Merged revisions 37458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37458 | tilghman | 2006-07-12 13:29:01 -0500 (Wed, 12 Jul 2006) | 2 lines
Merge fixup for asterisk startup script to zaptel startup script
........
................
r37474 | oej | 2006-07-12 13:09:55 -0600 (Wed, 12 Jul 2006) | 3 lines
Re-enable RTCP quality reports
(Bug found in SIP Master Class, Chicago)
................
r37475 | russell | 2006-07-12 13:25:50 -0600 (Wed, 12 Jul 2006) | 4 lines
repeat after me ...
I WILL TYPE "make" BEFORE COMMITTING ANY CODE
................
r37476 | russell | 2006-07-12 13:36:42 -0600 (Wed, 12 Jul 2006) | 3 lines
don't let make run configure or menuselect if the target is either
"clean" or "distclean"
................
r37477 | russell | 2006-07-12 13:48:22 -0600 (Wed, 12 Jul 2006) | 3 lines
add "update" to the list of targets to ignore various included files for and
check the targets in a little bit different way
................
r37483 | russell | 2006-07-12 14:27:46 -0600 (Wed, 12 Jul 2006) | 3 lines
revert this change for now since it isn't working correctly and there are more
important issues to work on at the moment ...
................
r37484 | russell | 2006-07-12 14:35:14 -0600 (Wed, 12 Jul 2006) | 2 lines
fix the build options for app_voicemail
................
r37485 | oej | 2006-07-12 14:56:49 -0600 (Wed, 12 Jul 2006) | 2 lines
- Change filename to current file name
................
r37492 | russell | 2006-07-12 16:10:59 -0600 (Wed, 12 Jul 2006) | 2 lines
fix some more app_voicemail breakage
................
r37494 | kpfleming | 2006-07-12 16:42:13 -0600 (Wed, 12 Jul 2006) | 5 lines
G726-32 changes:
split support for G726-32 into RFC3551 and AAL2 packing orders, since both are in use
change "G726-32" to be RFC3551 packing order, in spite of devices that use AAL2 order with this MIME type
add ability to directly transcode between packing orders
................
r37501 | kpfleming | 2006-07-12 19:38:47 -0600 (Wed, 12 Jul 2006) | 2 lines
allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has been requested (Sipura/Grandstream ATAs and others will need this)
................
r37508 | crichter | 2006-07-13 08:13:24 -0600 (Thu, 13 Jul 2006) | 1 line
added even more statefulness for sending out disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate
................
r37514 | kpfleming | 2006-07-13 09:20:02 -0600 (Thu, 13 Jul 2006) | 16 lines
Merged revisions 37441-37442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37441 | kpfleming | 2006-07-12 10:46:56 -0500 (Wed, 12 Jul 2006) | 3 lines
fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
make ast_unlock_path actually report when unlocking fails
........
r37442 | kpfleming | 2006-07-12 10:53:53 -0500 (Wed, 12 Jul 2006) | 2 lines
fix a weird case where a lock file could be left (but would happen almost never)
........
................
r37515 | kpfleming | 2006-07-13 09:37:56 -0600 (Thu, 13 Jul 2006) | 2 lines
only compare the queue entry's max penalty to the member's penalty when the queue entry actually has a non-zero penalty
................
r37517 | tilghman | 2006-07-13 09:47:30 -0600 (Thu, 13 Jul 2006) | 10 lines
Merged revisions 37516 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37516 | tilghman | 2006-07-13 10:45:33 -0500 (Thu, 13 Jul 2006) | 2 lines
Bug 7532 - Typo in enum example
........
................
r37532 | kpfleming | 2006-07-13 10:47:20 -0600 (Thu, 13 Jul 2006) | 10 lines
Merged revisions 37531 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37531 | kpfleming | 2006-07-13 11:44:23 -0500 (Thu, 13 Jul 2006) | 2 lines
report address of peer trying to subscribe to unknown hint
........
................
r37547 | russell | 2006-07-13 12:45:21 -0600 (Thu, 13 Jul 2006) | 10 lines
Blocked revisions 37546 via svnmerge
........
r37546 | russell | 2006-07-13 14:44:17 -0400 (Thu, 13 Jul 2006) | 3 lines
yeah, ummm... This frame pointer should not be static. This situation only
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)
........
................
r37563 | tilghman | 2006-07-13 14:14:27 -0600 (Thu, 13 Jul 2006) | 2 lines
Whitespace fix
................
r37564 | kpfleming | 2006-07-13 14:35:41 -0600 (Thu, 13 Jul 2006) | 2 lines
actually make the non-standard G726-32 behavior available for SIP clients
................
r37565 | kpfleming | 2006-07-13 14:39:34 -0600 (Thu, 13 Jul 2006) | 2 lines
swap the G726-32 format numbers, so that IAX2 connections with prior versions of Asterisk will still work properly
................
r37572 | kpfleming | 2006-07-13 15:23:11 -0600 (Thu, 13 Jul 2006) | 10 lines
Merged revisions 37571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37571 | kpfleming | 2006-07-13 16:22:11 -0500 (Thu, 13 Jul 2006) | 2 lines
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
........
................
r37586 | russell | 2006-07-13 16:03:47 -0600 (Thu, 13 Jul 2006) | 2 lines
fix some typos in the conversion from the old SOONER macro to ast_tvcmp
................
r37596 | tilghman | 2006-07-13 23:42:06 -0600 (Thu, 13 Jul 2006) | 2 lines
Whitespace fix
................
r37604 | tilghman | 2006-07-14 00:03:41 -0600 (Fri, 14 Jul 2006) | 2 lines
Whitespace fixes
................
r37613 | tilghman | 2006-07-14 07:34:25 -0600 (Fri, 14 Jul 2006) | 10 lines
Merged revisions 37612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37612 | tilghman | 2006-07-14 08:31:11 -0500 (Fri, 14 Jul 2006) | 2 lines
Bug 7526 - previous commit broke app_sms
........
................
r37629 | north | 2006-07-14 14:14:38 -0600 (Fri, 14 Jul 2006) | 9 lines
Rename a couple variables, to be consistent with the rest of the functions
Abstract out some common code into a single function
With the recent scheduler "issues", it pointed out a few things I might have been missing,
so I added some rudimentary vrtp and rtcp stuff
General cleanup...
................
r37638 | russell | 2006-07-14 15:02:55 -0600 (Fri, 14 Jul 2006) | 2 lines
add missing unregistration of a manager action on module unload
................
r37643 | north | 2006-07-14 15:49:20 -0600 (Fri, 14 Jul 2006) | 5 lines
There was an issue with ADSI and iax2, where on an iaxy with a normal phone connected,
in vm_authenticate, it was try to start ADSI on the channel, and it WOULD because it
was "supported", according to the iaxy. There is now a config option (adsi=yes) for
this, which defaults to no. (config sample coming shortly)
................
r37644 | north | 2006-07-14 15:49:40 -0600 (Fri, 14 Jul 2006) | 2 lines
config sample for the previous, regarding ADSI
................
r37652 | kpfleming | 2006-07-15 10:39:17 -0600 (Sat, 15 Jul 2006) | 2 lines
update to autoconf 2.60 version
................
r37653 | kpfleming | 2006-07-15 10:40:05 -0600 (Sat, 15 Jul 2006) | 2 lines
use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
................
r37661 | kpfleming | 2006-07-15 13:59:35 -0600 (Sat, 15 Jul 2006) | 4 lines
more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)
................
r37669 | north | 2006-07-15 14:02:20 -0600 (Sat, 15 Jul 2006) | 4 lines
oops?
This should've been 5 chars..
................
r37670 | kpfleming | 2006-07-15 14:12:28 -0600 (Sat, 15 Jul 2006) | 3 lines
add comments on what special variables are for
put library path into proper variable for *BSD
................
r37678 | tilghman | 2006-07-15 15:39:26 -0600 (Sat, 15 Jul 2006) | 2 lines
Move curl version test to autoconf script
................
r37680 | kpfleming | 2006-07-15 15:41:40 -0600 (Sat, 15 Jul 2006) | 2 lines
update configure script with new curl version test
................
r37682 | north | 2006-07-15 15:56:58 -0600 (Sat, 15 Jul 2006) | 2 lines
case consistency in DISA (or is it "disa"?)
................
r37692 | tilghman | 2006-07-15 17:35:21 -0600 (Sat, 15 Jul 2006) | 12 lines
Merged revisions 37691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37691 | tilghman | 2006-07-15 18:29:28 -0500 (Sat, 15 Jul 2006) | 4 lines
Bug 7513 - ensure that each time we do a query, the results are returned in the
same logical order, so that when we iterate over the list, we get all results,
not some results repeated, due to insufficient sorting.
........
................
r37719 | rizzo | 2006-07-16 07:01:48 -0600 (Sun, 16 Jul 2006) | 5 lines
typo LDFAGS -> LDFLLAGS
detected by: noisy build on FreeBSD
................
r37733 | russell | 2006-07-16 13:35:09 -0600 (Sun, 16 Jul 2006) | 2 lines
malloc + memset to ast_calloc
................
r37734 | russell | 2006-07-16 13:36:29 -0600 (Sun, 16 Jul 2006) | 3 lines
add a QueueLog application that allows for custom entries in the queue_log
(issue #7368, by stevedavies with some modifications)
................
r37744 | rizzo | 2006-07-16 16:24:39 -0600 (Sun, 16 Jul 2006) | 6 lines
use a couple of variables to remove duplicate definitions
of the various rules for the NOISY/!NOISY cases.
Approved by: kevin
................
r37755 | markster | 2006-07-16 20:17:38 -0600 (Sun, 16 Jul 2006) | 2 lines
Make app_meetme's do_invite more generic.
................
r37766 | tilghman | 2006-07-17 09:56:16 -0600 (Mon, 17 Jul 2006) | 10 lines
Merged revisions 37765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37765 | tilghman | 2006-07-17 10:52:15 -0500 (Mon, 17 Jul 2006) | 2 lines
Overflow bad
........
................
r37785 | tilghman | 2006-07-17 10:31:43 -0600 (Mon, 17 Jul 2006) | 2 lines
H.263 frames can apparently be larger than was originally coded.
................
r37809 | tilghman | 2006-07-17 16:39:02 -0600 (Mon, 17 Jul 2006) | 9 lines
Blocked revisions 37808 via svnmerge
........
r37808 | tilghman | 2006-07-17 17:36:56 -0500 (Mon, 17 Jul 2006) | 2 lines
Backport buffer increase to 1.2
........
................
r37829 | russell | 2006-07-17 17:26:22 -0600 (Mon, 17 Jul 2006) | 10 lines
Blocked revisions 37828 via svnmerge
........
r37828 | russell | 2006-07-17 19:25:33 -0400 (Mon, 17 Jul 2006) | 3 lines
if asked to duplicate a frame that has no data, don't set the frame's data
pointer past the end of the allocatted buffer for the new frame
........
................
r37830 | russell | 2006-07-17 17:31:24 -0600 (Mon, 17 Jul 2006) | 3 lines
if asked to duplicate a frame that has no data, don't set the frame's data
pointer past the end of the buffer allocated for the new frame
................
r37857 | russell | 2006-07-17 18:43:57 -0600 (Mon, 17 Jul 2006) | 10 lines
Merged revisions 37856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37856 | russell | 2006-07-17 20:41:47 -0400 (Mon, 17 Jul 2006) | 2 lines
don't crash if the frame has no data, but has a src
........
................
r37881 | file | 2006-07-18 10:22:26 -0600 (Tue, 18 Jul 2006) | 2 lines
Expand speech API so that the developer can interact with the engine more directly and use specific functions of the connector even if a generic API call is not available
................
r37896 | markster | 2006-07-18 14:26:38 -0600 (Tue, 18 Jul 2006) | 2 lines
Eliminate file descriptor leak in built in HTTP server
................
r37907 | rizzo | 2006-07-18 15:19:59 -0600 (Tue, 18 Jul 2006) | 3 lines
move variable declarations to the beginning of a block.
................
r37925 | murf | 2006-07-18 20:55:24 -0600 (Tue, 18 Jul 2006) | 1 line
committing a fix for colons in goto arguments and suppressing operator messages in globals assignments.
................
r37936 | markster | 2006-07-19 07:28:38 -0600 (Wed, 19 Jul 2006) | 2 lines
First pass at in-place file manipulation via manager
................
r37937 | kpfleming | 2006-07-19 07:50:19 -0600 (Wed, 19 Jul 2006) | 2 lines
revert this morning's incorrect indentation change
................
r37950 | kpfleming | 2006-07-19 11:16:08 -0600 (Wed, 19 Jul 2006) | 2 lines
restore buildability (bad marko!)
................
r37951 | kpfleming | 2006-07-19 11:16:25 -0600 (Wed, 19 Jul 2006) | 10 lines
Merged revisions 37949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37949 | kpfleming | 2006-07-19 12:10:10 -0500 (Wed, 19 Jul 2006) | 2 lines
ensure that global 'maxauthreq' is reset to zero during 'reload'
........
................
r37952 | kpfleming | 2006-07-19 11:21:33 -0600 (Wed, 19 Jul 2006) | 2 lines
restore buildability
................
r37953 | markster | 2006-07-19 11:26:47 -0600 (Wed, 19 Jul 2006) | 2 lines
Fix some reinitialization of prev!
................
r37973 | kpfleming | 2006-07-19 12:33:14 -0600 (Wed, 19 Jul 2006) | 2 lines
use new sound file version
................
r37974 | kpfleming | 2006-07-19 12:50:55 -0600 (Wed, 19 Jul 2006) | 2 lines
make installation of French and Spanish sounds work properly
................
r37988 | kpfleming | 2006-07-19 14:44:39 -0600 (Wed, 19 Jul 2006) | 2 lines
merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
................
r37999 | russell | 2006-07-19 15:07:14 -0600 (Wed, 19 Jul 2006) | 2 lines
add notes on the changes to music on hold handling
................
r38000 | russell | 2006-07-19 15:52:59 -0600 (Wed, 19 Jul 2006) | 2 lines
add menuselect_stub.c to deps list
................
r38009 | north | 2006-07-19 16:40:36 -0600 (Wed, 19 Jul 2006) | 2 lines
Fix a few doxygen warnings.
................
r38010 | north | 2006-07-19 16:48:00 -0600 (Wed, 19 Jul 2006) | 2 lines
Remove "initialization from incompatible pointer type" warnings.
................
r38021 | russell | 2006-07-20 10:18:07 -0600 (Thu, 20 Jul 2006) | 4 lines
add a verbose message to the AGI command, STREAM FILE, similar to the
verbose messages when using Playback, Background, or the GET DATA command
(issue #7297, softins)
................
r38030 | file | 2006-07-20 12:42:22 -0600 (Thu, 20 Jul 2006) | 2 lines
Only bitmaskify the RTP payload structure for video if an RTP structure exists for it... otherwise the default values will cause codec combination madness
................
r38042 | russell | 2006-07-21 11:31:28 -0600 (Fri, 21 Jul 2006) | 4 lines
Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.
................
r38051 | bweschke | 2006-07-21 13:10:58 -0600 (Fri, 21 Jul 2006) | 3 lines
This corrects the crash condition present in #7575, but I'm not really sure if it's the "right" fix. Please review and make any adjustments you see necessary.
................
r38060 | russell | 2006-07-21 16:36:25 -0600 (Fri, 21 Jul 2006) | 3 lines
make ast_state2str thread safe by using thread local storage instead of a
static buffer for storing the result when the state value is unknown
................
r38068 | russell | 2006-07-21 17:58:14 -0600 (Fri, 21 Jul 2006) | 2 lines
slightly simplify a loop and replace an open coded version of ast_skip_blanks
................
r38076 | russell | 2006-07-21 18:08:21 -0600 (Fri, 21 Jul 2006) | 9 lines
remove an XXX comment and document that ast_autoservice_start() will return -1
if the channel is already in the autoservice list.
Why is this a valid case to return -1, you ask? Well, there should never be
any code where it is not clear if the channel is in autoservice or not because
trying to read frames from a channel that is in the autoservice list will lead
to bad results because more than one thread will be waiting on frames to arrive
on the channel and then trying to read them.
................
r38077 | russell | 2006-07-21 18:33:56 -0600 (Fri, 21 Jul 2006) | 5 lines
use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
and fix a couple little things in passing
- usecnt was not initialized in chan_iax2
- ast_update_use_count() was not called after incrementing the count in chan_sip
................
r38078 | russell | 2006-07-21 18:38:30 -0600 (Fri, 21 Jul 2006) | 2 lines
ast_pbx_outgoing_cdr_failed() is not used outside of pbx.c so make it static
................
r38088 | russell | 2006-07-22 20:41:02 -0600 (Sat, 22 Jul 2006) | 8 lines
various cleanups regarding coding guidelines issues
- malloc to ast_malloc
- malloc + memset to ast_calloc
- sizeof(struct foo) to sizeof(*bar)
- remove indentation of the entire body of a function by returning immediately
on an allocation failure
(issue #7581, tempest1)
................
r38089 | russell | 2006-07-22 20:50:25 -0600 (Sat, 22 Jul 2006) | 2 lines
update to mention svn instead of cvs
................
r38099 | russell | 2006-07-22 21:29:19 -0600 (Sat, 22 Jul 2006) | 2 lines
remove a stray newline
................
r38108 | russell | 2006-07-22 22:58:56 -0600 (Sat, 22 Jul 2006) | 4 lines
take the advice of an XXX comment and use an atomic operation to decrement a
variable. Also, change a use of strdup to ast_strdup and remove a duplicated
error message.
................
r38117 | russell | 2006-07-22 23:06:47 -0600 (Sat, 22 Jul 2006) | 3 lines
resolve another XXX comment by implementing proper handling of control frames
in ast_write(), which is to call the channel's indicate function if it exists
................
r38118 | russell | 2006-07-22 23:20:59 -0600 (Sat, 22 Jul 2006) | 3 lines
fix a seg fault in this application if no context paramater is given
(issue #7571)
................
r38127 | russell | 2006-07-23 09:19:16 -0600 (Sun, 23 Jul 2006) | 16 lines
Merge team/russell/ast_cli_tls into the trunk.
This improves the performance of ast_cli() by not doing a heap memory
allocation and deallocation every single time the function is called. Instead,
a thread-specific buffer is allocatted the first time the function is called
and automatically free'd when the thread exits. Also note that this buffer will
only be allocatted in threads that actually call this function, which is
probably only the threads spawned to service connected asterisk consoles.
This does introduce a new limitation on the maximum length of the resulting
string from the arguments passed to ast_cli. Previously there was no limit
since it was just allocating a buffer big enough every time the function was
called. The current buffer size is 16kB. If there is ever a case where we want
to print more than 16k characters in a single call to ast_cli(), this will have
to be increased.
................
r38129 | russell | 2006-07-23 09:21:44 -0600 (Sun, 23 Jul 2006) | 4 lines
ast_malloc is sufficient here, since snprintf is called on the buffer
immediately after it gets allocated, which will automatically NULL terminate
the string
................
r38139 | file | 2006-07-23 21:42:27 -0600 (Sun, 23 Jul 2006) | 2 lines
Only deal with getting the supported payloads on audio if an audio RTP stream exists
................
r38148 | rizzo | 2006-07-24 05:45:06 -0600 (Mon, 24 Jul 2006) | 3 lines
fix uninitialized variable
................
r38149 | rizzo | 2006-07-24 05:46:27 -0600 (Mon, 24 Jul 2006) | 3 lines
move middle-of-the-block declaration at the top.
................
r38158 | file | 2006-07-24 09:47:59 -0600 (Mon, 24 Jul 2006) | 2 lines
Start out with cleared RTP payload structures instead of defaults. This should prevent issues where if a stream (audio/stream) is not present and it's RTP payload structure is combined with the overall capability then the capability would be every codec that Asterisk supports.
................
r38168 | murf | 2006-07-24 11:24:47 -0600 (Mon, 24 Jul 2006) | 5 lines
blocked rev 38167 on the 1.2 branch from trunk, because it's
coded differently on trunk, would conflict and have to be hand-merged
anyway.
................
r38187 | murf | 2006-07-24 14:58:27 -0600 (Mon, 24 Jul 2006) | 7 lines
Added a small fix to exclude the AMD optimized assembly file from being included in the compile.
I don't particular like the approach, which basically tries to exclude the file based on
NOT being in a list of arches. This, IMHO, is backwards, it should be a list of AMD arches
instead. "Better to light a candle, than to curse the darkness", is apropo here. But since I don't
have an exhaustive list of what those arches could be, I leave as-is for now.
................
r38201 | russell | 2006-07-25 13:51:31 -0600 (Tue, 25 Jul 2006) | 18 lines
This exact deadlock situation that I observed can't happen in trunk due to the
recent hold changes so that MOH is not started on the bridged channel directly.
However, the change is still not a bad idea.
Merged revisions 38200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38200 | russell | 2006-07-25 15:43:38 -0400 (Tue, 25 Jul 2006) | 6 lines
This resolves a deadlock that a tech support customer was getting frequently
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.
........
................
r38223 | russell | 2006-07-26 01:48:48 -0600 (Wed, 26 Jul 2006) | 5 lines
merge the changes from my ast_cli_tls branch ...
Instead of having a static buffer size of 16k, start out with 256 bytes and
increase the size of the buffer as needed.
................
r38235 | file | 2006-07-26 09:27:45 -0600 (Wed, 26 Jul 2006) | 10 lines
Merged revisions 38234 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38234 | file | 2006-07-26 11:26:06 -0400 (Wed, 26 Jul 2006) | 2 lines
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
........
................
r38250 | tilghman | 2006-07-26 11:43:17 -0600 (Wed, 26 Jul 2006) | 2 lines
Only unlock these if they were locked on entry
................
r38258 | tilghman | 2006-07-26 13:59:25 -0600 (Wed, 26 Jul 2006) | 2 lines
Typo found on the -dev list
................
r38271 | russell | 2006-07-26 17:12:47 -0600 (Wed, 26 Jul 2006) | 4 lines
fix setting the CFLAGS for building codec libs so that they are built with
astmm support and astmm doesn't get really upset and complain that it is being
asked to free memory that was never allocated
................
r38283 | russell | 2006-07-26 19:29:57 -0600 (Wed, 26 Jul 2006) | 3 lines
fix some breakage of ast_cli() that resulted in seg faults on Josh's machine.
I'm not sure why this never caused problems for me ...
................
r38286 | russell | 2006-07-26 19:49:57 -0600 (Wed, 26 Jul 2006) | 3 lines
fix crashes with MALLOC_DEBUG enabled that were a result of my recent thread
storage changes (fixes issue #7595)
................
r38291 | russell | 2006-07-26 20:00:20 -0600 (Wed, 26 Jul 2006) | 11 lines
Merged revisions 38288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38288 | russell | 2006-07-26 21:58:41 -0400 (Wed, 26 Jul 2006) | 3 lines
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
would occur when the extension got removed. (fixes issue #7484)
........
................
r38311 | kpfleming | 2006-07-26 20:46:22 -0600 (Wed, 26 Jul 2006) | 10 lines
Merged revisions 38310 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38310 | kpfleming | 2006-07-26 21:43:49 -0500 (Wed, 26 Jul 2006) | 2 lines
don't do useless translation destroy/build when the channel is already in the correct format
........
................
r38329 | russell | 2006-07-26 22:28:09 -0600 (Wed, 26 Jul 2006) | 12 lines
Merged revisions 38328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38328 | russell | 2006-07-27 00:25:41 -0400 (Thu, 27 Jul 2006) | 4 lines
Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This was
not reported in the bug tracker but the same bug has been demonstrated in other
places in the code.
........
................
r38330 | russell | 2006-07-26 22:44:49 -0600 (Wed, 26 Jul 2006) | 3 lines
fix seg fault when the parked call that timed out was the last one in the list
of parked calls (fixes issue #7565)
................
r38348 | kpfleming | 2006-07-27 09:42:49 -0600 (Thu, 27 Jul 2006) | 10 lines
Merged revisions 38347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38347 | kpfleming | 2006-07-27 10:40:03 -0500 (Thu, 27 Jul 2006) | 2 lines
do a better job avoiding translation path teardown/setup when not needed
........
................
r38368 | kpfleming | 2006-07-27 16:20:52 -0600 (Thu, 27 Jul 2006) | 8 lines
various cleanups:
use API call for finding channel by name prefix
code formatting to match guidelines (lost about half the of the indenting)
remove useless automatic variable initializations
don't set the spying channel's read format to SLINEAR when we don't do anything with the voice frames we read from it anyway
use proper option argument checking for volume argument
................
r38369 | kpfleming | 2006-07-27 16:21:46 -0600 (Thu, 27 Jul 2006) | 2 lines
restore infinite timeout for ast_waitfor() call
................
r38371 | kpfleming | 2006-07-27 16:24:19 -0600 (Thu, 27 Jul 2006) | 2 lines
block this patch from 1.2, it's already fixed here as part of a larger commit
................
r38374 | kpfleming | 2006-07-27 17:00:27 -0600 (Thu, 27 Jul 2006) | 3 lines
remove local channel finding wrappers
move guts of dialplan application into separate function, so it can be shared bythe new application i'm about to add :-)
................
r38389 | kpfleming | 2006-07-27 17:16:08 -0600 (Thu, 27 Jul 2006) | 4 lines
more simplification, and correct a bug i introduced in the last commit
fix prototype for a channel walking function to use a const input pointer
use existing channel walk by name prefix instead of reproducing that code in this app
................
r38418 | kpfleming | 2006-07-28 12:03:57 -0600 (Fri, 28 Jul 2006) | 4 lines
more slinfactory structure definition to inside implementation module
make read/write/hold work on samples, not bytes
add an API call to find out how many samples are available in a slinfactory
................
r38421 | file | 2006-07-28 12:53:43 -0600 (Fri, 28 Jul 2006) | 10 lines
Merged revisions 38420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38420 | file | 2006-07-28 14:49:00 -0400 (Fri, 28 Jul 2006) | 2 lines
Make a copy of the request URI in check_user_full instead of modifying the one on the structure, and also strip params properly from the user portion of the SIP URI so as to preserve the domain (issue #7552 reported by dan42)
........
................
r38422 | kpfleming | 2006-07-28 12:59:59 -0600 (Fri, 28 Jul 2006) | 3 lines
move slinfactory structure definition back to header... it's just easier to use this way
add infrastructure for whispering onto a channel
................
r38439 | russell | 2006-07-28 13:17:56 -0600 (Fri, 28 Jul 2006) | 8 lines
As discussed and decided on the asterisk-dev mailing list ...
- Fix some breakage I introduced a while ago that made the timestamps option
not functional for CLI verbose output.
- Remove the use of the timestamps option for log output, since it was not
functional.
- clarify text referring to the timestamps option so that it is clear that it
only applies to CLI verbose output
................
r38441 | kpfleming | 2006-07-28 13:58:53 -0600 (Fri, 28 Jul 2006) | 2 lines
just for fun, let's lock the whisper buffer for writing AND reading :-)
................
r38452 | russell | 2006-07-28 16:14:49 -0600 (Fri, 28 Jul 2006) | 14 lines
Add the function attribute "pure" or "const" to various functions that perform
int to string or string to int operations.
"pure" essentially says that this function has no side effects aside from its
result, and the result depends on nothing else other than its arguments and
global variables. "const" is a more strict form of "pure", where the function
also doesn't access any global variables.
>From the gcc manual: "Such a function can be subject to common subexpression
elimination and loop optimization just as an arithmetic operator would be."
This also tells the compiler that it is safe to call the function fewer times
than the code says to, given the same arguments, since the result will always
be the same.
................
r38454 | russell | 2006-07-28 16:50:54 -0600 (Fri, 28 Jul 2006) | 3 lines
add macros for the pure and const attributes to compiler.h, in case they ever
need to be handled differently for a specific compiler
................
r38464 | russell | 2006-07-28 17:30:18 -0600 (Fri, 28 Jul 2006) | 4 lines
the pure attribute was not implemented before gcc 2.96. Since we have this
version check here anwyay, define attribute_pure to be empty if it's an earlier
version.
................
r38465 | kpfleming | 2006-07-28 17:36:06 -0600 (Fri, 28 Jul 2006) | 4 lines
add ExtenSpy variant of ChanSpy
implement whisper mode for ExtenSpy/ChanSpy
................
r38466 | kpfleming | 2006-07-28 17:47:05 -0600 (Fri, 28 Jul 2006) | 2 lines
play a beep tone into the spied-on channel if we are about to whisper to them
................
r38476 | kpfleming | 2006-07-28 18:19:18 -0600 (Fri, 28 Jul 2006) | 2 lines
update cleancount because the channel structure changed today
................
r38489 | markster | 2006-07-29 16:02:37 -0600 (Sat, 29 Jul 2006) | 3 lines
Allow updates to match specific lines, allow specification of object or
no when appending.
................
r38502 | file | 2006-07-29 17:19:36 -0600 (Sat, 29 Jul 2006) | 9 lines
Blocked revisions 38501 via svnmerge
........
r38501 | file | 2006-07-29 19:18:00 -0400 (Sat, 29 Jul 2006) | 2 lines
How many attempts does it take to make a SIP URI parser that works well? I'm up to 5 personally. On to the good stuff - parse the domain first, user second, and get rid of port & options/params last. (issue #7616 reported by andrew)
........
................
r38521 | tilghman | 2006-07-30 09:02:34 -0600 (Sun, 30 Jul 2006) | 3 lines
Add details about flash and wait to doxygen about DTMF.
Reformat the lines to break at column 80.
................
r38532 | russell | 2006-07-30 17:11:07 -0600 (Sun, 30 Jul 2006) | 2 lines
allow the gtk console to build and load
................
r38533 | russell | 2006-07-30 17:16:23 -0600 (Sun, 30 Jul 2006) | 2 lines
suppress some compiler warnings ...
................
r38548 | russell | 2006-07-30 22:10:43 -0600 (Sun, 30 Jul 2006) | 15 lines
Merged revisions 38546-38547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38546 | russell | 2006-07-31 00:04:02 -0400 (Mon, 31 Jul 2006) | 2 lines
Make the frame counting done with TRACE_FRAMES defined thread-safe
........
r38547 | russell | 2006-07-31 00:06:16 -0400 (Mon, 31 Jul 2006) | 2 lines
one more small tweak for thread-safety of TRACE_FRAMES
........
................
r38573 | file | 2006-07-31 09:24:05 -0600 (Mon, 31 Jul 2006) | 2 lines
Poking at a structure when it may not even be allocated is not healthy. Essentially make sure an RTCP structure exists before trying to delete it's scheduled item. (issue #7514 reported by jmls fixed by AuPix)
................
r38586 | file | 2006-07-31 11:11:51 -0600 (Mon, 31 Jul 2006) | 9 lines
Blocked revisions 38585 via svnmerge
........
r38585 | file | 2006-07-31 13:09:10 -0400 (Mon, 31 Jul 2006) | 2 lines
Add missing code to bring transferee channel out of MOH/autoservice under certain circumstance (issue #7611 reported by guillecabeza with minor mods by myself)
........
................
r38587 | russell | 2006-07-31 11:27:42 -0600 (Mon, 31 Jul 2006) | 2 lines
make the counting of ingress, outgress, and total frames thread-safe
................
r38612 | kpfleming | 2006-07-31 15:31:44 -0600 (Mon, 31 Jul 2006) | 12 lines
Merged revisions 38611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38611 | kpfleming | 2006-07-31 16:14:11 -0500 (Mon, 31 Jul 2006) | 4 lines
don't reissue hangup requests for SIP channels that have expired their RTP timeouts (one time is enough)
don't rescan the SIP private structure list too fast, it can cause channels to not be able to hang up (issue #7495, and probably others)
[... 29613 lines stripped ...]
More information about the svn-commits
mailing list