Would it be possible to add a feature to the integration so an endpoint sensor state is changed according to any current call state? As far as I have seen, endpoint states are "Not in use", "Ringing" and "In use". However, there is not any state change if you call a number when (for example) the phone you are calling is unavailable (mobile phone off, out of coverage...). it would be great to detect whether the call is on "Dial" state, for instance. The purpose for this is to be able to build conditional scripts for "call forwarding" (a few calls in a row depending on previous state) in HASS without having to deal with the extensions.conf file, so being able to change endpoint state according to Hangup codes would be also great.
Would it be possible to add a feature to the integration so an endpoint sensor state is changed according to any current call state? As far as I have seen, endpoint states are "Not in use", "Ringing" and "In use". However, there is not any state change if you call a number when (for example) the phone you are calling is unavailable (mobile phone off, out of coverage...). it would be great to detect whether the call is on "Dial" state, for instance. The purpose for this is to be able to build conditional scripts for "call forwarding" (a few calls in a row depending on previous state) in HASS without having to deal with the extensions.conf file, so being able to change endpoint state according to Hangup codes would be also great.
Thanks!