thanks soren,
 
by including the statements you said the server is shutting down.
 
gives the bad config file 5 errors
 
so can any body say how to upload the cpl with cpl-load methods
 
or by using the fifo methods i tried in archive but in vain
 
with regards
rama kanth

"Soren (Home)" <soren@tanesha.net> wrote:

You should check your ser.cfg then .. Maybe it doesn't require
authentication from localhost. 401 is when no/wrong password has been
submitted.

In my ser it looks like this, you can always add "&& src_ip == ... " in
the search if-condition to make it more secure:

if (method=="REGISTER") {
# special cpl handling (NOTE, no authorization here yet!)
if (search("Content-type:.*application/cpl\+xml")) {
xlog("L_INFO", "Someone doing CPL REGISTER from %is\n");
cpl_process_register();
break;
};

#
# continue to handle register like normal ...
#
if (!www_authorize("asdf", "subscriber")) {
...
};

...
};

Cheers, Soren

> 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@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=


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.