X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=funcs%2Ffunc_presencestate.c;h=66a3f2ef5b38dbc07c835ce24da4c5cb4b3cdc60;hp=51df75098242efb4dddfce97a524c0c0d0bb6fb5;hb=d7a616c945a7e02f292bf60fd60de0f6dea06601;hpb=aac24e03aaac39a6f79f9af0e6ec647ea6d4a4fd
diff --git a/funcs/func_presencestate.c b/funcs/func_presencestate.c
index 51df750..66a3f2e 100644
--- a/funcs/func_presencestate.c
+++ b/funcs/func_presencestate.c
@@ -71,7 +71,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -85,6 +86,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
the dialplan. The CustomPresence: prefix must be used. For example:
Set(PRESENCE_STATE(CustomPresence:lamp1)=away,temporary,Out to lunch)Set(PRESENCE_STATE(CustomPresence:lamp2)=dnd,,Trying to get work done)
+ Set(PRESENCE_STATE(CustomPresence:lamp3)=xa,T24gdmFjYXRpb24=,,e)
+ 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