[Freeswitch-users] javascript hanguphook
Christian Hiller
christian at yellox.de
Tue Feb 15 18:48:15 MSK 2011
Hello,
i have a javscript that is called from xml-dialplan
...
function on_hangup(hup_session, how)
{
console_log("info","got hungup");
exit();
}
session.execute('bridge','sofia/internal....');
session.setHangupHook(on_hangup);
...
Now i experience, that this function is only called if the session is
not answered yet.
Once its answered and then got hung up, the function on_hangup is not
called anymore.
Any ideas ?
Kind regards
Christian Hiller
More information about the FreeSWITCH-users
mailing list