[asterisk-app-dev] Setting statis-device via dialplan (Asterisk 12)

Hannes Lechner h.lechner at ognios.com
Mon Mar 17 02:18:03 CDT 2014


Hi!

on Asterisk 12:
is there a way to set a statis device (e.g. "Statis:myDevice") via dialplan?

the following
# "same => n, Set(Statis:myDevice=INUSE)"
--> error: ...no error shown, but nothing happens
or
# "same => n, Set(DEVICE_STATE(Stasis:mydevice1)=INUSE)
--> error: ...devstate_write: The DEVICE_STATE function can only be used to set 'Custom:' device state!

i can currently only change the device's state via ARI... and i cannot use a Custom:myDevice as this is not handled by ARI.

am i missing something?

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20140317/dee75ded/attachment.html>


More information about the asterisk-app-dev mailing list