summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-19Merged revisions 21597 via svnmerge from Tilghman Lesher
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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19Oops, wasn't revised the way I thought it wasTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19Blocked revisions 21597 via svnmergeTilghman Lesher
........ 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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19move a replicated block of code in the one place where it belongs.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19merge two nested 'if' which are really a single block.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19fix indentation of a large blockLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19start sorting out the duplicated code in the privacy handlerLuigi Rizzo
for future removal git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19merge two nested 'if' which are really a single block.Luigi Rizzo
(indentation still to be fixed) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19more localization and variable removalLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19more localization of variablesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19localize one more variable;Luigi Rizzo
use ast_strdup as it can handle the NULL argument well. mark a dubious piece of code with XXX git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19localize some variablesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19extract a common condition.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19fix indentation of some large blocks after previous changesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19more simplifications - use a local variable c instead of o->chan,Luigi Rizzo
use S_OR as appropriate. Still need to fix the indentation of some blocks. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19more simplificationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19start cleaning up this code so we can split the 900 lines functionLuigi Rizzo
into manageable chunks. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19support 'languageprefix' in asterisk.conf to modify the algorithmLuigi Rizzo
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! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19add experimental code for new-style "say" application.Luigi Rizzo
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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19add example syntax for new-style number and date spellingLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19one more client for find_context_locked(),Luigi Rizzo
plus a few minor fixes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19use a function, set_ext_pri(), to assign extension and priority.Luigi Rizzo
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). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19replace repeated code to walk contexts with a function,Luigi Rizzo
find_context_locked() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19move to a different file (channel.c for the time being) theLuigi Rizzo
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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19- use ast_calloc instead of ast_mallocLuigi Rizzo
- use ast_channel_lock/unlock in a few places - comment some dubious pieces of code - use memset to zero a buffer git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19Add reference to RFC for mailbox notificationOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19Cosmetic fixes to code...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18fix obvious breakageKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18doh! don't double-increment the bracket count for embedded referencesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18don't ignore left-curly-braces when searching for the end of a ↵Kevin P. Fleming
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) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18correct array index calculation (thanks mtaht3!)Kevin P. Fleming
update header file comments to reflect new usage of structure field git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18update res_odbc to support pooled connectionsRussell Bryant
(from tilghman's developer branch, res_odbc_rewrite) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18- call parking improvements (part of the siptransfer branch)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18Implement somewhat improved support for 481 Call leg does not exist responses...Olle Johansson
- There are some questions on what to do here, but it is a first step. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18Do not depend on having an end sound for stopping the bridge when time runs ↵Joshua Colp
out. (issue #6979 reported by ppyy) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18Clean up handle_response_peerpokeOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18Change sip show channels to include refer statusOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18- Deallocate refer structure at sip_destroy timeOlle Johansson
- Implement new sip_transfer() function git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18simplify logic in iax2_bridge()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18simplify logic in various functions, remove unnecessary variablesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18remove a line that was added by mistakeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18simplify the flow of builtin_atxfer().Luigi Rizzo
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). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18It's critical that we get an ACK on a 200 OK to an INVITE. If we do not get ↵Olle Johansson
the ACK, tear down the call. (Discovered at SIPit18) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18use XMIT_RELIABLE ...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18- Move subscribeuri away from refer-to, since refer-to is moving away from ↵Olle Johansson
sip_pvt git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18Merged revisions 21037 via svnmerge from Tilghman Lesher
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() ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Merged revisions 20966 via svnmerge from Tilghman Lesher
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 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17actually return the number steps... not the number of steps minus 1Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17more module loader related fixesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17add an API so that the number of steps required for a translation path can ↵Kevin P. Fleming
be acquired don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20962 65c4cc65-6c06-0410-ace0-fbb531ad65f3