mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
Allow hints to have names (bug #3471)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1042,7 +1042,7 @@ static int action_extensionstate(struct mansession *s, struct message *m)
|
||||
if (!context || ast_strlen_zero(context))
|
||||
context = "default";
|
||||
status = ast_extension_state(NULL, context, exten);
|
||||
ast_get_hint(hint, sizeof(hint) - 1, NULL, context, exten);
|
||||
ast_get_hint(hint, sizeof(hint) - 1, NULL, 0, NULL, context, exten);
|
||||
if (id && !ast_strlen_zero(id)) {
|
||||
snprintf(idText,256,"ActionID: %s\r\n",id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user