[Freeswitch-users] event after hangup (Javascript)

Alberto Escudero aep.lists at it46.se
Sat May 1 05:08:50 PDT 2010


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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>





More information about the FreeSWITCH-users mailing list