aboutsummaryrefslogtreecommitdiffstats
path: root/channels
AgeCommit message (Collapse)AuthorFilesLines
2006-09-10Uhm, make Zap actually work again. Did anybody actually test that code?markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-10If the leading underscore is not stripped before comparison,tilghman1-1/+2
pbx_builtin_getvar_helper() will never find the associated variable. (Bug 7892) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42638 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09Don't destruct sessions prematurely. Especially not when we want reliable ↵oej1-25/+26
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: http://svn.digium.com/svn/asterisk/trunk@42537 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09importing rev 42535 from 1.2 (which by mistake was actually imported from ↵oej1-4/+3
svn trunk) - Maybe the first circular commit? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42536 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09Don't destroy pvt prematurely. Wait for answer or timeout.oej1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42531 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09Clear proper flagoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Formatting fixes for chan_oss (issue #7808 reported by Mithraen)file1-241/+211
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42389 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more ↵file1-253/+247
mods done by myself) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42388 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Use flags instead of variables on the private structure for thingsfile1-21/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Code cleaning/updates/potential bug fixesfile1-75/+64
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07Convert some warnings into debug messages since they can exist under ↵file1-2/+4
perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug ↵crichter1-2/+4
log to the very begining of misdn_hangup. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42126 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Merged revisions 42086 via svnmerge from file1-6/+13
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: http://svn.digium.com/svn/asterisk/trunk@42087 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-04Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)oej1-10/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02It was pointed out to me, that using two frames is silly.qwell1-13/+11
Thanks Josh. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02fix some module loader breakageqwell1-11/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41789 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-02Fix VLDTMF issues.qwell1-7/+21
It still isn't variable length, but it does let you dial again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41788 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01Merged revisions 41768 via svnmerge from file1-4/+8
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: http://svn.digium.com/svn/asterisk/trunk@41769 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01If we are doing video and we can't reinvite, then resort to generic bridging ↵file1-1/+1
instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41718 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01If no number is specified in the SIP_HEADER dialplan function, then just use ↵file1-2/+6
the first one. (issue #7854 reported by sxpert and issue #7863 reported by hristo) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41689 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31there is no need for __iax_frame_free ...russell1-10/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41650 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31everything that loads a config that needs a config file to runmogorman12-17/+22
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: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31there is no need to use iax_frame_free here, as it will actually just end uprussell1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@41629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla ↵file16-129/+341
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: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Why check bridgepeer twice?oej1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41457 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Don't add headers to an uninitialized eq (from issue 7694 garyhai, but notoej1-2/+2
a resolution to that bug report) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Note to myself: Remember Russell's note: Always compile first...oej1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() ↵oej1-0/+4
application and does not need special code in chan_sip any more. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported ↵oej1-0/+3
from 1.2) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)oej1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-30Use an API call (ast_rtp_get_bridged) to return the RTP stream we are ↵file1-6/+9
bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41316 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29make menuselect configure process be silent when possiblekpfleming1-3/+5
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29Limit challenges to 9 digits in lengthfile1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29Merge team/russell/frame_cachingrussell5-103/+135
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: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29update to reflect recent rtp changesrussell1-7/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28Merge in RTP-level packet bridging. Packet comes in, packet goes out - ↵file3-40/+69
that's what RTP-level packet bridging is all about! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41235 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-7/+2
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25Note to self, always compile before committing.mattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41068 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25Don't send proceeding twice (#7800)mattf1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25don't seg fault when using dbsecretrussell1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Allow an offset for SIP_HEADER so you can get more then 1 header of the same ↵file1-5/+19
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: http://svn.digium.com/svn/asterisk/trunk@40781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21replace a couple of bare 'make' with $(MAKE)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Fix a potential integer signedness problem.qwell1-0/+7
Also fix some locking issues I found at the same time. Issue 7770, original patch by alamantia git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40757 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming23-459/+350
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20This is just step 1 in taking over the world.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40663 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Converted device2str and control2str to use thread local storage.qwell1-4/+15
Thanks Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40600 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Make the CIPC device string usefulqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40563 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Fix minor display issues in "skinny show devices".qwell1-7/+75
Patch by wedhorn with minor modifications by me. Issue 7766 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19deprecate chan_agent callback modekpfleming1-0/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19convert lists of constants in channel.h to enums instead of #definesrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40424 f38db490-d61c-443f-a65b-d21fe96a405b