Is there a way to detect if call is in progress? Phone Event
First you need 3 profiles to monitor the phone state:
Event: Phone Idle
Variable Clear %Phoning
Event: Phone Offhook
Variable Set, %Phoning, 1
Event: Phone Ringing
Variable Set, %Phoning, 1
Then you can use 'If %Phoning Is Set' to see if you're phoning.