From: Mark Michelson Date: Wed, 5 Mar 2014 18:47:30 +0000 (+0000) Subject: Fix documentation for PRESENCE_STATE to properly illustrate how to create a presence... X-Git-Tag: 13.0.0-beta1~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad39358e197632cf0f0638046cd446bbb993fac6;p=thirdparty%2Fasterisk.git 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 ........ Merged revisions 409887 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409888 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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