session:setHanhupHook is launched with session:tranfer
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
I updated our Freeswitch built to today's git head, and am now having a problem with the Erlang-Freeswitch communications. Has the format of the freeswitch.xml configuration file changed at all lately? (Past couple of months) What's happening is we're getting Freeswitch starting and getting recognized by our freeswitch_monitor erlang process. I successfully registers the Freeswitch callbacks so that it should receive requests for config data from freeswitch. Freeswitch correctly requests the timezone configuration file, which we send back, logging the contents of the file we sent. However, 5 seconds later fs_cli reports that Freeswitch timed out waiting for a response, after which it makes no further requests for config data. This is code that's been working for over a year, hence my suspicion that something may have changed on the Freeswitch side of things. Mark Sobkow Senior Developer MarkeTel Multi-Line Dialing Systems LTD. 428 Victoria Ave Regina, SK S4N-0P6 Toll-Free: 800-289-8616-X533 Local: 306-359-6893-X533 Fax: 306-359-6879 Email: m.sobkow@marketelsystems.com Web: http://www.marketelsystems.com Visit our Blog for industry related information. http://marketel-systems.blogspot.com/
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@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@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Arturo Monroy
-
Mark Sobkow