summaryrefslogtreecommitdiff
path: root/channels/chan_h323.c
AgeCommit message (Collapse)Author
2006-08-21merge new_loader_completion branch, including (at least):Kevin P. Fleming
- 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-16move the calls to ast_jb_configure() to before the PBX thread is started on theRussell Bryant
channel to remove the theoretical race condition that the channel could get bridged before the channel's jitterbuffer gets configured. This was pointed out by PCadach on IRC. Thanks! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-15complete the coding style changes for these frame structuresKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-15Made "style" change requested by Kevin Fleming... used initializer in ↵Steve Murphy
declaration, brought decl down to block where the variable is used, got rid of memset. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-15On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."Steve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-05Merged revisions 38903-38904 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r38903 | russell | 2006-08-05 01:07:39 -0400 (Sat, 05 Aug 2006) | 2 lines suppress a compiler warning about the usage of a potentially uninitialized variable ........ r38904 | russell | 2006-08-05 01:08:50 -0400 (Sat, 05 Aug 2006) | 10 lines Fix an issue that would cause a NewCallerID manager event to be generated before the channel's NewChannel event. This was due to a somewhat recent change that included using ast_set_callerid() where it wasn't before. This function should not be used in the channel driver "new" functions. (issue #7654, fixed by me) Also, fix a couple minor bugs in usecount handling. chan_iax2 could have increased the usecount but then returned an error. The place where chan_sip increased the usecount did not call ast_update_usecount() ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19merge Russell's 'hold_handling' branch, finally implementing music-on-hold ↵Kevin P. Fleming
handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03Blocked revisions 36725 via svnmergeRussell Bryant
........ r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines use ast_set_callerid to be more consistent and to make sure that the "callerid" option in the conf files is always handled the same way and sets ANI (issue #7285, gkloepfer) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23revert my changes that converted the jb on the channel to be dynamicallyRussell Bryant
allocated. These changes caused crashes when using a channel type that did not support the jitterbuffer. Instead of fixing why it's crashing, I'm going to implement this in a better way next week. The way I did it caused a jitterbuffer to be allocated on every channel where the channel type supported jitterbuffers, even if they were disabled. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22- dynamically allocate the ast_jb structure that is on the channel structureRussell Bryant
so that channels not using a jitterbuffer don't waste as much memory - ensure that the channel drivers that use jitterbuffers can handle a failure from configuring a jitterbuffer on a new channel because of a memory allocation error - On passing through these channel drivers, configure the jitterbuffer before starting the PBX thread instead of afterwards. If the pbx fails to start for whatever reason, this would have caused a crash. - Also on passing, move the increase of the usecount to after all of the possible failure conditions in the function - fix a place where ast_update_use_count() was not called - ensure that the owner channel pointer of the channel pvt strcutures is set to NULL in failure conditions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵Kevin P. Fleming
again :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01- add the ability to configure forced jitterbuffers on h323, jingle,Russell Bryant
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
2006-05-31update the rest of the channel drivers that use RTP so that their channelRussell Bryant
tech structures indicate that they create jitter git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10update the ->indicate() callback for the new argumentsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29partial adaptation to the new module loadingLuigi Rizzo
(not sure if it compiles, partly inspired by #9981 but with adaptations) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵Kevin P. Fleming
autoconf and menuselect tools for Asterisk! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08since the module API is changing, it's a good time to const-ify the ↵Kevin P. Fleming
description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03bug updates chan_h323 to some api changes it Matt O'Gorman
also allows for it to compile once more patch taken from 6446 with minor mods, similar bugs 6521 and 6560 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31define a global null_frame object so when queueing a null frame, you don'tRussell Bryant
have to allocate one on the stack git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06issue #5605Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27Remove unnecessary checks before calls to ast_strlen_zero. Also, changeRussell Bryant
some places where strlen is used instead of ast_strlen_zero git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15ok wtf, no compiler error hereJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15I swore this compiled. Honest, officerJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15more license/copyright header updates (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15Lets try this - an attempt to properly deal with DTMFJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15clean up debugJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15castrate the logic in oh323_digit to pass DTMF no matter what. (issue #4989)Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-02Fix newsignal/newcontrol compile issue. Bug #4867Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27Stomp on deadlock. Bug #4555Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27one-way-audio problem on multihomed host with bind to secondary address. Bug ↵Jeremy McNamara
#4505 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSIONRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24don't use locks when reading usecounts (reading only, not writing)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06fix version tag macro callsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06another round of version tag updates, along with 'show version files' ↵Kevin P. Fleming
pattern filtering git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-21Optimize global/user/peer configuration call options. Bug #4336Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19Make capbilities be connection specific versus for the whole endpoint. Bug #4334Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19Fix memory leak, avoid uncessary abuse of memory and formatting tweaks. Bug ↵Jeremy McNamara
#4282 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-13Formatting fixes and sanity checks Bug #4263Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-11Formatting fixes, proper locking and to shut bkw up. Bug #4185Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug ↵Jeremy McNamara
#4135 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵Kevin P. Fleming
base-10 parsing (bug #4110) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29Fix codec negiocation on inbound calls. Bugs 3980, 4021, 4045Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04Better dependancy and version checking method, solve call problems when ↵Jeremy McNamara
dealing with a gatekeeper, sanity check call cleanup, in hopes to avoid deadlocks (Bugs #3848 #3643, #3591) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-08Fix compilation of chan_h323.c since removal of the private channel ↵Josh Roberson
structures (Bug # 3738) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5153 65c4cc65-6c06-0410-ace0-fbb531ad65f3