I used to have this sorted years ago but after a system crash & rebuild I lost my config.
Is there a way in HS3 to write the caller ID from the phone line into a device string with a direct script command?
I've tried
&hs.SetDeviceString(287, "Last Caller:"&$$CI#: , True) - but this gives an invalid character error, although the $$CI#: works in a pushover message at the same time
and
&hs.SetDeviceString(287, "Last Caller:"&hsp.CIDNumber(1) , True) - this just writes "Last Caller:" in the device string
Is there a way in HS3 to write the caller ID from the phone line into a device string with a direct script command?
I've tried
&hs.SetDeviceString(287, "Last Caller:"&$$CI#: , True) - but this gives an invalid character error, although the $$CI#: works in a pushover message at the same time
and
&hs.SetDeviceString(287, "Last Caller:"&hsp.CIDNumber(1) , True) - this just writes "Last Caller:" in the device string
Comment