[Freeswitch-users] session is nil

Mike Jerris mike at freeswitch.com
Fri Aug 23 18:20:08 UTC 2019


using lua api you have no session.  from the app that would make more sense

On Fri, Aug 23, 2019 at 11:23 AM Sajad Tahernejad <sajad at tahernejad.com>
wrote:

> Hi,
> I want use session:playAndGetDigits in position lua script, but gived me
> this error
> /scripts/lua/callcenter-announce-position.lua:39: attempt to index global
> 'session' (a nil value)
> Please help me
> Thanks.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190823/35132802/attachment.html>


More information about the FreeSWITCH-users mailing list