oej
8da38ca62e
use XMIT_RELIABLE ...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21043 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 07:00:27 +00:00
oej
a7935694be
- Move subscribeuri away from refer-to, since refer-to is moving away from sip_pvt
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 06:40:01 +00:00
tilghman
cc7ccbbabe
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()
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21038 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 06:29:30 +00:00
tilghman
b55a1f4981
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
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21002 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 17:17:41 +00:00
kpfleming
ec0cb9deda
actually return the number steps... not the number of steps minus 1
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:43:55 +00:00
kpfleming
2f4660a236
more module loader related fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20963 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:42:21 +00:00
kpfleming
34fbed8253
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
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:42:03 +00:00
oej
07ac7ea785
Set timeout timers to Timer A and F in rfc 3261, section 17
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 14:22:16 +00:00
oej
ff494a4500
Change transmit_invite(). SIP Transfers are now broken officially, while
...
waiting for the rest of the patches... This is the dev branch, after all.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20931 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 14:07:50 +00:00
oej
958a9e569e
- Add supported header
...
- Send cause codes as well
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20908 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 14:00:44 +00:00
oej
fc0f188090
Add more history on masqs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 13:52:53 +00:00
oej
2b37103937
- Implementing the new SIP transfer data structure
...
- Changing SIP call to support sending INVITEs as part of call transfers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20902 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 13:47:30 +00:00
oej
6b4f9cc690
- Documentation update
...
- Formatting change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 13:22:31 +00:00
oej
2d9a2b8380
Documentation update
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20900 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 13:08:24 +00:00
oej
eb185cd179
Remove ignore from handle_respons_refer
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20872 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 09:21:56 +00:00
oej
04d8b0cf24
Clean up handle_response_invite
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 08:15:38 +00:00
oej
37faf92e3b
- Drop too bad SIP requests in order to avoid some UDP misuse (hello Edwin)
...
- Clean up initialization of initatial request initialization
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20816 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 05:32:22 +00:00
oej
b26611b4e7
- 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
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 04:31:21 +00:00
north
b7d5df197a
whitespace and spelling (recieve instead of receive) fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 01:17:03 +00:00
rizzo
371effe8a5
preparation for reduction of the nesting of a large function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20733 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 23:05:42 +00:00
rizzo
621179716d
more usages of stream_and_wait
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 22:46:00 +00:00
rizzo
b73e7e70aa
more usages of function 'finishup()'
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20705 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 22:22:53 +00:00
rizzo
cfbd3b7b4e
one more instance of stream_and_wait, and remove an extra
...
'error = 1' line put in by miustake
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 22:02:30 +00:00
rizzo
84bbeee135
simplify a couple of functions.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20679 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 21:57:02 +00:00
rizzo
fbcb026822
more replaceemnt of dup code with functions.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 21:41:06 +00:00
rizzo
7604fe591b
localize several variables, and simplify the last part of park_exec()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 20:32:14 +00:00
rizzo
9d774b6494
more formatting cleanup including removal of a useless check
...
for f == NULL
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20652 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 20:09:01 +00:00
rizzo
0f3b9d81dd
rename a variable same as used in a very similar function,
...
to reduce code differences.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 19:56:08 +00:00
rizzo
a616844355
s/pu->chan/chan in a few places;
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20626 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 19:41:12 +00:00
rizzo
1a6e1ef989
put some common code into functions (still more instances to be replaced)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20625 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 19:26:57 +00:00
rizzo
ce29951c27
properly reindent a large block.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20624 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 19:12:51 +00:00
rizzo
c06844cf06
more readability fixes - localize some variables and invert
...
a condition in an 'if' statement to reduce the nesting depth.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20623 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 19:05:19 +00:00
rizzo
2cfc3be9ff
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)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20598 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 18:49:46 +00:00
rizzo
1bb80944bc
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
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 18:37:01 +00:00
rizzo
17adf2ca4e
minor formatting fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 18:10:10 +00:00
rizzo
6b5fac3ca5
move some duplicated code outside an if/then/else block
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20570 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 17:59:37 +00:00
rizzo
0d0d96e8a1
make sure there is [almost] only a single exit point for a very long
...
function so the flow is easier to follow.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20569 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 17:41:05 +00:00
rizzo
572a3f9f96
simplify the ast_channel walking routines.
...
(the previous version was mine, but this way it is definitely
more readable).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 16:58:56 +00:00
rizzo
ebd45fb768
move common conditions to the outside block.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20540 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 16:04:24 +00:00
rizzo
8afb9a9b5e
simplify logic in ast_generic_bridge()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 15:51:53 +00:00
rizzo
5b2e7c4782
move common code in one place
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 15:27:58 +00:00
rizzo
b319115212
avoid returning in the middle of a switch() in ast_answer()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 15:22:13 +00:00
rizzo
74b806c647
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).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20511 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 15:13:39 +00:00
rizzo
10632ecc83
properly reindent a block
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20484 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 14:14:16 +00:00
rizzo
752f273b24
add a missing ast_channel_unlock() evidenced by previous commits.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 14:03:43 +00:00
rizzo
7e887abee9
remove an extra lock.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20456 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 14:00:17 +00:00
rizzo
8326bd9435
- 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).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20454 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 13:58:43 +00:00
rizzo
1ee63a0193
Localize some variables documenting their usage.
...
Comment a possible problem with locking.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20453 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 13:27:58 +00:00
oej
d2a8739e6d
- Fixes to ast_channel_lock functions
...
- New get_sip_pvt_byid function (not really used correctly yet...)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20424 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 12:57:15 +00:00
rizzo
4e21113090
localize some variables, add some comments.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20396 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 08:01:10 +00:00