Use a new function in spandsp to access the AT interpreter state inside a T.31
state, rather than directly probing inside the T.31 structures.