[Freeswitch-dev] session:setHanhupHook is launched with session:tranfer
anthony.minessale at gmail.com
Thu Jan 13 04:21:35 MSK 2011
you have to check if its transfer or hangup in the hook function
On Wed, Jan 12, 2011 at 12:45 PM, Arturo Monroy <amonroy at auronix.com> wrote:
> session:setHangupHook is execute when is executed "transfer" api, however
> the "session" is not hanging and session still live?
> Should be considered a bug?
> Shouldn't be lauched when session is terminate by CS_DESTROY EVENT?
> I'm using Lua, and using fifo too, after a several X seconds the current
> session is transfer-out to lua application, acording script's tree, the
> current session could come-back or not again to FIFO, however the
> hangupHook API is executed each one the session:transfer is execute.
> Arturo Monroy
> (55) 5371-1100 Ext 189
> ASR Arturo Lopez
> Auronix de Mexico
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
Anthony Minessale II
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
More information about the FreeSWITCH-dev