Hi,I'm facing same situation. I read the Lua transfer page: http://wiki.freeswitch.org/wiki/Mod_lua#session:transfer which states that I need to set AutoHangup to false. I did that too but my transfer command still fails :(I've to do looping between a list of numbers and each number could have different XML script to be run.So as soon as I parse CSV I find out the XML context on which to transfer the call and do a transfer, but it fails immediately.Hope to hear from you soon.Regards,SammyOn Sat, Oct 22, 2011 at 3:35 AM, Michael Collins <msc@freeswitch.org> wrote:
Don't forget that in a Lua dp script the script must "end" before the transfer takes place. Make sure that there isn't a logic loop or something in your code preventing it from ending. If you pastebin your script we'll take a look.-MCOn Thu, Oct 20, 2011 at 2:27 PM, Anestis Mavro <devel@omninet.eu> wrote:FreeSWITCH-users mailing listHi,
I have tried two different ways of transfer in LUA:
session:transfer(number,”XML”,”default”)
And
Session:execute(“transfer”,”12345 XML default”)
And I can’t make it working.
I get “switch_cpp.cpp:797 transfer result: 0”
The same transfer from within the dialplan works fine
The call is not answered before the transfer.
Does anybody have an idea?
Thanks
Anestis
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5054 (20100423) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org