[Freeswitch-dev] session:setHanhupHook is launched with session:tranfer

Anthony Minessale 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:
> Hi,
> 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.
> --
>                            Saludos
>                         Arturo Monroy
>                     (55) 5371-1100 Ext 189
>                       ASR Arturo Lopez
>                       Auronix de Mexico
>                         www.auronix.mx
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
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 mailing list