15 Feb
2011
15 Feb
'11
3:48 p.m.
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