Oh, I forgot that the group of t_set_* functions have one parameter, to allow set/unset the flag. Use:

t_set_disable_internal_reply(1);

Daniel

On 8/23/13 1:34 PM, Steve Davies wrote:



On 23 August 2013 12:22, Daniel-Constantin Mierla <mico...@gmail.com <mailto:mico...@gmail.com>> wrote:

    correction for the above line, the function name is:

    t_set_disable_internal_reply();


I can't get the parser to agree its valid:

0(29626) DEBUG: <core> [sr_module.c:680]: find_mod_export_record(): find_export_record: <t_set_disable_internal_reply> not found 0(29626) DEBUG: <core> [sr_module.c:680]: find_mod_export_record(): find_export_record: <t_set_disable_internal_reply> not found 0(29626) ERROR: <core> [cfg.y:3431]: yyparse(): cfg. parser: failed to find command t_set_disable_internal_reply 0(29626) : <core> [cfg.y:3570]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 560, column 31: unknown command, missing loadmodule?

It is there in the tm.so binary:

# strings /usr/local/lib/kamailio/modules/tm.so | grep t_set_disable_internal_reply
t_set_disable_internal_reply

I applied the patch, did make clean, make all, make install, restarted Kamailio.

Then tried "make group_include="standard standard-dep stable experimental" all" and make install.

I looked at the code and I can't see how its different from other functions that do work.

Feel stupid ...

Steve


--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
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

Reply via email to