summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-17Set timeout timers to Timer A and F in rfc 3261, section 17Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Change transmit_invite(). SIP Transfers are now broken officially, whileOlle Johansson
waiting for the rest of the patches... This is the dev branch, after all. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17- Add supported headerOlle Johansson
- Send cause codes as well git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Add more history on masqsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17- Implementing the new SIP transfer data structureOlle Johansson
- Changing SIP call to support sending INVITEs as part of call transfers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17- Documentation updateOlle Johansson
- Formatting change git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Documentation updateOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Remove ignore from handle_respons_referOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17Clean up handle_response_inviteOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17- Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)Olle Johansson
- Clean up initialization of initatial request initialization git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17- Doxygen formattingOlle Johansson
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17whitespace and spelling (recieve instead of receive) fixes North Antara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16preparation for reduction of the nesting of a large functionLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16more usages of stream_and_waitLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16more usages of function 'finishup()'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16one more instance of stream_and_wait, and remove an extraLuigi Rizzo
'error = 1' line put in by miustake git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16simplify a couple of functions.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16more replaceemnt of dup code with functions.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16localize several variables, and simplify the last part of park_exec()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16more formatting cleanup including removal of a useless checkLuigi Rizzo
for f == NULL git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16rename a variable same as used in a very similar function,Luigi Rizzo
to reduce code differences. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16s/pu->chan/chan in a few places;Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16put some common code into functions (still more instances to be replaced)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16properly reindent a large block.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16more readability fixes - localize some variables and invertLuigi Rizzo
a condition in an 'if' statement to reduce the nesting depth. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16introduce a function to set context, extension and priorityLuigi Rizzo
replacing some common blocks of code (there are still a few instances where it can be used) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16minor readability fixes in preparation for more work on this file:Luigi Rizzo
- replace nested 'if' with '&&' - fix indentation - annotate the end brace of some huge block - remove useless parentheses git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16minor formatting fixesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16move some duplicated code outside an if/then/else blockLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16make sure there is [almost] only a single exit point for a very longLuigi Rizzo
function so the flow is easier to follow. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16simplify the ast_channel walking routines.Luigi Rizzo
(the previous version was mine, but this way it is definitely more readable). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16move common conditions to the outside block.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16simplify logic in ast_generic_bridge()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16move common code in one placeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16avoid returning in the middle of a switch() in ast_answer()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16simplify function __ast_request_and_dial() as follows:Luigi Rizzo
- 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). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16properly reindent a blockLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16add a missing ast_channel_unlock() evidenced by previous commits.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16remove an extra lock.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16- replace some nested 'if' with '&&'Luigi Rizzo
- 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). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16Localize some variables documenting their usage.Luigi Rizzo
Comment a possible problem with locking. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16- Fixes to ast_channel_lock functionsOlle Johansson
- New get_sip_pvt_byid function (not really used correctly yet...) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16localize some variables, add some comments.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-16implement ast_waitfordigit() and ast_readstring() in termsLuigi Rizzo
of their '_full()' version, so we can remove the replicated implementation and, especially, the risk that they get out of sync. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir ↵Joshua Colp
patch by north) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15Allow the attachment format to be specified differently for different ↵Joshua Colp
mailboxes (issue #6961 reported by the ever fabulous Corydon76) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15We are shaking up trunk tonight! allow data dir to be specified (issue #6967 ↵Joshua Colp
reported by tzafrir) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15add indications for Thailand (issue #6971)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15add the ability to turn off the feature that allows agents to end callsRussell Bryant
by pressing '*'. This is still on by default. (issue #6897) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15Big oops. I did this from my trunk directory instead of ↵Russell Bryant
autoconf_and_menuselect ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20297 65c4cc65-6c06-0410-ace0-fbb531ad65f3