Hi Nick,
First you need some profiles to track whether your phoning or not:
Event: Phone Offhook
Variable Set, %PHONING, 1
Event: Phone Ringing
Variable Set, %PHONING, 1
Event: Phone Idle
Variable Clear, %PHONING
Then add this context to your profile:
state Variable Value, Not Set %PHONING
Pent