Asterisk Source/Manager Interface
AsteriskSource/ManagerInterface ¶static struct action { char *action; int authority; int (*func)(struct mansession *s, struct message *m); } actions[] = { { "Ping", 0, action_ping }, { "Logoff", 0, action_logoff }, { "Hangup", EVENT_FLAG_CALL, action_hangup }, { "Status", EVENT_FLAG_CALL, action_status }, { "Redirect", EVENT_FLAG_CALL, action_redirect }, { "Originate", EVENT_FLAG_CALL, action_originate }, }; * int init_manager(void)
|