Priyaranjan Nayak <priyaranjan4...@gmail.com>: > loading modules under config path: /usr/local/lib64/kamailio/modules/ > 0(3002) ERROR: <core> [cfg.y:3282]: yyparse(): misused command > append_to_reply > 0(3002) : <core> [cfg.y:3426]: yyerror_at(): parse error in config file > /usr/local/etc/kamailio/kamailio.cfg, line 982, column 164: Command cannot > be used in the block
That means that you can not run append_to_reply() while in onreply_route -block. Quote from documentation: --- This function can be used from REQUEST_ROUTE, BRANCH_ROUTE, FAILURE_ROUTE, ERROR_ROUTE. --- Maybe you can call append_to_reply() before setting onreply_route with t_on_reply() ? > ERROR: bad config file (1 errors) > 0(3002) WARNING: <core> [ppcfg.c:219]: pp_ifdef_level_check(): different > number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1 I don't know about this, propably unrelated to above. -- Mikko Lehto _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users