summaryrefslogtreecommitdiff
path: root/channels
AgeCommit message (Collapse)Author
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-10Uhm, make Zap actually work again. Did anybody actually test that code?Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42654 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-08Formatting fixes for chan_oss (issue #7808 reported by Mithraen)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more ↵Joshua Colp
mods done by myself) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07Use flags instead of variables on the private structure for thingsJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07Code cleaning/updates/potential bug fixesJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42311 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-06fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug ↵Christian Richter
log to the very begining of misdn_hangup. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06Merged revisions 42086 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r42086 | file | 2006-09-06 11:55:20 -0400 (Wed, 06 Sep 2006) | 2 lines Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42087 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-02It was pointed out to me, that using two frames is silly.Jason Parker
Thanks Josh. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-02fix some module loader breakageJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-02Fix VLDTMF issues.Jason Parker
It still isn't variable length, but it does let you dial again. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41788 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-31there is no need for __iax_frame_free ...Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41650 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-31there is no need to use iax_frame_free here, as it will actually just end upRussell Bryant
having a bunch of erroneous messages about attempting to double free frames spammed to the console. Problem reported to me by file ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41629 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
2006-08-30Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30Use an API call (ast_rtp_get_bridged) to return the RTP stream we are ↵Joshua Colp
bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29make menuselect configure process be silent when possibleKevin P. Fleming
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29Limit challenges to 9 digits in lengthJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29Merge team/russell/frame_cachingRussell Bryant
There are some situations in Asterisk where ast_frame and/or iax_frame structures are rapidly allocatted and freed (at least 50 times per second for one call). This code significantly improves the performance of ast_frame_header_new(), ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping a thread-local cache of these structures and using frames from the cache whenever possible instead of calling malloc/free every time. This commit also converts the ast_frame and iax_frame structures to use the linked list macros. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29update to reflect recent rtp changesRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-28Merge in RTP-level packet bridging. Packet comes in, packet goes out - ↵Joshua Colp
that's what RTP-level packet bridging is all about! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵Kevin P. Fleming
directives git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25Note to self, always compile before committing.Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25Don't send proceeding twice (#7800)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25don't seg fault when using dbsecretRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21Allow an offset for SIP_HEADER so you can get more then 1 header of the same ↵Joshua Colp
name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40781 65c4cc65-6c06-0410-ace0-fbb531ad65f3