[Serusers] has any body got success with ser-0.8.12 with cpl-c module
ser die
serdiehard at yahoo.com
Wed Aug 4 11:28:42 CEST 2004
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
More information about the sr-users
mailing list