[Freeswitch-dev] Calling Python Application from Chatplan (mod_sms help)
Kurtis Heimerl
kheimerl at cs.berkeley.edu
Wed Oct 19 04:00:18 MSD 2011
Oh, and I can confirm that only Lua works from the chatplan.
On Tue, Oct 18, 2011 at 4:12 PM, Kurtis Heimerl
<kheimerl at cs.berkeley.edu> wrote:
> I'm pushing this to FreeSwitch-dev as mod_sms is still under active
> development.
>
> Any way to call a Python Application from the chatplan?
>
> This works:
>
> <action application="set" data="test=${python(OpenBTS_Parse_SMS)}"/>
>
> But I can't monkey with the session variables with the fs_api call.
>
> Instead, I want to do this:
>
> <action application="python" data="OpenBTS_Parse_SMS"/>
>
> and this fails in the following way:
>
> 2011-10-18 16:12:02.776298 [ERR] switch_loadable_module.c:705 Invalid
> chat application interface [python]!
>
> The mod_sms page seems to indicate that lua works just fine from the
> chatplan... is this just not implemented yet? Can I do that?
>
> Thanks!
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list