From 185257db13fb755977017744c5020fa3eadc83ab Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 5 Mar 2014 18:45:52 +0000 Subject: [PATCH] Fix documentation for PRESENCE_STATE to properly illustrate how to create a presence hint. There was a missing comma. This was discovered by Dan Kaplan. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@409886 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_presencestate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/func_presencestate.c b/funcs/func_presencestate.c index 66a3f2ef5b..d57b8e30cb 100644 --- a/funcs/func_presencestate.c +++ b/funcs/func_presencestate.c @@ -90,7 +90,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Set(BASE64_LAMP3_PRESENCE=${PRESENCE_STATE(CustomPresence:lamp3,subtype,e)}) You can subscribe to the status of a custom presence state using a hint in the dialplan: - exten => 1234,hint,CustomPresence:lamp1 + exten => 1234,hint,,CustomPresence:lamp1 The possible values for both uses of this function are: not_set | unavailable | available | away | xa | chat | dnd