]> git.pld-linux.org Git - packages/asterisk.git/blob - asterisk-openh323-formats.patch
- builds with new pwlib/openh323
[packages/asterisk.git] / asterisk-openh323-formats.patch
1 diff -urN asterisk-1.0.7.org/channels/h323/ast_h323.cpp asterisk-1.0.7/channels/h323/ast_h323.cpp
2 --- asterisk-1.0.7.org/channels/h323/ast_h323.cpp       2004-11-05 00:14:26.000000000 +0100
3 +++ asterisk-1.0.7/channels/h323/ast_h323.cpp   2005-03-20 20:27:59.908829920 +0100
4 @@ -994,6 +994,7 @@
5         } else {
6                 endPoint->SetSendUserInputMode(H323Connection::SendUserInputAsInlineRFC2833);
7         }
8 +#if 0
9         if (cap & AST_FORMAT_SPEEX) {
10                 /* Not real sure if Asterisk acutally supports all
11                    of the various different bit rates so add them 
12 @@ -1005,6 +1006,7 @@
13                 endPoint->SetCapability(0, 0, new SpeexNarrow5AudioCapability());
14                 endPoint->SetCapability(0, 0, new SpeexNarrow6AudioCapability());
15         }
16 +#endif
17  
18         if (cap & AST_FORMAT_G729A) {
19                 AST_G729ACapability *g729aCap;
20 @@ -1018,11 +1020,13 @@
21                 endPoint->SetCapability(0, 0, g7231Cap = new H323_G7231Capability);
22         } 
23  
24 +#if 0
25         if (cap & AST_FORMAT_GSM) {
26                 H323_GSM0610Capability *gsmCap;
27                 endPoint->SetCapability(0, 0, gsmCap = new H323_GSM0610Capability);
28                 gsmCap->SetTxFramesInPacket(gsmFrames);
29         } 
30 +#endif
31  
32         if (cap & AST_FORMAT_ULAW) {
33                 H323_G711Capability *g711uCap;
This page took 0.02844 seconds and 3 git commands to generate.