summaryrefslogtreecommitdiff
path: root/channels/h323/chan_h323.h
AgeCommit message (Collapse)Author
2014-07-04Remove many deprecated modulesMatthew Jordan
Billing records are fair, To get paid is quite bright, You should really use ODBC; Good-bye cdr_sqlite. Microsoft did once push H.323, Hell, we all remember NetMeeting. But try to compile chan_h323 now And you will take quite a beating. The XMPP and SIP war was fierce, And in the distant fray Was birthed res_jabber/chan_jingle; But neither to stay. For everyone did care and chase what Google professed. "Free Internet Calling" was what devotees cried, But Google did change the specs so often That the developers were happy the day chan_gtalk died. And then there was that odd application Dedicated to the Polish tongue. app_saycountpl was subsumed by Say; One could say its bell was rung. To read and parse a file from the dialplan You could (I guess) use an application. app_readfile did fill that purpose, but I think A function is perhaps better in its creation. Barging is rude, I'm not sure why we do it. Inwardly, the caller will probably sigh. But if you really must do it, Don't use app_dahdibarge, use ChanSpy. We all despise the sound of tinny robots It makes our queues so cold. To control such an abomination It's better to not use Wait/SetMusicOnHold. It's often nice to know properties of a channel It makes our calls right We have a nice function called CHANNEL And so SIPCHANINFO is sent off into the night. And now things get odd; Apparently one could delimit with a colon Properties from the SIPPEER function! Commas are in; all others are done. Finally, a word on pipes and commas. We're sorry. We can't say it enough. But those compatibility options in asterisk.conf; To maintain them forever was just too tough. This patch removes: * cdr_sqlite * chan_gtalk * chan_jingle * chan_h323 * res_jabber * app_saycountpl * app_readfile * app_dahdibarge It removes the following applications/functions: * WaitMusicOnHold * SetMusicOnHold * SIPCHANINFO It removes the colon delimiter from the SIPPEER function. Finally, it also removes all compatibility options that were configurable from asterisk.conf, as these all applied to compatibility with Asterisk 1.4 systems. Review: https://reviewboard.asterisk.org/r/3698/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-12-19Voicemail: Remove mailbox identifier format (box@context) assumptions in the ↵Richard Mudgett
system. This change is in preparation for external MWI support. Removed code from the system for normal mailbox handling that appends @default to the mailbox identifier if it does not have a context. The only exception is the legacy hasvoicemail users.conf option. The legacy option will only work for app_voicemail mailboxes. The system cannot make any assumptions about the format of the mailbox identifer used by app_voicemail. chan_sip and chan_dahdi/sig_pri had the most changes because they both tried to interpret the mailbox identifier. chan_sip just stored and compared the two components. chan_dahdi actually used the box information. The ISDN MWI support configuration options had to be reworked because chan_dahdi was parsing the box@context format to get the box number. As a result the mwi_vm_boxes chan_dahdi.conf option was added and is documented in the chan_dahdi.conf.sample file. Review: https://reviewboard.asterisk.org/r/3072/ ........ Merged revisions 404348 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-02-03Asterisk media architecture conversion - no more format bitfieldsDavid Vossel
This patch is the foundation of an entire new way of looking at media in Asterisk. The code present in this patch is everything required to complete phase1 of my Media Architecture proposal. For more information about this project visit the link below. https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal The primary function of this patch is to convert all the usages of format bitfields in Asterisk to use the new format and format_cap APIs. Functionally no change in behavior should be present in this patch. Thanks to twilson and russell for all the time they spent reviewing these changes. Review: https://reviewboard.asterisk.org/r/1083/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-04Expand codec bitfield from 32 bits to 64 bits.Tilghman Lesher
Reviewboard: https://reviewboard.asterisk.org/r/416/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22Make chan_h323 respect packetization settings and fix small reload issue.Jeff Peeler
Previously, packetization settings were ignored and now they are not. A new config option 'autoframing' has been added to mirror the way chan_sip handles it. Turning on the autoframing option (available both as a global option or per peer) overrides the local settings with the remote packetization settings. Testing was performed with varying packetization levels with the following codecs: ulaw, alaw, gsm, and g729. Also, an unrelated config reload issue has been fixed in the case of the config file not changing. (closes issue #12415) Reported by: pj Patches: 2009012200_h323packetization.diff.txt uploaded by mvanbaak (license 7), modified by me git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@189993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-17Allow H.323 Plus library to be used in addition to the OpenH323 libraryJeff Peeler
Chan_h323 can now be compiled against both the previously supported versions of OpenH323 as well as the current H.323 Plus (version 1.20.2). The configure script has been modified to look in the default install location of h323 to hopefully help avoid using the environment variables OPENH323DIR and PWLIBDIR. Also, the CLI command "h323 show version" has been added which indicates which version of h323 is in use. (closes issue #11261) Reported by: vhatz Patches: asterisk-1.6.0.6-h323plus.patch uploaded by jthurman (license 614) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-18Modify h323 to build against PTLib as well as the older PWLibJeff Peeler
Several changes in PTLib have occurred requiring build time detection. Changes accounted for include the library name change, config option change, install location change, and a boolean type change which is handled by ast_ptlib.h. Also, the sed check has been modified to properly work with autoconf >= 2.62. (closes issue #14224) Reported by: bergolth Patches: asterisk-autoconf-sed.patch uploaded by bergolth (license 661) asterisk-pwlib-v3.patch uploaded by bergolth (license 661) Tested by: jpeeler git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-07Merged revisions 44684 via svnmerge from Paul Cadach
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44684 | pcadach | 2006-10-07 20:39:34 +0600 (Сбт, 07 Окт 2006) | 1 line Propagate caller's transfer capability too ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29Merged revisions 44009 via svnmerge from Paul Cadach
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44009 | pcadach | 2006-09-30 00:30:34 +0600 (Сбт, 30 Сен 2006) | 1 line Pass TON/PRESENTATION information too ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28Handle HOLD/RETRIEVE notificationsPaul Cadach
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25Support for negotiation and receiption of Cisco's RTP DTMFPaul Cadach
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-24Define DTMF payload typesPaul Cadach
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20Merge in latest round of chan_h323 changes. These are all isolated to ↵Joshua Colp
chan_h323 so meh. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19Mergeing in Paul Cadach's chan_h323 changes *holds breath*Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 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-06-01Apply a proper solution to resolve AST_MAX_ACCOUNT_CODEJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26Define AST_MAX_ACCOUNTCODE because chan_h323.h does not link to the Asterisk ↵Jeremy McNamara
headers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25Use defined AST_MAX_ACCOUNT_CODE (bug #4350)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 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-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@5559 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-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@5379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21Fix G.729 name annoucement to Open H.323 and inform Asterisk's RTP stack ↵Jeremy McNamara
specifically which codec we are expecting. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-16Properly deal with Caller*ID, document the new RTP Payload setting, remove ↵Jeremy McNamara
compiler option that may confuse g++ and force chan_h323.so to be relinked on every compile git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15Major fixes: Fixed deadlock issue, added support for inband call progress ↵Jeremy McNamara
and correct Progress Indicator messages, added configurable RTP payload to send RFC2833 DTMF and correct sending of RFC2833 User Input capability, fixed hostname parsing on peers, preliminary support for correct Q.931 cause codes and fixed bindaddr compile warning git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11format properlyJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11A [possibly] better solution to the CalledPartyAddress problem. Test and ↵Jeremy McNamara
report please git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23implement type=alias to deprecate type=h323 and a whole lot more code clean upJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-22re-implement callerid, still might not be right. Remove channel limits, in ↵Jeremy McNamara
favor to app_groupcount. A lot more code cleanup. Please test and report as I am sure I broke something git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-10finish implementing type=peer, implement setting of FastStart and H.245 ↵Jeremy McNamara
Tunneling per user/peer, update External RTP implemenation, fixed compile process/other buglets to operate with Open H.323 v1.14.4 and PWLib v1.7.5, and massive code clean up. All of the above is untested, please test and report git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-04a major rework - type=peer support, code cleanup, and optimization. Still ↵Jeremy McNamara
not ready to use git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-30massive changes, very broken, do not use (from airport)Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-21support early media/intercept Bug #562Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-19protect against seg on busy systems. Bug #2249Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-22clean up warnings, and re-add a return, how did that get removed?Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-21const is evil?Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17actually implement the setting of noFastStart and noH245Tunneling.Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26Merge source cleanups (bug #1911)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-15check to make sure the extension exists b4 actually accepting the call and ↵Jeremy McNamara
lets hope this gives Open H.323 enough time to sync up (bug #1714) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-20properly send call progress and alerting PDUs, re-fix one-way audio on call ↵Jeremy McNamara
manager, and hopefully add call progress (N+101) support (not tested) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04deal with bindaddr properlyJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13Not needed hereJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13ok, its waay too lateJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11clean up code and remove install directive in h323/ MakefileJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-06nuke file descriptor leak..You don't need a whole new thread to hang up a ↵Jeremy McNamara
friggen call git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-24totally revert that highly broken patch. Please test your code before ↵Jeremy McNamara
submitting diffs. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-23Apply massive patch from PCadach. If things are broken blame him. Bug#469Jeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-18follow same naming scheme as other simular functionsJeremy McNamara
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1867 65c4cc65-6c06-0410-ace0-fbb531ad65f3