aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/ast_h323.cpp
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-25 06:48:08 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-25 06:48:08 +0000
commit7f1f171f45d55d864c68da311af707b6d737c67d (patch)
tree922a7c0bd55c38014bc5d935e6124a38c9f0faf4 /channels/h323/ast_h323.cpp
parent3e0ef72f89a2c9ea0794a6b8115b0081cf1f571c (diff)
Update to work around G.729 compile issues, for now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1119 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-xchannels/h323/ast_h323.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index efd3a9847..15b7dbd8b 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -776,10 +776,12 @@ int h323_set_capability(int cap, int dtmfMode)
endPoint->SetCapability(0, 0, new SpeexNarrow6AudioCapability());
}
+#if WANT_G729
if (cap & AST_FORMAT_G729A) {
H323_G729ACapability *g729aCap;
endPoint->SetCapability(0, 0, g729aCap = new H323_G729ACapability);
}
+#endif
if (cap & AST_FORMAT_G723_1) {
H323_G7231Capability *g7231Cap;