reorganize caller variables
in call event state, it sould be no matter in which direction the call is to get its external participiant.
why at first find out, in which direction the call is and then use "called name" and "called num" or "caller name" and "caller num"??
it would be much better, when the global variables are:
%EXT_NAME
%EXT_NUM
%CALL_DIRECTION
%CALL_DURATION
%CALL_ANSWER_DATE
%CALL_ANSWER_TIME
%LOCAL_NUM for dual sim