script to read lte interface status

Hi Guys,

I want to to reset USB module if lte inteface is not “call in progress”. I’m trying following script to record status but it runs in loop

For ppp-client it was OK with following script
/interface ppp-client monitor ppp-out1 once do={:if ($status != “connected”) do= {:log warning “PPP Link Down, reboot system”; /system reboots}}

But in lte there is no monitor option. Any suggestion on how I can record status and reboot the router if it is not “call in progress”
Capture.JPG

I noticed you were using the MC8705. How well does it seem to work for you? I have recently begun testing one and I have had it up for 3 days without a problem, but it sounds like you are having the this problem often enough to warrant the script. Which ROS version are you using?