[Freeswitch-users] get lcr channel variable from esl
Nigel Kent
ktngl at yahoo.co.uk
Thu Sep 9 12:49:37 PDT 2010
I have used mod_lcr application in my esl script, digits are passed to mod_lcr and a dial string is found successfully as seen on the debug log.
My question is how do I acces the variable ${lcr_auto_route} from esl.
Previously in my script I have used this method to get variables which was set earlier in the script
@con.api("uuid_getvar", "#{@uuid} myvarible").getBody
However this is not working for lcr_auto_route. If I do at con.api("uuid_getvar", "#{@uuid} lcr_auto_route").getBody I get a _undef_ error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100909/3310578e/attachment.html
More information about the FreeSWITCH-users
mailing list