diff options
Diffstat (limited to 'channels/iax2.h')
-rw-r--r-- | channels/iax2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/iax2.h b/channels/iax2.h index 825efb8cb..d579ed8aa 100644 --- a/channels/iax2.h +++ b/channels/iax2.h @@ -214,6 +214,12 @@ enum iax_frame_subclass { #define IAX_DPSTATUS_IGNOREPAT (1 << 14) #define IAX_DPSTATUS_MATCHMORE (1 << 15) +/*! iax2 format bit field for handling codecs the old way */ +typedef int64_t iax2_format; + +/*!\brief iax2 wrapper function for ast_getformatname */ +char *iax2_getformatname(iax2_format format); + /*! Full frames are always delivered reliably */ struct ast_iax2_full_hdr { unsigned short scallno; /*!< Source call number -- high bit must be 1 */ |