[Freeswitch-users] api_on_answer

Bernhard Suttner bernhard.suttner at winet.ch
Tue Oct 5 05:29:21 PDT 2010


Hi,

thanks. That would be a solution, but I would prefer to have the api and not a application.

Best regards,
Bernhard

-----Ursprüngliche Nachricht-----
Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von François Delawarde
Gesendet: Dienstag, 5. Oktober 2010 13:19
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] api_on_answer

Hi,

Try to run your lua with execute_on_answer instead of api_on_answer.

François.


On Tue, 2010-10-05 at 13:00 +0200, Bernhard Suttner wrote:
> Hi,
> 
> I use api_on_answer to call a lua script. Within the lua script I want access to session variables but the lua variable "session" does not exists. How could I get access to them?
> 
> Thanks in advance.
> 
> Best regards,
> Bernhard



_______________________________________________
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




More information about the FreeSWITCH-users mailing list