[Serusers] has any body got success with ser-0.8.12 with cpl-c module
Richard
mypop3mail at yahoo.com
Wed Aug 4 12:03:33 CEST 2004
Hi,
Can you use the follow code and check log to see where
it fails?
xlog("L_INFO", "About to register cpl script\n");
# register cpl
if(!cpl_process_register()) {
xlog("L_ERR", "Error: fail cpl registering\n");
break;
}
--- ser die <serdiehard at yahoo.com> wrote:
> i have uploded the script to the database via sip
> using CPLED but i have not seen any binary version
> of
> the data in the cpl table only user name and the
> xml have been there in that table
>
> i have the cpl related instruction in the ser.cfg
> as follows
>
> *************************************************
>
> #cpl
>
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
>
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost/ser")
> modparam("cpl-c","cpl_table","cpl")
> modparam("cpl-c","lookup_domain","location")
>
>
> if (uri==myself)
> {
>
> if
> (method=="REGISTER")
> {
> if
> (!www_authorize("server.pol.net.in", "subscriber"))
> {
>
> www_challenge("server.pol.net.in", "0");
> break;
> };
>
> cpl_process_register();
> save("location");
> break;
> };
>
>
>
>
*******************************************************
>
>
> --- Richard <mypop3mail at yahoo.com> wrote:
>
> > Did you upload the cpl?
> >
> > cpl_bin needs to have the compiled version of the
> > xml
> > script. You can use CPLED to upload it via SIP.
> Then
> > use cpl_process_register() in the script to accept
> > it.
> >
> > Cheers,
> > Richard
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
More information about the sr-users
mailing list