[Serusers] has any body got success with ser-0.8.12 with cpl-c module

ser die serdiehard at yahoo.com
Tue Aug 10 23:25:28 CEST 2004


hello richard,

 8(2941) DEBUG:parse_accept_hdr: missing Accept header
 8(2941) XLOG: xl_print_log: final buffer length 29
 8(2941) Error: fail cpl registering
 8(2941) receive_msg: cleaning up

this error it is giveing
and the server is not up its continuosly try to 
register the cpl but it s not registering 

when i save it , it has been saved in the database

so where i most be doing wrong

please guide me
with regards
voipser
--- Richard <mypop3mail at yahoo.com> wrote:

> 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("xxx.xx.net",
> "subscriber"))
> > {
> >                                        
> > www_challenge("xx.xx.net", "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
> 



		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 




More information about the sr-users mailing list