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.<div>
-MC<br><br><div class="gmail_quote">On Thu, Oct 20, 2011 at 2:27 PM, Anestis Mavro <span dir="ltr"><<a href="mailto:devel@omninet.eu">devel@omninet.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EL" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Hi,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">I have tried two different ways of transfer in LUA:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">session:transfer(number,”XML”,”default”)<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">And <u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Session:execute(“transfer”,”12345
XML default”)<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">And I can’t make it working.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">I get “switch_cpp.cpp:797 transfer result: 0”<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">The same transfer from within the dialplan works fine<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">The call is not answered before the transfer.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Does anybody have an idea?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Thanks<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">Anestis<u></u><u></u></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
</div>
<br><br>__________ Information from ESET NOD32 Antivirus, version of virus signature database 5054 (20100423) __________<br><br>The message was checked by ESET NOD32 Antivirus.<br><br><a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
</div>
<br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>