[Freeswitch-users] LUA transfer result:0

Michael Collins msc at freeswitch.org
Sat Oct 22 02:35:03 MSD 2011


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.
-MC

On Thu, Oct 20, 2011 at 2:27 PM, Anestis Mavro <devel at omninet.eu> wrote:

>  Hi,****
>
> ** **
>
> 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 mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111021/de5c8f38/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list