Querying the user’s telephone

To determine whether the telephone at the other end of a call has an ADSI capability, invoke one of the ADSI state tables (ADSI or ADSI_I) to send an SDC function containing a single connect_session SDC statement to the telephone. If the InvokeStateTable action fails with a result of 4, you can safely assume that the telephone at the other end of the telephone line is not ADSI compatible.