mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
More 32->64 bit codec conversions.
In the process of swapping ULAW to a place in the extended codec space, we found several unhandled cases, where a 32-bit integer was still being used to handle a codec field. Most of these have been fixed with this commit, although there is at least one case (codec_dahdi) which depends upon outside headers to be altered before a conversion can be made. (Fixes AST-278, SWP-459) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@231850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "ooCalls.h"
|
||||
#include "ooCapability.h"
|
||||
#include "ooStackCmds.h"
|
||||
#include <asterisk/frame_defs.h>
|
||||
#define H323_DTMF_RFC2833 (1 << 0)
|
||||
#define H323_DTMF_Q931 (1 << 1)
|
||||
#define H323_DTMF_H245ALPHANUMERIC (1 << 2)
|
||||
@@ -37,7 +38,7 @@ int ooh323c_start_call_thread(ooCallData *call);
|
||||
int ooh323c_stop_call_thread(ooCallData *call);
|
||||
int ooh323c_set_capability
|
||||
(struct ast_codec_pref *prefs, int capability, int dtmf, int dtmfcodec);
|
||||
int convertH323CapToAsteriskCap(int cap);
|
||||
format_t convertH323CapToAsteriskCap(int cap);
|
||||
int ooh323c_set_capability_for_call
|
||||
(ooCallData *call, struct ast_codec_pref *prefs, int capability, int dtmf, int dtmfcodec,
|
||||
int t38support);
|
||||
|
||||
Reference in New Issue
Block a user