Thanks Paul! On 30/09/2010 11:51, Paul Smith wrote: > Hi Jeff > I think xlog was a separate module in 1.4, but merged into core by 1.6. > The example you are looking at is not loading the module, hence you get > the error. > > http://www.opensips.org/html/docs/modules/1.4.x/xlog.html > > If you follow the doc in the above link it should get you up and running > using the module and opensips 1.4 > > Regards, > Paul > > Jeff Davies wrote: > >> I see the following in the log file: >> >> Sep 30 10:09:42 hester opensips: DBG:core:find_cmd_export_t:<xlog> not >> found >> >> Opensips version: >> >> r...@hester:/etc/opensips# opensips -help >> version: opensips 1.4.4-notls (x86_64/linux) >> >> Is the tutorial in the url in my previous email not applicable to the >> version I have installed? >> >> Regards, >> Jeff >> >> On 30/09/2010 10:25, Jeff Davies wrote: >> >> >>> Hi All, >>> >>> I'm trying to follow http://www.opensips.org/Resources/DocsTutFail2ban >>> for fail2ban integration. >>> >>> All seems to make sense apart from the /etc/opensips/opensips.cfg >>> changes seem to cause trouble. >>> >>> Here is the change causing trouble: >>> >>> ###################### >>> #old version: >>> #if ( ! www_authorize( "", "phones" ) ) { >>> # www_challenge( "", "0" ); >>> # exit; >>> #} >>> >>> ###################### >>> #new version: >>> $var(auth_code) = www_authorize("", "phones"); >>> if ( $var(auth_code) == -1 || $var(auth_code) == -2 ) { >>> # xlog("L_NOTICE","Auth error for $...@$fd from $si cause >>> $var(auth_code)"); >>> # xlog("hello world") ; >>> } >>> if ( ! $var(auth_code) ) { >>> www_challenge("", "0"); >>> exit; >>> } >>> ###################### >>> >>> If I include either xlog call then opensips fails to start from init.d >>> >>> Any tips here? >>> >>> Regards, >>> Jeff >>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
