From mypop3mail@yahoo.com Sat Aug 14 02:56:33 2004 From: Richard To: sr-users@lists.kamailio.org Subject: Re: [Serusers] has any body got success with ser-0.8.12 with cpl-c module Date: Fri, 13 Aug 2004 18:00:01 -0700 Message-ID: <20040814010001.21738.qmail@web50601.mail.yahoo.com> In-Reply-To: <20040813101911.94058.qmail@web21424.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1161117570==" --===============1161117570== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ehh... i always run cpled on the same server as ser. Now just tried on different host, can't make it work with SIP upload. It always comes back with 401 Unauthorized. cpl is either loaded by fifo or cpled. I have both working. cpled is good for testing new scripts. fifo/cpl-load is good for loading some well tested script via a web page. It is very powerful, also makes it hard to troubleshoot. Cheers, Richard --- ser die wrote: > richard, > > does it compulsory to run the cpled simultaneously > > with ser while cpl option we are using > > i think the database support ( cpl table ) will give > > the cpl scritps automatically > > iam trying with fifo commands now > > serctl fifo load_cpl 214103(a)xxx.xxx.net > cpl214103.xml > but it s giveing error > > i need to check for that > > has cpled worked for you totally ? > > > > with regards > serdiehard > > --- Richard wrote: > > > cpled uses java. So ps would show java process. > > > > are you running cpled on the same machine as ser? > > > > You can use fifo, just search achive on how to do > > it. > > > > Richard > > > > > > --- ser die wrote: > > > > > hello richards, > > > > > > does cpled exist as a independent process > > > > > > can we check with the command ps -ef > > > > > > how to ensure that cpled process is running > > > > > > when i use the command ngrep port 5060 -d lo > > > > > > it s not showing any messages > > > > > > in ethereal it s showing 401 message i think > > > > > > unauthorised and that client is not registering > > > > > > > > > with regards > > > serdiehard > > > > > > --- Richard wrote: > > > > > > > it should be "ngrep port 5060 -d lo" if cpled > is > > > > running on the same host as ser. > > > > > > > > --- ser die wrote: > > > > > > > > > > > > > > --- Richard wrote: > > > > > > > > > > > Not quite sure if cpled is sending the > > > message. > > > > > Can > > > > > > you ngrep the sip message? If it sends > from > > > > > > localhost, > > > > > > need to use option "-d lo". A good cpl-c > > > > register > > > > > > log > > > > > > is like this, (mime found 3, 4, not 0, 0) > > > > > > > > > > > > DEBUG:cpl_process_register: Content-Type > > mime > > > > > found > > > > > > 3, > > > > > > 4 > > > > > > DEBUG:cpl_process_register: carrying CPL > -> > > > look > > > > > at > > > > > > Content-Disposition > > > > > > *** Disposition type=