Profile:Event: Phone -> Phone IdleVariable Clear [ Name:%PHONE_RING_START ]Ringer Volume [ Level:%PHONE_LAST_VOL If:%PHONE_CALL ~ ring ]Variable Set [ Name:%PHONE_CALL To:idle ]Profile:State: Sensor -> Proximity SensorIf [ %PHONE_RING_START Is Set ]Variable Set [ Name:%temp To:%TIMES - %PHONE_RING_START Do Maths: on ]If [ %temp < %PHONE_WAIT_TIME ]Ringer Volume [ Level:7 ]End IfEnd If