mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_fax: Provide AMI equivalents for fax CLI commands
Specifically the following equivalents were created: fax show session -> FAXSession fax show sessions -> FAXSessions fax show stats -> FAXStats Review: https://reviewboard.asterisk.org/r/3666/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <asterisk/frame.h>
|
||||
#include <asterisk/cli.h>
|
||||
#include <asterisk/stringfields.h>
|
||||
#include <asterisk/manager.h>
|
||||
|
||||
/*! \brief capabilities for res_fax to locate a fax technology module */
|
||||
enum ast_fax_capabilities {
|
||||
@@ -255,6 +256,9 @@ struct ast_fax_tech {
|
||||
char * (* const cli_show_capabilities)(int);
|
||||
/*! displays details about the fax session */
|
||||
char * (* const cli_show_session)(struct ast_fax_session *, int);
|
||||
/*! Generates manager event detailing the fax session */
|
||||
void (* const manager_fax_session)(struct mansession *,
|
||||
const char *, struct ast_fax_session *);
|
||||
/*! displays statistics from the fax technology module */
|
||||
char * (* const cli_show_stats)(int);
|
||||
/*! displays settings from the fax technology module */
|
||||
@@ -276,6 +280,9 @@ unsigned int ast_fax_maxrate(void);
|
||||
/*! \brief convert an ast_fax_state to a string */
|
||||
const char *ast_fax_state_to_str(enum ast_fax_state state);
|
||||
|
||||
/*! \brief get string representation of a FAX session's operation */
|
||||
const char *ast_fax_session_operation_str(struct ast_fax_session *s);
|
||||
|
||||
/*!
|
||||
* \brief Log message at FAX or recommended level
|
||||
*
|
||||
|
Reference in New Issue
Block a user