Setting statis-device via dialplan (Asterisk 12)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux