summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
AgeCommit message (Collapse)Author
2006-10-03bug #8076 check option_debug before printing to debug channel.Matt O'Gorman
patch provided in bugnote, with minor changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02Merged revisions 44215 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44215 | file | 2006-10-02 16:11:02 -0400 (Mon, 02 Oct 2006) | 10 lines Merged revisions 44213 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44213 | file | 2006-10-02 16:07:59 -0400 (Mon, 02 Oct 2006) | 2 lines Change the fd on the I/O context in case it changed during the reload, which is indeed possible. (issue #7943 reported by eclubb) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02Don't use channel when you don't mean a channelMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30Merged revisions 44078 via svnmerge from Paul Cadach
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44078 | pcadach | 2006-09-30 22:12:23 +0600 (Сбт, 30 Сен 2006) | 6 lines Fix issue #7928 correctly. Next is a comment of previous fix: Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I. Thanks, Philippe! (This was caused by my changes to the transaction handling) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30Merged revisions 44068 via svnmerge from Paul Cadach
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44068 | pcadach | 2006-09-30 10:37:39 +0600 (Сбт, 30 Сен 2006) | 14 lines Found some buggy SIP clients (phones Planet VIP-153T firmware 1.0, Linksys PAP2 firmware 3.1.9(LSc)) which sends ACK not on OK message only (when remote party answers) but on RINGING message too, so when we send 200 OK message, we get unidentified ACK message (because INVITE acknowledged on RINGING message already), so 200 OK retransmits within its retransmission interval then call gets dropped. If someone else knows how to provide workaround for such cases, please, fix it in correct way. Thanks to ssh from #asteriskru for provide access to his box to study and fix this case. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28Merged revisions 43933 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28Add jitterbuffer information to sip list settings (issue #7945 reported by ↵Joshua Colp
sergee) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27Merged revisions 43774 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43774 | file | 2006-09-27 12:23:12 -0400 (Wed, 27 Sep 2006) | 2 lines Make rfc2833compensate a global option. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-26Merged revisions 43707 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r43707 | file | 2006-09-26 16:47:26 -0400 (Tue, 26 Sep 2006) | 10 lines Merged revisions 43705 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r43705 | file | 2006-09-26 16:38:06 -0400 (Tue, 26 Sep 2006) | 2 lines Use proper type to represent the group variable (issue #8025 reported by makoto) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-22style fix:Luigi Rizzo
move variable declaration at the beginning of the block. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21Oh look more changes, but these are my own! (Clean up module load functions)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21And some deprecated APIs and modifications to documentationTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21Lots more removal of deprecated thingsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21SS7 marked the start of an open season for trunk again but here's something ↵Joshua Colp
minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20Constify the result of a config retrieval function, to avoid mutilation ↵Tilghman Lesher
(issue 7983). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19similar patch for verbose vs debug with minor changesMatt O'Gorman
bug 2617 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19Improve output of sip show peers (issue #6624 reported by mavetju with minor ↵Joshua Colp
code changes by myself) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18allow for packetization on rtp channel drivers, need to addMatt O'Gorman
option for setting our own packetization as apposed to just doing what is asked. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18Merging patch from 1.2 - Issue #7682Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18Issue #7351 - sending CANCEL when the call at some point has been in UP ↵Olle Johansson
state is wrong. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18merge qwell's CLI verbification workKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16merge markster's usersconf branch with some slight changesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-12Issue #7924 - cmaj - Turn off silence suppression if no channel ownerOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-12Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix ↵Olle Johansson
by me, myself or I. Thanks, Philippe! (This was caused by my changes to the transaction handling) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-12If we've found a T38 SDP line, stop looking for more on the very same lineOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11More formatting fixes and doxygen stuffOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11Add commentOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11- Use enum for send-request reliability flagsOlle Johansson
- Make re-invites CRITICAL git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11More formattingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11More formatting/doxygen updates to keep me occupiedOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11Ignore this. Only whitespace fixes while being bored.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11Change from "r" as a variable name to "dialog". "r" is commonly used for ↵Olle Johansson
registrations, not dialogs, in other places of the code... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11Use Timer T1 for dialog timeouts/destruction Olle Johansson
(If you have qualify=yes, we will use the actual roundtrip time) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-10If the leading underscore is not stripped before comparison,Tilghman Lesher
pbx_builtin_getvar_helper() will never find the associated variable. (Bug 7892) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09Don't destruct sessions prematurely. Especially not when we want reliable ↵Olle Johansson
retransmissions... If this works properly, we might have to check 1.2 to implement a backport. The theory is that if you get a final reply in a session, it is ok to destroy the session. If you send a final reply, you need to keep the session open for potential retransmits from the other side. If you send a HANGUP/CANCEL, wait to the other side confirms or until you have a timeout. If you send HANGUP/CANCEL/ACK reliably, don't destroy the session so that you cancel the needed retransmits. I will have to change the timer to 64*T1, but that will be a separate patch. That will mean that if we know the roundtrip time, we can destroy sessions quicker. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09importing rev 42535 from 1.2 (which by mistake was actually imported from ↵Olle Johansson
svn trunk) - Maybe the first circular commit? git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09Don't destroy pvt prematurely. Wait for answer or timeout.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09Clear proper flagOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07Convert some warnings into debug messages since they can exist under ↵Joshua Colp
perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-04Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01Merged revisions 41768 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r41768 | file | 2006-09-01 18:49:07 -0400 (Fri, 01 Sep 2006) | 2 lines Only wipe the redirected audio & video IP/port if it's specified, and trigger a reinvite. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01If we are doing video and we can't reinvite, then resort to generic bridging ↵Joshua Colp
instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01If no number is specified in the SIP_HEADER dialplan function, then just use ↵Joshua Colp
the first one. (issue #7854 reported by sxpert and issue #7863 reported by hristo) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31everything that loads a config that needs a config file to runMatt O'Gorman
now reports AST_MODULE_LOAD_DECLINE when loading if config file is not there, also fixed an error in res_config_pgsql where it had a non static function when it should. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla ↵Joshua Colp
Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Why check bridgepeer twice?Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Don't add headers to an uninitialized eq (from issue 7694 garyhai, but notOlle Johansson
a resolution to that bug report) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Note to myself: Remember Russell's note: Always compile first...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() ↵Olle Johansson
application and does not need special code in chan_sip any more. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported ↵Olle Johansson
from 1.2) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41433 65c4cc65-6c06-0410-ace0-fbb531ad65f3