[Freeswitch-dev] unsetInputCallback removes setHangupHook also...

Michael Jerris mike at jerris.com
Sun Feb 21 23:54:31 PST 2010


This sounds like a bug to me, please open up an issue on http://jira.FreeSWITCH.org

Mike

On Feb 22, 2010, at 2:16 AM, rentmycoder rentmycoder wrote:

> 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