From fd375c623c652f37db2347af86156da2994ab564 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 5 Mar 2014 18:46:31 +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. ........ Merged revisions 409886 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409887 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 49f8e78a92..8c916e891c 100644 --- a/funcs/func_presencestate.c +++ b/funcs/func_presencestate.c @@ -89,7 +89,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 -- 2.47.2