Commit graph

57 commits

Author SHA1 Message Date
Jeff Peeler
2f8da7106d Make chan_h323 respect packetization settings and fix small reload issue.
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-04-22 19:23:49 +00:00
Jeff Peeler
9dc40485f2 Allow H.323 Plus library to be used in addition to the OpenH323 library
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-03-17 20:47:31 +00:00
Jeff Peeler
c8fe75da36 Modify h323 to build against PTLib as well as the older PWLib
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
2009-02-18 20:11:57 +00:00
Paul Cadach
1ed8fb571f Merged revisions 44684 via svnmerge from
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-10-07 14:48:32 +00:00
Paul Cadach
ee4141c375 Merged revisions 44009 via svnmerge from
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-29 18:35:44 +00:00
Paul Cadach
9cf1f14ed5 Handle HOLD/RETRIEVE notifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-28 10:41:38 +00:00
Paul Cadach
c479c25182 Support for negotiation and receiption of Cisco's RTP DTMF
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-25 09:03:14 +00:00
Paul Cadach
258f1082ec Define DTMF payload types
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-24 18:12:35 +00:00
Joshua Colp
1ce4a427d3 Merge in latest round of chan_h323 changes. These are all isolated to chan_h323 so meh.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 16:24:00 +00:00
Matthew Fredrickson
2cc96500bd Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 17:07:22 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Jeremy McNamara
fc0f505c5f Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-01 16:00:13 +00:00
Jeremy McNamara
8adbac17df Define AST_MAX_ACCOUNTCODE because chan_h323.h does not link to the Asterisk headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 16:21:22 +00:00
Mark Spencer
41e7cc8154 Use defined AST_MAX_ACCOUNT_CODE (bug #4350)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 17:18:05 +00:00
Jeremy McNamara
2353f5925c Optimize global/user/peer configuration call options. Bug #4336
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-21 17:09:30 +00:00
Jeremy McNamara
ec9ce8db9d Make capbilities be connection specific versus for the whole endpoint. Bug #4334
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 19:13:19 +00:00
Jeremy McNamara
793182ea7d Fix memory leak, avoid uncessary abuse of memory and formatting tweaks. Bug #4282
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 16:17:08 +00:00
Jeremy McNamara
f0c47a88ba Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 15:47:35 +00:00
Jeremy McNamara
931e1debff Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 18:46:36 +00:00
Jeremy McNamara
0efb0da41f Better dependancy and version checking method, solve call problems when 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
2005-04-04 07:06:26 +00:00
Jeremy McNamara
f4d1002166 Fix G.729 name annoucement to Open H.323 and inform Asterisk's RTP stack specifically which codec we are expecting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 00:07:56 +00:00
Jeremy McNamara
0155dee2fd Properly deal with Caller*ID, document the new RTP Payload setting, remove 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-16 02:03:19 +00:00
Jeremy McNamara
4082e265d6 Major fixes: Fixed deadlock issue, added support for inband call progress 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-12-15 23:24:13 +00:00
Jeremy McNamara
be93d86b48 format properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 21:35:56 +00:00
Jeremy McNamara
0543c58018 A [possibly] better solution to the CalledPartyAddress problem. Test and report please
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 21:30:30 +00:00
Jeremy McNamara
b31c4d7fb9 implement type=alias to deprecate type=h323 and a whole lot more code clean up
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 02:43:41 +00:00
Jeremy McNamara
9f0d70a9e6 re-implement callerid, still might not be right. Remove channel limits, in 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-22 19:04:02 +00:00
Jeremy McNamara
34afeec2e7 finish implementing type=peer, implement setting of FastStart and H.245 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-10 12:20:18 +00:00
Jeremy McNamara
c0273110c4 a major rework - type=peer support, code cleanup, and optimization. Still not ready to use
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-04 10:18:06 +00:00
Jeremy McNamara
76485d3f02 massive changes, very broken, do not use (from airport)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-30 19:30:49 +00:00
Jeremy McNamara
ef889d6672 support early media/intercept Bug #562
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-21 18:42:37 +00:00
Jeremy McNamara
199ec4356a protect against seg on busy systems. Bug #2249
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-19 16:53:01 +00:00
Jeremy McNamara
0afbb8bcbf clean up warnings, and re-add a return, how did that get removed?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-22 04:24:50 +00:00
Jeremy McNamara
405d0be9fe const is evil?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-21 00:49:06 +00:00
Jeremy McNamara
f10148d3e3 actually implement the setting of noFastStart and noH245Tunneling.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 19:38:30 +00:00
Mark Spencer
3db853b428 Merge source cleanups (bug #1911)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 03:50:14 +00:00
Jeremy McNamara
1f4eadaf6a check to make sure the extension exists b4 actually accepting the call and 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-06-15 20:56:06 +00:00
Jeremy McNamara
eff9477388 properly send call progress and alerting PDUs, re-fix one-way audio on call 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-05-20 07:07:18 +00:00
Jeremy McNamara
bff0a94507 deal with bindaddr properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-04 01:57:32 +00:00
Jeremy McNamara
e46d9edc98 Not needed here
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 08:46:46 +00:00
Jeremy McNamara
e88fdae17d ok, its waay too late
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 08:38:51 +00:00
Jeremy McNamara
6b6ff098eb clean up code and remove install directive in h323/ Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 02:22:32 +00:00
Jeremy McNamara
19b7e41fda nuke file descriptor leak..You don't need a whole new thread to hang up a friggen call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-06 16:43:24 +00:00
Jeremy McNamara
8abff30849 totally revert that highly broken patch. Please test your code before submitting diffs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-24 22:38:24 +00:00
Jeremy McNamara
ecc015889c Apply massive patch from PCadach. If things are broken blame him. Bug#469
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-23 23:01:24 +00:00
Jeremy McNamara
9e996ceef8 follow same naming scheme as other simular functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-18 19:54:18 +00:00
Jeremy McNamara
a83662beda rollback transfer support...not properly implemented
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-22 06:21:03 +00:00
Jeremy McNamara
059b57438b implement transfer and call forwarding. Bug #221
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-06 20:29:25 +00:00
Jeremy McNamara
822d556924 sync any left over changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-25 18:34:10 +00:00
Jeremy McNamara
3fabe90067 finish that thought
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-23 02:27:44 +00:00