To change modem state from on to off or vice versa all you need is that command:
svc=admin/modems¶ms={"callMode":"enable", "id":<long>, "e":<bool>}
{ }