How to enable ExtensionState Check with SIP real time

Hi All,

Is it possible to check ExtensionState with help of AGI, for Realtime SIP. With AGI I can do this for fixed extensions written in sip.conf. But for Realtime SIP extensions I’m extension not found.

Please guide …