[Freeswitch-users] Event status

Steven Ayre steveayre at gmail.com
Fri Feb 15 15:00:09 MSK 2013


That error means there is no variable 'e'

Steve

On 15 Feb 2013, at 10:49, Archana Venugopan <a.venugopan at mundio.com> wrote:

> Hi,
>  
> I am trying to get event status in freeswitch. For which I have passed the below line in my lua script. But I am getting error.
>  
>   element = e:getHeader("Orig-status")
>  
> Error:
> 2013-02-15 10:41:14.177168 [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/directory.lua:201: attempt to index global 'e' (a nil value)
> stack traceback:
>         /usr/local/freeswitch/scripts/directory.lua:201: in main chunk
> 2013-02-15 10:41:14.177168 [ERR] mod_lua.cpp:264 LUA script parse/execute error!
>  
> I have installed mod_event_multicast too. Can anyone please point me out why I am not able to fetch element value. Many thanks.
>  
> Regards,
> Archana
>  
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.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
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130215/6c28ca2f/attachment.html 


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