Kevin P. Fleming
09778b268e
move 'struct ast_rtp' back to rtp.c where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
36506dad2d
Debug logging fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
fee02a9b7d
At least reply if we get a fatal error in handling a packet.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
91732256db
Don't crash if chan2 does not exist (one-legged call situations, like echo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b796bf414b
Improve SIP history
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
89081c3d06
Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
479181951a
Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
...
and some patches (all disclaimed).
- Don't change RTP properties if we reject a re-INVITE
- Don't add video to an outbound channel if there's no video on the inbound channel
- Don't include video in the "preferred codec" list for codec selection
- Clean up and document code that parses and adds SDP attachments
Since we do not transcode video, we can't handle video the same way as audio. This is a
bug fix patch. In future releases, we need to work on a solution for video negotiation,
not codecs but formats and framerates instead.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8bc0599b11
Issue 7208 - Handle ; in userinfo part of URI too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
404f8db694
Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
62dd0dc6f2
Only override callingpres set by rpid if user/peer preference is set. (Issue #7240 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
02bc3637da
Code simplification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d520d238f1
- Fix more problems in transfer code (thanks Tholo!)
...
- Add debug for hangup not in UP state
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
043b765bdc
Respond to some of Luigis questions...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e97507e8fb
Fix potential bug. THanks luigi!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0d6906e107
- Doxygen fix
...
- Debug message change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c2b50fd2bd
Show max bitrate in "sip show user" and "sip show channel"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
439e4963ab
- Typo in chan_sip (: missing)
...
- Only print formats once in dumpchan()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
531ed6f290
add a bit of comment on what build_route does,
...
plus minor code simplification.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
88077a4d1f
remove some duplicated code;
...
fix indentation on one line;
mark XXX some unreachable code;
mark XXX another place where we could reduce the nesting depth.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
2724885b78
small simplification in assignments, and fix a typo in a comment.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
24d1d23a93
mark XXX some places where there is a return right before
...
a large "else" block, which is suitable for a reduction of
the nesting depth.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
8dbdd8518b
fix indentation of a block
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
d18e363523
some code simplifications using S_OR() to remove some if blocks
...
and duplicate code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
ec46b5a4ce
use ast_skip_blanks() where appropriate, and use standard
...
C jargoon *foo++ = '\0'; instead of two separate statements.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
b7b716b618
mark XXX a buggy section of code and implement a probable
...
replacement (leave the original in case my code does not
do what the function was meant to do).
oej, please check this...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
7483e1d2b6
simplify logic in a small block of code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
c7a5a96fc6
mark XXX a bug in the code. oej/kevin, any idea what you want
...
to use here ?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
a63b2e4c53
remove duplicate code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
1a38041830
Replace '\"' with '"'.
...
The escape is unnecessary, and makes a bad example
to people reading the code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e0a8649273
- Formatting
...
- Add some comments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b7cfe5bd08
Minor change to DEBUG and WARNING messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4d17451c55
Issue #7103 take two. Thanks Mikael!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4c76028de9
- add the ability to configure forced jitterbuffers on h323, jingle,
...
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
the sip, zap, and skinny channel drivers, as copying the same global
configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257 , north, with additional updates and modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
62b2f320a1
make a global variable static and remove an unused global variable
...
(issue #7258 , tardieu)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
725e285bc4
Commit of the new SIP transfer support (oej/siptransfer branch)
...
- improved support of attended transfers (REFER with replaces)
- support of INVITE/replaces in the context of a transfer
- improved support of blind transfers (REFER)
Thanks to Voop, Nuvio and Foniris for sponsoring this work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
414106a3a6
move the includes of abstract_jb.h to be with the rest of the asterisk includes.
...
These used to be wrapped in a #ifdef
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
bb7dd96cfe
Add support for using a jitterbuffer for RTP on bridged calls. This includes
...
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854 , Slav Klenov)
Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
503486e99d
OKAY - Only replace our IP address in the outgoing SIP messages if the actual source address is within the specified local network. (issue #7051 reported by Luke-Jr with mods by me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c7007e1f55
Add congestion message to SIP history
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
bc0f0a3226
Use ast_channel_trylock for channels
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f890cab292
Merged revisions 30293 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r30293 | kpfleming | 2006-05-25 12:18:01 -0500 (Thu, 25 May 2006) | 2 lines
allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
57f6093661
don't send CANCEL for an INVITE that we haven't received a provisional response for yet... mark it pending until a response arrives (issue #7079 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b8b1fda04c
Typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3e99be68d1
add a new option for 'obscuring' SIP user/peer names from fishers
...
use an enum for authentication results and clean up code
fix a bug where SUBSCRIBE for an unknown user/peer would not generate a response
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b31af470e7
Merged revisions 29764 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r29764 | kpfleming | 2006-05-23 13:16:40 -0500 (Tue, 23 May 2006) | 2 lines
simplify/fix lock retry, and fix comment
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
c4227714fd
Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
16a648aaf1
Breaking once will stop us... :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
883e4d6a9b
Code formatting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
fa9e0ed768
Handle ringing (early) state properly on SIP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago