mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions, including those that use the pipe symbol to seperate arguments. Allow CDR dialplan function to be able to set the account code and userfield. This deprecates the use of the Account header in manager originate and spool files, as well as the SetAccount and SetCDRUserField applications. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -141,6 +141,10 @@ extern int manager_event(int category, char *event, char *contents, ...)
|
||||
|
||||
/*! Get header from mananger transaction */
|
||||
extern char *astman_get_header(struct message *m, char *var);
|
||||
|
||||
/*! Get a linked list of the Variable: headers */
|
||||
struct ast_variable *astman_get_variables(struct message *m);
|
||||
|
||||
/*! Send error in manager transaction */
|
||||
extern void astman_send_error(struct mansession *s, struct message *m, char *error);
|
||||
extern void astman_send_response(struct mansession *s, struct message *m, char *resp, char *msg);
|
||||
|
Reference in New Issue
Block a user