[asterisk-commits] branch bweschke/polycom_acd_functions r29612 - in /team/bweschke/polycom_acd_...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 22 18:01:07 MST 2006


Author: bweschke
Date: Mon May 22 20:01:05 2006
New Revision: 29612

URL: http://svn.digium.com/view/asterisk?rev=29612&view=rev
Log:
Merged revisions 19542-19546,19549,19578-19579,19614-19616,19645,19673,19703,19736,19767,19769,19810-19811,19813-19814,19858,19890,19892,19941,19973,20003,20035-20036,20038,20075-20076,20104,20132,20138,20165-20170,20196-20197,20223-20225,20264,20295-20297,20328-20330,20357-20358,20389,20396,20424,20453-20454,20456,20477,20484,20511-20514,20540,20543,20569-20570,20596-20598,20623-20627,20652-20653,20678-20679,20693,20705,20707,20733,20759,20790,20816,20844,20872,20900-20903,20908,20931-20932,20962-20964,21002,21038-21039,21043,21061,21097-21099,21126-21131,21157,21181,21207,21235-21236,21239,21262,21277,21311,21338,21365,21392-21393,21420-21421,21451,21468,21479-21481,21508,21535-21538,21566,21568,21572,21595-21596,21598-21600,21639,21681,21707,21743,21786,21792,21814,21816-21821,21835,21849-21851,21878-21879,21906,21933,21960,21986,21988,22015-22016,22043-22046,22075-22076,22078,22082,22128,22163,22201,22232,22267-22269,22272-22273,22302-22303,22306,22308,22327,22344-22346,22357,22388,22413-22415,22438,22460,22482,22504,22526,22549,22571-22573,22597,22631,22653-22656,22678-22680,22702-22703,22725-22727,22730,22750,22772,22795-22798,22820,22842-22844,22867-22869,22900-22906,22928-22933,22955-22958,22988-22990,23011-23012,23037,23066-23067,23088,23109,23130,23151-23154,23175,23177-23178,23207-23208,23229,23250,23271-23273,23284,23306,23334-23335,23354-23355,23376,23378,23380-23382,23402,23422,23443,23463-23468,23480,23489-23494,23514,23534-23536,23550,23557,23581-23582,23611-23615,23637,23639-23640,23669-23672,23674-23675,23704,23706,23735-23737,23758,23769,23780-23783,23795,23805-23810,23831,23852-23854,23875,23896-23897,23929,23950,23952,23984,23987,23989,24020,24053,24075,24098,24115,24139,24168,24173-24175,24177-24178,24212-24213,24216,24219,24248,24252,24254-24258,24292-24293,24314,24329,24339-24344,24376,24379-24380,24382,24421-24431,24460,24462-24464,24495,24497,24534,24543,24564-24566,24604-24605,24621,24636,24638-24641,24670,24707,24745,24759,24775-24776,24805,24838,24876,24878-24880,24910,24912,24950,24981-24982,25012-25013,25016-25017,25026,25056-25057,25059-25060,25063,25076,25094-25096,25124,25159,25162,25164,25206,25234,25260,25287,25289,25323,25356-25357,25384-25385,25411,25441,25443-25444,25446-25447,25450,25487-25488,25519,25521,25523-25524,25564-25568,25590,25610-25614,25628,25651-25654,25683-25684,25686,25714-25717,25746-25749,25772,25801,25829-25831,25856,25860-25861,25889,25891-25894,25914,25924-25925,25928-25930,25959,25989,26016-26017,26019-26020,26046-26049,26051,26054-26055,26091-26094,26103,26131,26166,26170,26216,26250,26281-26283,26314,26345-26347,26378,26416-26417,26441,26451,26492,26495,26525-26529,26531,26564,26594,26624-26625,26655-26656,26686,26716,26719-26720,26723,26755-26759,26764,26781,26799-26802,26804,26808,26840,26845-26851,26877,26884,26915,26917,26919-26920,26952,26954-26955,26989-26992,27023,27052,27094,27128-27130,27153,27194,27231,27269-27270,27305-27306,27346,27396,27436-27437,27477-27479,27522-27524,27559,27595,27637,27684,27724,27768,27770,27812,27848,27892,27928,27972,27974-27975,28016-28017,28055-28056,28091,28126,28168,28170,28213-28215,28258,28300,28336,28338,28393-28395,28445,28483-28484,28502,28520,28555,28592,28628-28629,28631,28657,28703-28705,28745,28747,28771,28789,28791-28792,28795-28796,28832-28834,28863,28894-28895,28897,28903,28934-28936,28967,28970,29017-29018,29053,29094-29095,29129,29164,29195,29197,29234,29264-29268,29298-29299,29315,29328-29335,29363-29364,29395,29407,29411,29434-29435,29463,29465-29467,29514,29553-29554,29556,29570,29592 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r19542 | oej | 2006-04-12 16:32:40 -0400 (Wed, 12 Apr 2006) | 2 lines

Doxygen docs

................
r19543 | kpfleming | 2006-04-12 16:39:09 -0400 (Wed, 12 Apr 2006) | 2 lines

fancify the sample grammar a bit

................
r19544 | rizzo | 2006-04-12 16:40:46 -0400 (Wed, 12 Apr 2006) | 13 lines

add 'show threads' and 'show profile' commands.
These are momstly debugging tools for developers,
a bit documented in the header files (utils.h),
although more documentation is definitely necessary.

The performance impact is close to zero(*) so there is no
need to compile it conditionally.
(*) not completely true - thread destruction still needs
to search a list _but_ this can be easily optimized if we
end up with hundreds of active threads (in which case, though,
the problem is clearly elsewhere).


................
r19545 | rizzo | 2006-04-12 16:42:02 -0400 (Wed, 12 Apr 2006) | 3 lines

whoops... remove an extra line.


................
r19546 | oej | 2006-04-12 16:57:07 -0400 (Wed, 12 Apr 2006) | 5 lines

Implement a setting for denying/allowing transfer requests. At this stage,
we only have open/closed. Well, at least you can deny transfers from unknown
callers or at least incoming calls.
(Part of the SIPtransfer branch)

................
r19549 | oej | 2006-04-12 17:00:31 -0400 (Wed, 12 Apr 2006) | 2 lines

Fix for Polycom bug...

................
r19578 | oej | 2006-04-12 17:21:44 -0400 (Wed, 12 Apr 2006) | 5 lines

- Adding some refer state definitions from the siptransfer branch
- A bit more URI conversions 
- Changes to sip_dual and the SIP invite structure
- Add Supported: headers to more requests

................
r19579 | russell | 2006-04-12 17:22:00 -0400 (Wed, 12 Apr 2006) | 2 lines

make sure uint64_t is available on mac

................
r19614 | kpfleming | 2006-04-12 19:33:47 -0400 (Wed, 12 Apr 2006) | 2 lines

simplify macro usage

................
r19615 | twisted | 2006-04-12 19:47:51 -0400 (Wed, 12 Apr 2006) | 3 lines

Note that the res_speech module will need to be loaded first, and add a conveient line to uncomment to do so for the time being.


................
r19616 | twisted | 2006-04-12 19:57:39 -0400 (Wed, 12 Apr 2006) | 2 lines

fix caffiene-induced typo.

................
r19645 | file | 2006-04-12 20:18:52 -0400 (Wed, 12 Apr 2006) | 2 lines

Updates to speech recognition API and dialplan utilities. Moved to using dialplan functions, and some other misc things.

................
r19673 | tilghman | 2006-04-12 21:29:54 -0400 (Wed, 12 Apr 2006) | 2 lines

Document the MSGSM format, and fix the uncalculated number of samples

................
r19703 | oej | 2006-04-13 03:08:44 -0400 (Thu, 13 Apr 2006) | 2 lines

Formatting fixes

................
r19736 | oej | 2006-04-13 08:48:03 -0400 (Thu, 13 Apr 2006) | 2 lines

Issue #6951 - Show last successful registration time in "sip show registry" (ivanfm) with mods for svn trunk

................
r19767 | kpfleming | 2006-04-13 11:28:24 -0400 (Thu, 13 Apr 2006) | 2 lines

remove extraneous warning message

................
r19769 | tilghman | 2006-04-13 11:58:22 -0400 (Thu, 13 Apr 2006) | 9 lines

Blocked revisions 19768 via svnmerge

........
r19768 | tilghman | 2006-04-13 10:56:35 -0500 (Thu, 13 Apr 2006) | 2 lines

Bug 6957 - variable names beginning with CALLERID weren't substituted correctly

........

................
r19810 | tilghman | 2006-04-13 13:20:28 -0400 (Thu, 13 Apr 2006) | 2 lines

Typo fix

................
r19811 | tilghman | 2006-04-13 13:22:16 -0400 (Thu, 13 Apr 2006) | 2 lines

Unregister format says it's already unregistered

................
r19813 | kpfleming | 2006-04-13 13:41:43 -0400 (Thu, 13 Apr 2006) | 10 lines

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

........
r19812 | kpfleming | 2006-04-13 12:40:21 -0500 (Thu, 13 Apr 2006) | 2 lines

oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return

........

................
r19814 | tilghman | 2006-04-13 13:46:06 -0400 (Thu, 13 Apr 2006) | 2 lines

Bug 6896 - Fix for garbled wav49 format

................
r19858 | file | 2006-04-13 15:58:45 -0400 (Thu, 13 Apr 2006) | 2 lines

Fix the grammar that Kevin broke

................
r19890 | tilghman | 2006-04-13 16:19:02 -0400 (Thu, 13 Apr 2006) | 2 lines

Fix format for big endian systems

................
r19892 | tilghman | 2006-04-13 16:40:23 -0400 (Thu, 13 Apr 2006) | 10 lines

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

........
r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines

Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes

........

................
r19941 | tilghman | 2006-04-14 00:59:11 -0400 (Fri, 14 Apr 2006) | 2 lines

Bug 6927 - CLI command has 3 args, not 2.

................
r19973 | rizzo | 2006-04-14 09:54:53 -0400 (Fri, 14 Apr 2006) | 9 lines

temporarily revert the way mutex are initialized on BSD systems.
This fixes the compilation on OS/X (the change exposed a wrong
assumption on mutex types on OS/X), but still leaves open the
bugs in initializing mutex on bsd systems, which you will see
reported as 'locking failures' on certain operations.
I need to investigate the issue further, but the best thing
i can do now is leave things as they have been for months.


................
r20003 | rizzo | 2006-04-14 10:08:19 -0400 (Fri, 14 Apr 2006) | 23 lines

This rather large commit changes the way modules are loaded. 
 
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!


................
r20035 | kpfleming | 2006-04-14 13:01:07 -0400 (Fri, 14 Apr 2006) | 10 lines

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

........
r20034 | kpfleming | 2006-04-14 12:00:32 -0500 (Fri, 14 Apr 2006) | 2 lines

update text to match actual prompts being distributed (thanks to Kinsey in the support department for reviewing all the prompts!)

........

................
r20036 | rizzo | 2006-04-14 13:19:57 -0400 (Fri, 14 Apr 2006) | 3 lines

fix a mostly harmless error introduced by svn merge.


................
r20038 | kpfleming | 2006-04-14 13:25:31 -0400 (Fri, 14 Apr 2006) | 10 lines

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

........
r20037 | kpfleming | 2006-04-14 12:21:09 -0500 (Fri, 14 Apr 2006) | 2 lines

uncomment files that actually do exist (oops)

........

................
r20075 | tilghman | 2006-04-14 14:44:24 -0400 (Fri, 14 Apr 2006) | 2 lines

Compatibility fixes for loader changes

................
r20076 | rizzo | 2006-04-14 14:45:08 -0400 (Fri, 14 Apr 2006) | 3 lines

fix another svn merge bug


................
r20104 | rizzo | 2006-04-14 15:35:37 -0400 (Fri, 14 Apr 2006) | 4 lines

partial fix of the module API to use the new method.
Still not complete as we need to take care of the usecount stuff.


................
r20132 | rizzo | 2006-04-14 16:47:06 -0400 (Fri, 14 Apr 2006) | 3 lines

code cleanup (for loop normalization, remove useless casts and parentheses)


................
r20138 | rizzo | 2006-04-14 17:00:59 -0400 (Fri, 14 Apr 2006) | 3 lines

constify a couple of function arguments


................
r20165 | rizzo | 2006-04-14 18:02:19 -0400 (Fri, 14 Apr 2006) | 3 lines

constification and code simplifications


................
r20166 | rizzo | 2006-04-14 18:17:27 -0400 (Fri, 14 Apr 2006) | 3 lines

normalize cli completion code


................
r20167 | rizzo | 2006-04-14 18:22:13 -0400 (Fri, 14 Apr 2006) | 3 lines

use ast_strdup instead of strdup


................
r20168 | rizzo | 2006-04-14 18:32:13 -0400 (Fri, 14 Apr 2006) | 3 lines

code simplifications


................
r20169 | rizzo | 2006-04-14 18:48:05 -0400 (Fri, 14 Apr 2006) | 3 lines

misc. code cleanup


................
r20170 | rizzo | 2006-04-14 18:55:58 -0400 (Fri, 14 Apr 2006) | 3 lines

remove some unnecessary braces


................
r20196 | rizzo | 2006-04-14 19:20:29 -0400 (Fri, 14 Apr 2006) | 8 lines

- remove some unnecessary casts and braces;      
- add braces around a nested 'if'
- use S_OR and '?' to remove some duplicated function calls;
- replace nested 'if' with &&
- move out a common term in a sequence of 'if'
- add a comment on a potentially dangerous string manipulation


................
r20197 | rizzo | 2006-04-14 19:30:18 -0400 (Fri, 14 Apr 2006) | 7 lines

- use '?' instead of if statements for assignment;
- fix indentation in a few places
- use a variable to store the 'other' channel, thus removing
  the need for some duplicated code;
- use '=' instead of memcpy to copy struct sockaddr_in


................
r20223 | rizzo | 2006-04-14 20:05:08 -0400 (Fri, 14 Apr 2006) | 10 lines

- normalize for() loops to navigate through variables,
  removing replicated var = var->next;
- remove a potential infinite loop and document the problem
- remove useless checks and document why
- mark XXX a possible bug (to be investigated)
- use ast_strlen_zero() instead of expanding it inline
- fix indentation in one place   
- replace a nested 'if' with '&&'


................
r20224 | rizzo | 2006-04-14 20:36:05 -0400 (Fri, 14 Apr 2006) | 7 lines

- use '=' to copy struct sockaddr_in
- localize a variable
- replace three replicas of the same code with a much simpler construct
  removing replicated var = var->next;
- use '?' instead of 'if' for an assignment


................
r20225 | rizzo | 2006-04-14 20:53:04 -0400 (Fri, 14 Apr 2006) | 6 lines

applied two of the 3 chunks in #6907, and a similar one
(replace nested 'if' with '&&')
I cannot make sense of the first chunk of the proposed patch,
i think the original is correct.


................
r20264 | oej | 2006-04-15 04:07:50 -0400 (Sat, 15 Apr 2006) | 5 lines

New functions for locking a channel - these simplify debugging
when you have channel locking issues.
(Part of the SIP transfer patch, where I had a *lot* of
channel locking problems)

................
r20295 | oej | 2006-04-15 11:07:39 -0400 (Sat, 15 Apr 2006) | 6 lines

More ast_channel_lock fixes
- Update lock.h with definitions of ast_channel_lock, ast_channel_unlock and ast_channel_trylock
- Convert some functions (but not all) in channel.c
- Fix some bugs in chan_sip.c
- Convert rest of chan_sip.c

................
r20296 | russell | 2006-04-15 11:33:00 -0400 (Sat, 15 Apr 2006) | 1 line

include autoconfig.h (casper)
................
r20297 | russell | 2006-04-15 11:34:57 -0400 (Sat, 15 Apr 2006) | 2 lines

Big oops.  I did this from my trunk directory instead of autoconf_and_menuselect ...

................
r20328 | russell | 2006-04-15 18:32:23 -0400 (Sat, 15 Apr 2006) | 3 lines

add the ability to turn off the feature that allows agents to end calls
by pressing '*'.  This is still on by default. (issue #6897)

................
r20329 | russell | 2006-04-15 18:49:45 -0400 (Sat, 15 Apr 2006) | 2 lines

add indications for Thailand (issue #6971)

................
r20330 | file | 2006-04-15 18:53:53 -0400 (Sat, 15 Apr 2006) | 2 lines

We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)

................
r20357 | file | 2006-04-15 19:05:18 -0400 (Sat, 15 Apr 2006) | 2 lines

Allow the attachment format to be specified differently for different mailboxes (issue #6961 reported by the ever fabulous Corydon76)

................
r20358 | file | 2006-04-15 19:37:29 -0400 (Sat, 15 Apr 2006) | 2 lines

Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)

................
r20389 | rizzo | 2006-04-16 03:53:25 -0400 (Sun, 16 Apr 2006) | 5 lines

implement ast_waitfordigit() and ast_readstring() in terms
of their '_full()' version, so we can remove the replicated
implementation and, especially, the risk that they get out of sync.


................
r20396 | rizzo | 2006-04-16 04:01:10 -0400 (Sun, 16 Apr 2006) | 3 lines

localize some variables, add some comments.


................
r20424 | oej | 2006-04-16 08:57:15 -0400 (Sun, 16 Apr 2006) | 3 lines

- Fixes to ast_channel_lock functions
- New get_sip_pvt_byid function (not really used correctly yet...)

................
r20453 | rizzo | 2006-04-16 09:27:58 -0400 (Sun, 16 Apr 2006) | 4 lines

Localize some variables documenting their usage.
Comment a possible problem with locking.


................
r20454 | rizzo | 2006-04-16 09:58:43 -0400 (Sun, 16 Apr 2006) | 9 lines

- replace some nested 'if' with '&&'
- bring the short case at the top of an 'if' statement
  (also fix misformatting)
- replace several 'if' with the '?' operator;
 
- invert the condition on an 'if' to reduce the nesting depth 
  (reindentation to be done later).


................
r20456 | rizzo | 2006-04-16 10:00:17 -0400 (Sun, 16 Apr 2006) | 3 lines

remove an extra lock.


................
r20477 | rizzo | 2006-04-16 10:03:43 -0400 (Sun, 16 Apr 2006) | 3 lines

add a missing ast_channel_unlock() evidenced by previous commits.


................
r20484 | rizzo | 2006-04-16 10:14:16 -0400 (Sun, 16 Apr 2006) | 3 lines

properly reindent a block


................
r20511 | rizzo | 2006-04-16 11:13:39 -0400 (Sun, 16 Apr 2006) | 11 lines

simplify function __ast_request_and_dial() as follows:
- handle immediately failures in ast_request();
  This removes the need for checking 'chan' multiple times afterwards.
- handle immediately failures in ast_call(), by moving the one-line
  case at the top of the 'if' statement;
- use ast_strlen_zero in several places instead of expanding it inline;
- make outstate always a valid pointer;
On passing mark an unclear statement and replace a magic number
with sizeof(tmp).


................
r20512 | rizzo | 2006-04-16 11:22:13 -0400 (Sun, 16 Apr 2006) | 3 lines

avoid returning in the middle of a switch() in  ast_answer()


................
r20513 | rizzo | 2006-04-16 11:27:58 -0400 (Sun, 16 Apr 2006) | 3 lines

move common code in one place


................
r20514 | rizzo | 2006-04-16 11:51:53 -0400 (Sun, 16 Apr 2006) | 3 lines

simplify logic in ast_generic_bridge()


................
r20540 | rizzo | 2006-04-16 12:04:24 -0400 (Sun, 16 Apr 2006) | 3 lines

move common conditions to the outside block.


................
r20543 | rizzo | 2006-04-16 12:58:56 -0400 (Sun, 16 Apr 2006) | 5 lines

simplify the ast_channel walking routines.
(the previous version was mine, but this way it is definitely
more readable).


................
r20569 | rizzo | 2006-04-16 13:41:05 -0400 (Sun, 16 Apr 2006) | 4 lines

make sure there is [almost] only a single exit point for a very long
function so the flow is easier to follow.


................
r20570 | rizzo | 2006-04-16 13:59:37 -0400 (Sun, 16 Apr 2006) | 3 lines

move some duplicated code outside an if/then/else block


................
r20596 | rizzo | 2006-04-16 14:10:10 -0400 (Sun, 16 Apr 2006) | 3 lines

minor formatting fixes


................
r20597 | rizzo | 2006-04-16 14:37:01 -0400 (Sun, 16 Apr 2006) | 7 lines

minor readability fixes in preparation for more work on this file:
- replace nested 'if' with '&&'
- fix indentation
- annotate the end brace of some huge block
- remove useless parentheses


................
r20598 | rizzo | 2006-04-16 14:49:46 -0400 (Sun, 16 Apr 2006) | 5 lines

introduce a function to set context, extension and priority
replacing some common blocks of code (there are still a few
instances where it can be used)


................
r20623 | rizzo | 2006-04-16 15:05:19 -0400 (Sun, 16 Apr 2006) | 4 lines

more readability fixes - localize some variables and invert
a condition in an 'if' statement to reduce the nesting depth.


................
r20624 | rizzo | 2006-04-16 15:12:51 -0400 (Sun, 16 Apr 2006) | 3 lines

properly reindent a large block.


................
r20625 | rizzo | 2006-04-16 15:26:57 -0400 (Sun, 16 Apr 2006) | 3 lines

put some common code into functions (still more instances to be replaced)


................
r20626 | rizzo | 2006-04-16 15:41:12 -0400 (Sun, 16 Apr 2006) | 3 lines

s/pu->chan/chan in a few places;


................
r20627 | rizzo | 2006-04-16 15:56:08 -0400 (Sun, 16 Apr 2006) | 4 lines

rename a variable same as used in a very similar function,
to reduce code differences.


................
r20652 | rizzo | 2006-04-16 16:09:01 -0400 (Sun, 16 Apr 2006) | 4 lines

more formatting cleanup including removal of a useless check
for f == NULL


................
r20653 | rizzo | 2006-04-16 16:32:14 -0400 (Sun, 16 Apr 2006) | 3 lines

localize several variables, and simplify the last part of park_exec()


................
r20678 | rizzo | 2006-04-16 17:41:06 -0400 (Sun, 16 Apr 2006) | 3 lines

more replaceemnt of dup code with functions.


................
r20679 | rizzo | 2006-04-16 17:57:02 -0400 (Sun, 16 Apr 2006) | 3 lines

simplify a couple of functions.


................
r20693 | rizzo | 2006-04-16 18:02:30 -0400 (Sun, 16 Apr 2006) | 4 lines

one more instance of stream_and_wait, and remove an extra
'error = 1' line put in by miustake


................
r20705 | rizzo | 2006-04-16 18:22:53 -0400 (Sun, 16 Apr 2006) | 2 lines

more usages of function 'finishup()'

................
r20707 | rizzo | 2006-04-16 18:46:00 -0400 (Sun, 16 Apr 2006) | 3 lines

more usages of stream_and_wait


................
r20733 | rizzo | 2006-04-16 19:05:42 -0400 (Sun, 16 Apr 2006) | 3 lines

preparation for reduction of the nesting of a large function


................
r20759 | north | 2006-04-16 21:17:03 -0400 (Sun, 16 Apr 2006) | 2 lines

whitespace and spelling (recieve instead of receive) fixes 

................
r20790 | oej | 2006-04-17 00:31:21 -0400 (Mon, 17 Apr 2006) | 6 lines

- Doxygen formatting
  Please place a Doxygen todo marker before things that needs to be checked up later
  by someone - it's like /*! \todo We really need to implement this in C++ */

- option_debug checking before logging to DEBUG channel

................
r20816 | oej | 2006-04-17 01:32:22 -0400 (Mon, 17 Apr 2006) | 3 lines

- Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)
- Clean up initialization of initatial request initialization

................
r20844 | oej | 2006-04-17 04:15:38 -0400 (Mon, 17 Apr 2006) | 2 lines

Clean up handle_response_invite

................
r20872 | oej | 2006-04-17 05:21:56 -0400 (Mon, 17 Apr 2006) | 2 lines

Remove ignore from handle_respons_refer

................
r20900 | oej | 2006-04-17 09:08:24 -0400 (Mon, 17 Apr 2006) | 2 lines

Documentation update

................
r20901 | oej | 2006-04-17 09:22:31 -0400 (Mon, 17 Apr 2006) | 3 lines

- Documentation update
- Formatting change

................
r20902 | oej | 2006-04-17 09:47:30 -0400 (Mon, 17 Apr 2006) | 3 lines

- Implementing the new SIP transfer data structure
- Changing SIP call to support sending INVITEs as part of call transfers

................
r20903 | oej | 2006-04-17 09:52:53 -0400 (Mon, 17 Apr 2006) | 2 lines

Add more history on masqs

................
r20908 | oej | 2006-04-17 10:00:44 -0400 (Mon, 17 Apr 2006) | 3 lines

- Add supported header
- Send cause codes as well

................
r20931 | oej | 2006-04-17 10:07:50 -0400 (Mon, 17 Apr 2006) | 3 lines

Change transmit_invite(). SIP Transfers are now broken officially, while
waiting for the rest of the patches... This is the dev branch, after all.

................
r20932 | oej | 2006-04-17 10:22:16 -0400 (Mon, 17 Apr 2006) | 2 lines

Set timeout timers to Timer A and F in rfc 3261, section 17

................
r20962 | kpfleming | 2006-04-17 12:42:03 -0400 (Mon, 17 Apr 2006) | 3 lines

add an API so that the number of steps required for a translation path can be acquired
don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination

................
r20963 | kpfleming | 2006-04-17 12:42:21 -0400 (Mon, 17 Apr 2006) | 2 lines

more module loader related fixes

................
r20964 | kpfleming | 2006-04-17 12:43:55 -0400 (Mon, 17 Apr 2006) | 2 lines

actually return the number steps... not the number of steps minus 1

................
r21002 | tilghman | 2006-04-17 13:17:41 -0400 (Mon, 17 Apr 2006) | 10 lines

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

........
r20966 | tilghman | 2006-04-17 12:00:16 -0500 (Mon, 17 Apr 2006) | 2 lines

Bug 6544 - when we remove a music class, the thread servicing it should die

........

................
r21038 | tilghman | 2006-04-18 02:29:30 -0400 (Tue, 18 Apr 2006) | 10 lines

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

........
r21037 | tilghman | 2006-04-18 01:26:04 -0500 (Tue, 18 Apr 2006) | 2 lines

Bug 6984 - off by one error in Random()

........

................
r21039 | oej | 2006-04-18 02:40:01 -0400 (Tue, 18 Apr 2006) | 2 lines

- Move subscribeuri away from refer-to, since refer-to is moving away from sip_pvt

................
r21043 | oej | 2006-04-18 03:00:27 -0400 (Tue, 18 Apr 2006) | 2 lines

use XMIT_RELIABLE ...

................
r21061 | oej | 2006-04-18 03:03:36 -0400 (Tue, 18 Apr 2006) | 3 lines

It's critical that we get an ACK on a 200 OK to an INVITE. If we do not get the ACK,
tear down the call. (Discovered at SIPit18)

................
r21097 | rizzo | 2006-04-18 09:05:48 -0400 (Tue, 18 Apr 2006) | 7 lines

simplify the flow of builtin_atxfer().

There is still a lot of similarity with builtin_blindtransfer()
which should be removed by definining functions for the common
pieces of code (eg in the first part).


................
r21098 | rizzo | 2006-04-18 09:17:44 -0400 (Tue, 18 Apr 2006) | 3 lines

remove a line that was added by mistake


................
r21099 | rizzo | 2006-04-18 09:37:07 -0400 (Tue, 18 Apr 2006) | 3 lines

simplify logic in various functions, remove unnecessary variables


................
r21126 | rizzo | 2006-04-18 10:23:14 -0400 (Tue, 18 Apr 2006) | 3 lines

simplify logic in iax2_bridge()


................
r21127 | oej | 2006-04-18 10:35:15 -0400 (Tue, 18 Apr 2006) | 3 lines

- Deallocate refer structure at sip_destroy time
- Implement new sip_transfer() function

................
r21128 | oej | 2006-04-18 10:37:54 -0400 (Tue, 18 Apr 2006) | 2 lines

Change sip show channels to include refer status

................
r21129 | oej | 2006-04-18 10:41:57 -0400 (Tue, 18 Apr 2006) | 2 lines

Clean up handle_response_peerpoke

................
r21130 | file | 2006-04-18 10:43:32 -0400 (Tue, 18 Apr 2006) | 2 lines

Do not depend on having an end sound for stopping the bridge when time runs out. (issue #6979 reported by ppyy)

................
r21131 | oej | 2006-04-18 10:50:30 -0400 (Tue, 18 Apr 2006) | 3 lines

Implement somewhat improved support for 481 Call leg does not exist responses...
- There are some questions on what to do here, but it is a first step.

................
r21157 | oej | 2006-04-18 11:09:01 -0400 (Tue, 18 Apr 2006) | 2 lines

- call parking improvements (part of the siptransfer branch)

................
r21181 | russell | 2006-04-18 14:16:32 -0400 (Tue, 18 Apr 2006) | 3 lines

update res_odbc to support pooled connections
(from tilghman's developer branch, res_odbc_rewrite)

................
r21207 | kpfleming | 2006-04-18 17:39:20 -0400 (Tue, 18 Apr 2006) | 3 lines

correct array index calculation (thanks mtaht3!)
update header file comments to reflect new usage of structure field

................
r21235 | kpfleming | 2006-04-18 19:24:02 -0400 (Tue, 18 Apr 2006) | 2 lines

don't ignore left-curly-braces when searching for the end of a variable/function reference; match them up with right-curly-braces so we choose the proper brace to end the reference (will still fail to parse properly if the reference contains unbalanced braces)

................
r21236 | kpfleming | 2006-04-18 19:25:22 -0400 (Tue, 18 Apr 2006) | 2 lines

doh! don't double-increment the bracket count for embedded references

................
r21239 | kpfleming | 2006-04-18 19:50:59 -0400 (Tue, 18 Apr 2006) | 2 lines

fix obvious breakage

................
r21262 | oej | 2006-04-18 20:04:03 -0400 (Tue, 18 Apr 2006) | 2 lines

Cosmetic fixes to code...

................
r21277 | oej | 2006-04-18 20:45:37 -0400 (Tue, 18 Apr 2006) | 2 lines

Add reference to RFC for mailbox notification

................
r21311 | rizzo | 2006-04-19 02:58:20 -0400 (Wed, 19 Apr 2006) | 6 lines

- use ast_calloc instead of ast_malloc
- use ast_channel_lock/unlock in a few places
- comment some dubious pieces of code
- use memset to zero a buffer


................
r21338 | rizzo | 2006-04-19 03:23:22 -0400 (Wed, 19 Apr 2006) | 9 lines

move to a different file (channel.c for the time being) the
wrappers around the basic 'say' functions, and redeclare these
wrappers as ordinary functions rather than function pointers.

This way, alternative implementations of the 'say' functions
will only have to implement the basic functions and not the
wrappers.


................
r21365 | rizzo | 2006-04-19 04:52:15 -0400 (Wed, 19 Apr 2006) | 4 lines

replace repeated code to walk contexts with a function,
find_context_locked()


................
r21392 | rizzo | 2006-04-19 05:18:30 -0400 (Wed, 19 Apr 2006) | 5 lines

use a function, set_ext_pri(), to assign extension and priority.
On passing, fix a bug in __ast_pbx_run() where the wrong priority
was used in a call to ast_exists_extension() (see comment in the code).


................
r21393 | rizzo | 2006-04-19 05:31:41 -0400 (Wed, 19 Apr 2006) | 4 lines

one more client for find_context_locked(),
plus a few minor fixes.


................
r21420 | rizzo | 2006-04-19 06:21:58 -0400 (Wed, 19 Apr 2006) | 3 lines

add example syntax for new-style number and date spelling


................
r21421 | rizzo | 2006-04-19 06:27:31 -0400 (Wed, 19 Apr 2006) | 15 lines

add experimental code for new-style "say" application.
The rules for spelling out numbers and dates are in the config
file "say.conf", which can be edited to implement national
or even local language rules.

The new code can be enabled through the cli command
'say load new'
while the old code can be restored with
'say load old'

Eventually, this code should go to a better place,
but for the time being we keep here as it provides
very similar functions.


................
r21451 | rizzo | 2006-04-19 09:59:34 -0400 (Wed, 19 Apr 2006) | 9 lines

support 'languageprefix' in asterisk.conf to modify the algorithm
to build pathnames for language-specific files (see file.c for
a description)

Default, of course, to the standard behaviour.

We don't have an asterisk.conf.sample to put an example of use!


................
r21468 | rizzo | 2006-04-19 10:02:49 -0400 (Wed, 19 Apr 2006) | 4 lines

start cleaning up this code so we can split the 900 lines function
into manageable chunks.


................
r21479 | rizzo | 2006-04-19 10:14:40 -0400 (Wed, 19 Apr 2006) | 3 lines

more simplifications


................
r21480 | rizzo | 2006-04-19 10:50:17 -0400 (Wed, 19 Apr 2006) | 6 lines

more simplifications - use a local variable c instead of o->chan,
use S_OR as appropriate.

Still need to fix the indentation of some blocks.


................
r21481 | rizzo | 2006-04-19 10:53:18 -0400 (Wed, 19 Apr 2006) | 3 lines

fix indentation of some large blocks after previous changes


................
r21508 | rizzo | 2006-04-19 11:15:03 -0400 (Wed, 19 Apr 2006) | 3 lines

extract a common condition.


................
r21535 | rizzo | 2006-04-19 12:10:11 -0400 (Wed, 19 Apr 2006) | 3 lines

localize some variables


................
r21536 | rizzo | 2006-04-19 12:19:52 -0400 (Wed, 19 Apr 2006) | 5 lines

localize one more variable;
use ast_strdup as it can handle the NULL argument well.
mark a dubious piece of code with XXX


................
r21537 | rizzo | 2006-04-19 12:36:15 -0400 (Wed, 19 Apr 2006) | 3 lines

more localization of variables


................
r21538 | rizzo | 2006-04-19 12:54:04 -0400 (Wed, 19 Apr 2006) | 3 lines

more localization and variable removal


................
r21566 | rizzo | 2006-04-19 13:29:15 -0400 (Wed, 19 Apr 2006) | 4 lines

merge two nested 'if' which are really a single block.
(indentation still to be fixed)


................
r21568 | rizzo | 2006-04-19 13:58:07 -0400 (Wed, 19 Apr 2006) | 4 lines

start sorting out the duplicated code in the privacy handler
for future removal


................
r21572 | rizzo | 2006-04-19 14:00:32 -0400 (Wed, 19 Apr 2006) | 3 lines

fix indentation of a large block


................
r21595 | rizzo | 2006-04-19 14:07:19 -0400 (Wed, 19 Apr 2006) | 3 lines

merge two nested 'if' which are really a single block.


................
r21596 | rizzo | 2006-04-19 14:15:20 -0400 (Wed, 19 Apr 2006) | 3 lines

move a replicated block of code in the one place where it belongs.


................
r21598 | tilghman | 2006-04-19 14:44:58 -0400 (Wed, 19 Apr 2006) | 9 lines

Blocked revisions 21597 via svnmerge

........
r21597 | tilghman | 2006-04-19 13:43:17 -0500 (Wed, 19 Apr 2006) | 2 lines

Bug 6553 - plug memory leaks when ODBC connection is down

........

................
r21599 | tilghman | 2006-04-19 14:50:51 -0400 (Wed, 19 Apr 2006) | 2 lines

Oops, wasn't revised the way I thought it was

................
r21600 | tilghman | 2006-04-19 14:56:38 -0400 (Wed, 19 Apr 2006) | 10 lines

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

........
r21597 | tilghman | 2006-04-19 13:43:17 -0500 (Wed, 19 Apr 2006) | 2 lines

Bug 6553 - plug memory leaks when ODBC connection is down

........

................
r21639 | kpfleming | 2006-04-19 17:11:31 -0400 (Wed, 19 Apr 2006) | 10 lines

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

........
r21638 | kpfleming | 2006-04-19 16:10:41 -0500 (Wed, 19 Apr 2006) | 2 lines

support system-specific scripts in safe_asterisk, before starting Asterisk proper

........

................
r21681 | russell | 2006-04-19 18:32:07 -0400 (Wed, 19 Apr 2006) | 2 lines

add the malloc attribute to the memory allocation wrappers

................
r21707 | oej | 2006-04-19 19:49:36 -0400 (Wed, 19 Apr 2006) | 2 lines

Clarify result of sipsock_read

................
r21743 | rizzo | 2006-04-20 13:39:44 -0400 (Thu, 20 Apr 2006) | 8 lines

comment that for callerid field, NULL and "" should be considered
equivalent (the reason is, when passing these strings through a
statically allocated buffer, we have no way to tell between NULL and ""
so we would be unable to preserve the difference, if any).

No code changes yet.


................
r21786 | rizzo | 2006-04-21 05:54:23 -0400 (Fri, 21 Apr 2006) | 6 lines

Replace three replicas of the same code with a function.
Consider NULL and "" as equivalent in cid strings.

On passing, also remove an extra data copy.


................
r21792 | rizzo | 2006-04-21 06:00:58 -0400 (Fri, 21 Apr 2006) | 3 lines

make NULL and "" equivalent for some cid fields.


................
r21814 | rizzo | 2006-04-21 06:05:45 -0400 (Fri, 21 Apr 2006) | 3 lines

make NULL and "" equivalent in cid fields, mark some missing NULL checks.


................
r21816 | rizzo | 2006-04-21 06:31:23 -0400 (Fri, 21 Apr 2006) | 3 lines

more NULL and "" equivalence in cid fields


................
r21817 | rizzo | 2006-04-21 06:37:59 -0400 (Fri, 21 Apr 2006) | 3 lines

ast_strdup can handle NULL args well, so use it.


................
r21818 | rizzo | 2006-04-21 06:41:13 -0400 (Fri, 21 Apr 2006) | 4 lines

more NULL "" equivalence in CID fields.
Mark a potentially missing item in managerevent


................
r21819 | rizzo | 2006-04-21 06:47:07 -0400 (Fri, 21 Apr 2006) | 5 lines

more NULL / "" equivalence for CID fields.

Mark an inconsistency in empty string handling.


................
r21820 | rizzo | 2006-04-21 06:51:31 -0400 (Fri, 21 Apr 2006) | 5 lines

more NULL "" equivalence in CLI fields.

Mark a place where we don't clear a buffer while we probably should.


................
r21821 | rizzo | 2006-04-21 06:57:03 -0400 (Fri, 21 Apr 2006) | 5 lines

more NULL "" equivalence,
mark a couple of inconsistencies (missing CallerIDnum,
"unknown" instead of "<unknown>") - there are more of the same.


................
r21835 | rizzo | 2006-04-21 07:02:28 -0400 (Fri, 21 Apr 2006) | 3 lines

more NULL "" equivalence in cid fields.


................
r21849 | rizzo | 2006-04-21 07:05:54 -0400 (Fri, 21 Apr 2006) | 3 lines

more NULL "" equivalence in cid fields.


................
r21850 | rizzo | 2006-04-21 07:19:48 -0400 (Fri, 21 Apr 2006) | 3 lines

localize a variable, and make a minor code rearrangement.


................
r21851 | rizzo | 2006-04-21 07:30:02 -0400 (Fri, 21 Apr 2006) | 3 lines

one more client for find_context_locked()


................
r21878 | rizzo | 2006-04-21 08:12:42 -0400 (Fri, 21 Apr 2006) | 3 lines

minor cleanup


................
r21879 | rizzo | 2006-04-21 08:58:39 -0400 (Fri, 21 Apr 2006) | 3 lines

simplify a function


................
r21906 | rizzo | 2006-04-21 09:44:15 -0400 (Fri, 21 Apr 2006) | 3 lines

simplify pbx_builtin_execiftime


................
r21933 | rizzo | 2006-04-21 10:49:21 -0400 (Fri, 21 Apr 2006) | 6 lines

- use symbolic constants and macros to play with the debug flag
  on the frame counters. Document it in the header file.
- provide a single exit point for a function;
- mark XXX some unclear parts of the code.


................
r21960 | rizzo | 2006-04-21 11:49:14 -0400 (Fri, 21 Apr 2006) | 4 lines

update configuration, generalize date format and
start mapping digit strings


................
r21986 | rizzo | 2006-04-21 12:04:25 -0400 (Fri, 21 Apr 2006) | 3 lines

merge some common code into a function


................
r21988 | rizzo | 2006-04-21 12:18:12 -0400 (Fri, 21 Apr 2006) | 3 lines

comment a possible memory leak


................
r22015 | rizzo | 2006-04-21 13:47:44 -0400 (Fri, 21 Apr 2006) | 4 lines

replace strncpy with ast_copy_string and fix the -1 offset which
is not needed now.


................
r22016 | rizzo | 2006-04-21 13:53:39 -0400 (Fri, 21 Apr 2006) | 3 lines

replace strncpy with ast_copy_string.


................
r22043 | rizzo | 2006-04-21 14:08:57 -0400 (Fri, 21 Apr 2006) | 5 lines

replace some strncpy with ast_copy string,
on passing fix some potential null pointer dereference,
and normalize some loops


................
r22044 | rizzo | 2006-04-21 14:13:21 -0400 (Fri, 21 Apr 2006) | 3 lines

more strncpy/ast_copy_string replacement


................
r22045 | rizzo | 2006-04-21 14:26:54 -0400 (Fri, 21 Apr 2006) | 4 lines

more strncpy/ast_copy_string replacement.
On passing, simplify code by using strsep() as appropriate


................
r22046 | rizzo | 2006-04-21 14:34:38 -0400 (Fri, 21 Apr 2006) | 4 lines

more stncpy/ast_copy_string replacement.



................
r22075 | rizzo | 2006-04-21 16:28:32 -0400 (Fri, 21 Apr 2006) | 5 lines

move wait_and_stream to ast_wait_and_stream() because equivalent
code is replicated in way too many places not to have a global
function for that.


................
r22076 | rizzo | 2006-04-21 16:39:50 -0400 (Fri, 21 Apr 2006) | 3 lines

convert to use ast_stream_and_wait


................
r22078 | rizzo | 2006-04-21 16:51:55 -0400 (Fri, 21 Apr 2006) | 3 lines

convert to use ast_strem_and_wait


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

[... 75253 lines stripped ...]


More information about the asterisk-commits mailing list