3 Jul
2012
3 Jul
'12
10:25 a.m.
On Tue, Jul 3, 2012 at 7:16 PM, Samira Mh <saami_mh@ymail.com> wrote:
for example i want to read the value of sip-header ' CSeq' in lua(that is configure for mod_xml in /usr/loca/freeswitch/conf/autoload/lia.xml.conf), must to issue as follow: local var = session:getVariable("sip_CSeq") but the error occure: attempt to index global 'session' (a nil value)
Lua syntax error. It should be: local var = session.getVariable("sip_CSeq") regards, Takeshi.