I have the following in javascript:
caller_id = self.session.getVariable("caller_id_number")for some reasons it returns: ReferenceError: self is not defined, I am following this page: http://wiki.freeswitch.org/wiki/Session_getVariableany ideas?