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

Richard mypop3mail at yahoo.com
Sat Aug 14 03:00:01 CEST 2004


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 <serdiehard at yahoo.com> 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 at 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 <mypop3mail at yahoo.com> 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 <serdiehard at yahoo.com> 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 <mypop3mail at yahoo.com> wrote:
> > > 
> > > > it should be "ngrep port 5060 -d lo" if cpled
> is
> > > > running on the same host as ser.
> > > > 
> > > > --- ser die <serdiehard at yahoo.com> wrote:
> > > > 
> > > > > 
> > > > > --- Richard <mypop3mail at yahoo.com> 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=<script>[6]
> > > > > > *** DIsposition param:
> > <action>[6]=<store>[5]
> > > > > > is_quoted=0
> > > > > > DEBUG:cpl-c:get_dest_user: tring to get
> user
> > > > from
> > > > > > new_uri
> > > > > > DEBUG:cpl-c:get_dest_user: tring to get
> user
> > > > from
> > > > > > R_uri
> > > > > > DEBUG:cpl-c:get_dest_user: tring to get
> user
> > > > from
> > > > > To
> > > > > > parse_headers: flags=-1
> > > > > > DEBUG:cpl:write_to_db:User 123 at test.org
> > > already
> > > > in
> > > > > > CPL
> > > > > > database -> update
> > > > > > parse_headers: flags=-1
> > > > > > check_via_address(66.1.2.3, 127.0.0.1, 0)
> > > > > > 
> > > > > > --- ser die <serdiehard at yahoo.com> wrote:
> > > > > > 
> > > > > > > hello richard
> > > > > > > 
> > > > > > > still it gives the fial cpl registering 
> > > > > > > 
> > > > > > > the total log is 
> > > > > > > 
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
********************************************************
> > > > > > >  6(17988) SIP Request:
> > > > > > >  6(17988)  method:  <REGISTER>
> > > > > > >  6(17988)  uri:    
> <sip:xxx.xxx.net:5060>
> > > > > > >  6(17988)  version: <SIP/2.0>
> > > > > > >  6(17988) parse_headers: flags=1
> > > > > > >  6(17988) end of header reached, state=5
> > > > > > >  6(17988) parse_headers: Via found,
> > flags=1
> > > > > > >  6(17988) parse_headers: this is the
> first
> > > via
> > > > > > >  6(17988) After parse_msg...
> > > > > > >  6(17988) preparing to run routing
> > > scripts...
> > > > > > >  6(17988) DEBUG : is_maxfwd_present:
> > > searching
> > > > > for
> > > > > > > max_forwards header
> > > > > > >  6(17988) parse_headers: flags=128
> > > > > > >  6(17988) end of header reached, state=9
> > > > > > >  6(17988) DEBUG: get_hdr_field: <To>
> [32];
> > > > > > > uri=[sip:214103 at xxx.xxx.net]
> > > > > > >  6(17988) DEBUG: to body
> > > > > > [<sip:214103 at xxx.xxx.net>]
> > > > > > >  6(17988) get_hdr_field: cseq <CSeq>:
> <1>
> > > > > > <REGISTER>
> > > > > > >  6(17988) DEBUG: get_hdr_body :
> > > > content_length=0
> > > > > > >  6(17988) found end of header
> > > > > > >  6(17988) DEBUG: is_maxfwd_present:
> > > > max_forwards
> > > > > > > header not found!
> > > > > > >  6(17988) check_via_address(202.*.*.84,
> > > > > > 202.*.*.84,
> > > > > > > 0)
> > > > > > >  6(17988) parse_headers: flags=256
> > > > > > >  6(17988) find_first_route(): No Route
> > > headers
> > > > > > found
> > > > > > >  6(17988) loose_route(): There is no
> Route
> > > HF
> > > > > > >  6(17988) check_self - checking if
> > host==us:
> > > > > 17==9
> > > > > > > && 
> > > > > > > [xxx.xxx.net] == [127.0.0.1]
> > > > > > >  6(17988) check_self - checking if port
> > 5060
> > > > > > matches
> > > > > > > port 5060
> > > > > > >  6(17988) check_self - checking if
> > host==us:
> > > > > > 17==13
> > > > > > > &&
> > > > > > >  [xxx.xxx.net] == [202.*.*.19]
> > > > > > >  6(17988) check_self - checking if port
> > 5060
> > > > > > matches
> > > > > > > port 5060
> > > > > > >  6(17988) check_self - checking if
> > host==us:
> > > > > 17==9
> > > > > > > && 
> > > > > > > [xxx.xxx.net] == [127.0.0.1]
> > > > > > >  6(17988) check_self - checking if port
> > 5060
> 
=== message truncated ===



		
__________________________________
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