Hello, when I use lua_exec in local_route, I have below error:
Feb 21 10:31:26 hendrix opensips[26811]: Not starting opensips: invalid configuration file! Feb 21 10:31:26 hendrix opensips[26811]: Feb 21 10:31:26 [26823] Traceback (last included file at the bottom): Feb 21 10:31:26 hendrix opensips[26811]: Feb 21 10:31:26 [26823] 0. /data/opensips/etc/opensips/opensips.cfg Feb 21 10:31:26 hendrix opensips[26811]: Feb 21 10:31:26 [26823] CRITICAL:core:yyerror: parse error in /data/opensips/etc/opensips/opensips.cfg:1165:23-24: Command <lua_exec> cannot be used in the block Context: when I receive an sms in ucs2, proto_smpp returns the message in utf16 big endian. I need to to convert this to utf8. Therefore I thought to do the decoding using lua. so I assume that lua_exec is there forbidden. If this is true, should I open a feature request to add this functionality or is there a workaround ? BR, Johan. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users