Answering myself here in case others have experienced the same problem If session. variables are accessed after hangup inside of the on_hangup() javascript will exist quietly without any warning. In order to be able to trigger an event (read here ESL) inside of on_hangup it is needed to cache the value of any session.* variables. .aep -- Stopping junk mailers is good for the environment
Hi,
Is there a way to trigger a customized event after the user hangup the call?
Although i define the function on_hangup(hup_session, how)
it seems i can not trigger and event inside of it although i can run logging.
Hints are welcome.
-aep -- Stopping junk mailers is good for the environment
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org