In addition to Ryan's suggestion, I think in you should also consider monitoring the %CONUM variable.
So the event will trigger only when the variable is set, ensuring you will have an updated value on it.
E.g.:
Profile: Outgoing (61)
Event: Variable Set [ Variable:%CONUM Value:* User Variables Only:Off ]
Enter: Anon (63)
A1: Flash [ Text:%CONUM Long:Off ]
I think is also important to recall how/when the Call variables are updated. Manual says:
- Call Name / Number/ Date / Time / Duration (Out)
(dynamic, monitored)
%CONAME / %CONUM / %CODATE / %COTIME / %CODUR
The called name, number, date and time of the last (not the current) outgoing call made.
Called Name is set to the called number if the contact couldn't be looked up. It's unavailable on Android versions prior to 2.0.
So have in mind that values are from the last call, so it should be updated only after the current call ends.
Good luck in your project.. :)
Best regards