Change IAX variables to use datastores (closes issue #9315)