[Freeswitch-dev] unsetInputCallback removes setHangupHook also...
rentmycoder rentmycoder
rentmycoder at gmail.com
Sun Feb 21 23:16:46 PST 2010
Hi guys,
Freeswitch Rocks!
I use latest trunk on Win7 and if I call in lua on A-leg in that order:
session:setHangupHook()
session:setInputCallback()
session:streamFile()
session:unsetInputCallback()
than the HangupHook does not get called.
If I reissue session:setHangupHook() again then HangupHook is called again.
Should this work like this?
Can happen the situation than tha hangup occures AFTER
unsetInputCallback() is called and BEFORE setHangupHook() is called
again so I'll miss the hanguphook in this case???
If yes, how to avoid this?
Thanks a lot...
More information about the FreeSWITCH-dev
mailing list