var cid = session.getVariable("caller_id_number");

returns:
2008-09-16 08:31:57 [ERR] readFile.js:36 mod_spidermonkey()  TypeError: session.
getVariable is not a function

var cid = self.session.getVariable("caller_id_number");

returns:
2008-09-16 08:31:57 [ERR] readFile.js:36 mod_spidermonkey()  TypeError: session.
self is not defined.

what would I be doing wrong?

Regards,
Gayatri Kulkarni

-----
Whenever you find yourself on the side of the majority, it is time to pause and 
reflect.
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to