Status PJSIP subscribers

There is a context:

[macro-dialout-one-predial-hook] exten => s,1,Noop(DEVICE STATE - ${DEVICE_STATE(${DSTRING})}) exten => s,n,ExecIf($["${DEVICE_STATE(${DSTRING})}" = "INUSE"]?Playback(subscriber-busy&please-wait-to-connect)) exten => s,n,ExecIf($["${DEVICE_STATE(${DSTRING})}" = "INUSE"]?Set(D_OPTIONS=Ttm)) exten => s,n,ExecIf($["${DEVICE_STATE(${DSTRING})}" = "RINGINUSE"]?Playback(subscriber-busy&please-wait-to-connect)) exten => s,n,ExecIf($["${DEVICE_STATE(${DSTRING})}" = "RINGINUSE"]?Set(D_OPTIONS=Ttm))

works perfectly when using chan_sip, but if used chan_pjsip - Asterisk does not return the current status of the subscriber
As it turns out the state PJSIP subscribers, for now PJSIP for subscribers is the answer:

core show hint 1704 - is shows:

I understand that logic has changed
Please help to write the query so that it was possible to get the status of the subscriber correctly

Up