ooh323ep.h
来自「一个非常美妙的proxy。功能强大。基于sip的协议。如果还要的话」· C头文件 代码 · 共 617 行 · 第 1/2 页
H
617 行
* the associated memory. * * @return OO_OK on success * OO_FAILED on failure */EXTERN int ooH323EpDestroy(void);/** * This function is used to enable the auto answer feature for * incoming calls * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpEnableAutoAnswer(void);/** * This function is used to disable the auto answer feature for * incoming calls. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpDisableAutoAnswer(void);/** * This function is used to enable manual ringback. By default the stack sends * alerting message automatically on behalf of the endpoint application. * However, if endpoint application wants to do alerting user part first before * sending out alerting message, it can enable this feature. * * @return OO_OK on success, OO_FAILED on failure */EXTERN int ooH323EpEnableManualRingback(void);/** * This function is used to disable manual ringback. By default the * manual ringback feature is disabled, i.e, the stack sends alerting on behalf * of the application automatically. * * @return OO_OK on success, OO_FAILED on failure */EXTERN int ooH323EpDisableManualRingback(void);/** * This function is used to enable faststart. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpEnableFastStart(void);/** * This function is used to disable faststart. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpDisableFastStart(void);/** * This function is used to enable tunneling. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpEnableH245Tunneling(void);/** * This function is used to disable tunneling. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpDisableH245Tunneling(void);/** * This function is used to enable GkRouted calls. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpEnableGkRouted(void);/** * This function is used to disable Gkrouted calls. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpDisableGkRouted(void);/** * This function is used to set the product ID. * @param productID New value for the product id. * * @return OO_OK, on success. OO_FAILED, on failure. */ EXTERN int ooH323EpSetProductID (const char * productID);/** * This function is used to set version id. * @param versionID New value for the version id. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpSetVersionID (const char * versionID);/** * This function is used to set callerid to be used for outbound * calls. * @param callerID New value for the caller id. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpSetCallerID (const char * callerID);/** * This function is used to set calling party number to be used for outbound * calls.Note, you can override it for a specific call by using * ooCallSetCallingPartyNumber function. * @param number e164 number to be used as calling party number. * * @return OO_OK, on success; OO_FAILED, otherwise. */EXTERN int ooH323EpSetCallingPartyNumber(const char * number);/** * This function is used to print the current configuration information of * the H323 endpoint to log file. */void ooH323EpPrintConfig(void);/** * This function is used to add G729 capability to the H323 endpoint. * @param cap Type of G729 capability to be added. * @param txframes Number of frames per packet for transmission. * @param rxframes Number of frames per packet for reception. * @param dir Direction of capability.OORX, OOTX, OORXANDTX * @param startReceiveChannel Callback function to start receive channel. * @param startTransmitChannel Callback function to start transmit channel. * @param stopReceiveChannel Callback function to stop receive channel. * @param stopTransmitChannel Callback function to stop transmit channel. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpAddG729Capability (int cap, int txframes, int rxframes, int dir, cb_StartReceiveChannel startReceiveChannel, cb_StartTransmitChannel startTransmitChannel, cb_StopReceiveChannel stopReceiveChannel, cb_StopTransmitChannel stopTransmitChannel);/** * This function is used to add G7231 capability to the H323 endpoint. * @param cap Type of G7231 capability to be added. * @param txframes Number of frames per packet for transmission. * @param rxframes Number of frames per packet for reception. * @param silenceSuppression Silence Suppression support * @param dir Direction of capability.OORX, OOTX, OORXANDTX * @param startReceiveChannel Callback function to start receive channel. * @param startTransmitChannel Callback function to start transmit channel. * @param stopReceiveChannel Callback function to stop receive channel. * @param stopTransmitChannel Callback function to stop transmit channel. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpAddG7231Capability(int cap, int txframes, int rxframes, OOBOOL silenceSuppression, int dir, cb_StartReceiveChannel startReceiveChannel, cb_StartTransmitChannel startTransmitChannel, cb_StopReceiveChannel stopReceiveChannel, cb_StopTransmitChannel stopTransmitChannel);/** * This function is used to add G711 capability to the H323 endpoint. * @param cap Type of G711 capability to be added. * @param txframes Number of frames per packet for transmission. * @param rxframes Number of frames per packet for reception. * @param dir Direction of capability.OORX, OOTX, OORXANDTX * @param startReceiveChannel Callback function to start receive channel. * @param startTransmitChannel Callback function to start transmit channel. * @param stopReceiveChannel Callback function to stop receive channel. * @param stopTransmitChannel Callback function to stop transmit channel. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpAddG711Capability (int cap, int txframes, int rxframes, int dir, cb_StartReceiveChannel startReceiveChannel, cb_StartTransmitChannel startTransmitChannel, cb_StopReceiveChannel stopReceiveChannel, cb_StopTransmitChannel stopTransmitChannel);/** * This function is used to add a new GSM capability to the endpoint. * @param cap Type of GSM capability to be added. * @param framesPerPkt Number of GSM frames pre packet. * @param comfortNoise Comfort noise spec for the capability. * @param scrambled Scrambled enabled/disabled for the capability. * @param dir Direction of capability.OORX, OOTX, OORXANDTX * @param startReceiveChannel Callback function to start receive channel. * @param startTransmitChannel Callback function to start transmit channel. * @param stopReceiveChannel Callback function to stop receive channel. * @param stopTransmitChannel Callback function to stop transmit channel. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpAddGSMCapability(int cap, ASN1USINT framesPerPkt, OOBOOL comfortNoise,OOBOOL scrambled,int dir, cb_StartReceiveChannel startReceiveChannel, cb_StartTransmitChannel startTransmitChannel, cb_StopReceiveChannel stopReceiveChannel, cb_StopTransmitChannel stopTransmitChannel);/** * This function is used to add H263 video capability to the H323 endpoint. * @param cap Capability type - OO_H263VIDEO * @param sqcifMPI Minimum picture interval for encoding/decoding * of SQCIF pictures. * @param qcifMPI Minimum picture interval for encoding/decoding * of QCIF pictures. * @param cifMPI Minimum picture interval for encoding/decoding * of CIF pictures. * @param cif4MPI Minimum picture interval for encoding/decoding * of CIF4 pictures. * @param cif16MPI Minimum picture interval for encoding/decoding * of CIF16 pictures. * @param maxBitRate Maximum bit rate in units of 100 bits/s at * which a transmitter can transmit video or a * receiver can receive video. * @param dir Direction of capability.OORX, OOTX, OORXANDTX * @param startReceiveChannel Callback function to start receive channel. * @param startTransmitChannel Callback function to start transmit channel. * @param stopReceiveChannel Callback function to stop receive channel. * @param stopTransmitChannel Callback function to stop transmit channel. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpAddH263VideoCapability(int cap, unsigned sqcifMPI, unsigned qcifMPI, unsigned cifMPI, unsigned cif4MPI, unsigned cif16MPI, unsigned maxBitRate, int dir, cb_StartReceiveChannel startReceiveChannel, cb_StartTransmitChannel startTransmitChannel, cb_StopReceiveChannel stopReceiveChannel, cb_StopTransmitChannel stopTransmitChannel);/** * This function is used to enable rfc 2833 support for the endpoint. * @param dynamicRTPPayloadType Payload type value to use. * * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpEnableDTMFRFC2833(int dynamicRTPPayloadType);/** * This function is used to disable rfc 2833 support for the endpoint. * * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpDisableDTMFRFC2833(void);/** * This function is used to enable the H245(alphanumeric) dtmf capability for * the endpoint. * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpEnableDTMFH245Alphanumeric();/** * This function is used to disable the H245(alphanumeric) dtmf capability for * the endpoint. * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpDisableDTMFH245Alphanumeric();/** * This function is used to enable the H245(signal) dtmf capability for * the endpoint. * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpEnableDTMFH245Signal();/** * This function is used to disable the H245(signal) dtmf capability for * the endpoint. * @return OO_OK, on success; OO_FAILED, on failure */EXTERN int ooH323EpDisableDTMFH245Signal();/** * This function is used to add callbacks to the gatekeeper client. If user * application wants to do some special processing of various gatekeeper client * events, that can be done through these callbacks. * @param gkClientCallbacks Handle to the callback structure.Make sure all * the members of the structure are appropriately * initialized. * * @return OO_OK, on success. OO_FAILED, on failure. */EXTERN int ooH323EpSetGkClientCallbacks(OOGKCLIENTCALLBACKS gkClientCallbacks);/** * @} */#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?