[Serusers] has any body got success with ser-0.8.12 with cpl-c module
ser die
serdiehard at yahoo.com
Thu Aug 12 11:43:46 CEST 2004
hello friend
i added that still it gives the problem
the ser.cfg looks like this related to cpl module
# -- cpl-c module --
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost:3306/ser")
modparam("cpl-c","cpl_table","cpl")
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
modparam("cpl-c","log_dir","/var/log/")
modparam("cpl-c","proxy_recurse",0)
modparam("cpl-c","lookup_domain","location")
the total log info
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 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) parse_headers: flags=4096
6(17988) pre_auth(): Credentials with given realm not
found
6(17988) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="411b3c2eeb0cedfb65da5f5a2fd9dc5a849c920b"
'
6(17988) parse_headers: flags=-1
6(17988) check_via_address(202.*.*.84, 202.*.*.84, 0)
6(17988) receive_msg: cleaning up
7(17994) SIP Request:
7(17994) method: <REGISTER>
7(17994) uri: <sip:xxx.xxx.net:5060>
7(17994) version: <SIP/2.0>
7(17994) parse_headers: flags=1
7(17994) end of header reached, state=5
7(17994) parse_headers: Via found, flags=1
7(17994) parse_headers: this is the first via
7(17994) After parse_msg...
7(17994) preparing to run routing scripts...
7(17994) DEBUG : is_maxfwd_present: searching for
max_forwards header
7(17994) parse_headers: flags=128
7(17994) end of header reached, state=9
7(17994) DEBUG: get_hdr_field: <To> [32];
uri=[sip:215104 at xxx.xxx.net]
7(17994) DEBUG: to body [<sip:215104 at xxx.xxx.net>]
7(17994) get_hdr_field: cseq <CSeq>: <2> <REGISTER>
7(17994) DEBUG: get_hdr_body : content_length=0
7(17994) found end of header
7(17994) DEBUG: is_maxfwd_present: max_forwards
header not found!
7(17994) check_via_address(202.*.*.84, 202.*.*.84, 0)
7(17994) parse_headers: flags=256
7(17994) find_first_route(): No Route headers found
7(17994) loose_route(): There is no Route HF
7(17994) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
7(17994) check_self - checking if port 5060 matches
port 5060
7(17994) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
7(17994) check_self - checking if port 5060 matches
port 5060
7(17994) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
7(17994) check_self - checking if port 5060 matches
port 5060
7(17994) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
7(17994) check_self - checking if port 5060 matches
port 5060
7(17994) parse_headers: flags=4096
7(17994) pre_auth(): Credentials with given realm not
found
7(17994) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="411b3c2eeb0cedfb65da5f5a2fd9dc5a849c920b"
'
7(17994) parse_headers: flags=-1
7(17994) check_via_address(202.*.*.84, 202.*.*.84, 0)
7(17994) receive_msg: cleaning up
5(17981) SIP Request:
5(17981) method: <REGISTER>
5(17981) uri: <sip:xxx.xxx.net:5060>
5(17981) version: <SIP/2.0>
5(17981) parse_headers: flags=1
5(17981) end of header reached, state=5
5(17981) parse_headers: Via found, flags=1
5(17981) parse_headers: this is the first via
5(17981) After parse_msg...
5(17981) preparing to run routing scripts...
5(17981) DEBUG : is_maxfwd_present: searching for
max_forwards header
5(17981) parse_headers: flags=128
5(17981) end of header reached, state=9
5(17981) DEBUG: get_hdr_field: <To> [32];
uri=[sip:214103 at xxx.xxx.net]
5(17981) DEBUG: to body [<sip:214103 at xxx.xxx.net>]
5(17981) get_hdr_field: cseq <CSeq>: <3> <REGISTER>
5(17981) DEBUG: get_hdr_body : content_length=0
5(17981) found end of header
5(17981) DEBUG: is_maxfwd_present: max_forwards
header not found!
5(17981) check_via_address(202.*.*.84, 202.*.*.84, 0)
5(17981) parse_headers: flags=256
5(17981) find_first_route(): No Route headers found
5(17981) loose_route(): There is no Route HF
5(17981) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(17981) check_self - checking if port 5060 matches
port 5060
5(17981) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(17981) check_self - checking if port 5060 matches
port 5060
5(17981) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(17981) check_self - checking if port 5060 matches
port 5060
5(17981) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(17981) check_self - checking if port 5060 matches
port 5060
5(17981) check_nonce(): comparing
[411b3c2eeb0cedfb65da5f5a2fd9dc5a849c920b] and
[411b3c2eeb0cedfb65da5f5a2fd9dc5a849c920b]
5(17981) query="select password from subscriber where
username='214103' AND domain='xxx.xxx.net'"
5(17981) HA1 string calculated:
0984246f25855fa6513a3125ab956f58
5(17981) check_response(): Our result =
'8bdb1022aada3388b8b2ef0f6b0cd150'
5(17981) check_response(): Authorization is OK
5(17981) save_rpid(): rpid value is ''
5(17981) parse_headers: flags=1024
5(17981) DEBUG:parse_content_type_hdr: missing
Content-Typeheader
5(17981) DEBUG:cpl_process_register: Content-Type
mime found 0, 0
5(17981) parse_headers: flags=1048576
5(17981) DEBUG:parse_accept_hdr: missing Accept
header
5(17981) XLOG: xl_print_log: final buffer length 29
5(17981) Error: fail cpl registering
5(17981) receive_msg: cleaning up
with regards
serdie hard
--- Richard <mypop3mail at yahoo.com> wrote:
> try to add this,
>
> modparam("cpl-c","lookup_domain","location")
>
>
> --- ser die <serdiehard at yahoo.com> wrote:
>
> > thanks richard
> >
> > the total log is
> >
> >
> >
>
********************************************************
> >
> > 5(3375) SIP Request:
> > 5(3375) method: <REGISTER>
> > 5(3375) uri: <sip:xxx.xxx.net:5060>
> > 5(3375) version: <SIP/2.0>
> > 5(3375) parse_headers: flags=1
> > 5(3375) end of header reached, state=5
> > 5(3375) parse_headers: Via found, flags=1
> > 5(3375) parse_headers: this is the first via
> > 5(3375) After parse_msg...
> > 5(3375) preparing to run routing scripts...
> > 5(3375) DEBUG : is_maxfwd_present: searching for
> > max_forwards header
> > 5(3375) parse_headers: flags=128
> > 5(3375) end of header reached, state=9
> > 5(3375) DEBUG: get_hdr_field: <To> [32];
> > uri=[sip:214103 at xxx.xxx.net]
> > 5(3375) DEBUG: to body [<sip:214103 at xxx.xxx.net>
> > ]
> > 5(3375) get_hdr_field: cseq <CSeq>: <1>
> <REGISTER>
> > 5(3375) DEBUG: get_hdr_body : content_length=0
> > 5(3375) found end of header
> > 5(3375) DEBUG: is_maxfwd_present: max_forwards
> > header
> > not found!
> > 5(3375) check_via_address(202.*.*.84, 202.*.*.84,
> > 0)
> > 5(3375) parse_headers: flags=256
> > 5(3375) find_first_route(): No Route headers
> found
> > 5(3375) loose_route(): There is no Route HF
> > 5(3375) check_self - checking if host==us: 17==9
> &&
> >
> > [xxx.xxx.net] == [127.0.0.1]
> > 5(3375) check_self - checking if port 5060
> matches
> > port 5060
> > 5(3375) check_self - checking if host==us: 17==13
> > &&
> > [xxx.xxx.net] == [202.*.*.19]
> > 5(3375) check_self - checking if port 5060
> matches
> > port 5060
> > 5(3375) check_self - checking if host==us: 17==9
> &&
> >
> > [xxx.xxx.net] == [127.0.0.1]
> > 5(3375) check_self - checking if port 5060
> matches
> > port 5060
> > 5(3375) check_self - checking if host==us: 17==13
> > &&
> > [xxx.xxx.net] == [202.*.*.19]
> > 5(3375) check_self - checking if port 5060
> matches
> > port 5060
> > 5(3375) parse_headers: flags=4096
> > 5(3375) pre_auth(): Credentials with given realm
> > not
> > found
> > 5(3375) build_auth_hf(): 'WWW-Authenticate:
> Digest
> > realm="xxx.xxx.net",
> > nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
> > '
> > 5(3375) parse_headers: flags=-1
> > 5(3375) check_via_address(202.*.*.84, 202.*.*.84,
> > 0)
> > 5(3375) receive_msg: cleaning up
> > 6(3382) SIP Request:
> > 6(3382) method: <REGISTER>
> > 6(3382) uri: <sip:xxx.xxx.net:5060>
> > 6(3382) version: <SIP/2.0>
> > 6(3382) parse_headers: flags=1
> > 6(3382) end of header reached, state=5
> > 6(3382) parse_headers: Via found, flags=1
> > 6(3382) parse_headers: this is the first via
> > 6(3382) After parse_msg...
> > 6(3382) preparing to run routing scripts...
> > 6(3382) DEBUG : is_maxfwd_present: searching for
> > max_forwards header
> > 6(3382) parse_headers: flags=128
> > 6(3382) end of header reached, state=9
> > 6(3382) DEBUG: get_hdr_field: <To> [32];
> > uri=[sip:215104 at xxx.xxx.net]
> > 6(3382) DEBUG: to body [<sip:215104 at xxx.xxx.net>
> > ]
> > 6(3382) get_hdr_field: cseq <CSeq>: <2>
> <REGISTER>
> > 6(3382) DEBUG: get_hdr_body : content_length=0
> > 6(3382) found end of header
> > 6(3382) DEBUG: is_maxfwd_present: max_forwards
> > header
> > not found!
> > 6(3382) check_via_address(202.*.*.84, 202.*.*.84,
> > 0)
> > 6(3382) parse_headers: flags=256
> > 6(3382) find_first_route(): No Route headers
> found
> > 6(3382) loose_route(): There is no Route HF
> > 6(3382) check_self - checking if host==us: 17==9
> &&
> >
> > [xxx.xxx.net] == [127.0.0.1]
> > 6(3382) check_self - checking if port 5060
> matches
> > port 5060
> > 6(3382) check_self - checking if host==us: 17==13
> > &&
> > [xxx.xxx.net] == [202.*.*.19]
> > 6(3382) check_self - checking if port 5060
> matches
> > port 5060
> > 6(3382) check_self - checking if host==us: 17==9
> &&
> >
> > [xxx.xxx.net] == [127.0.0.1]
> > 6(3382) check_self - checking if port 5060
> matches
> > port 5060
> > 6(3382) check_self - checking if host==us: 17==13
> > &&
> > [xxx.xxx.net] == [202.*.*.19]
> > 6(3382) check_self - checking if port 5060
> matches
> > port 5060
> > 6(3382) parse_headers: flags=4096
> > 6(3382) pre_auth(): Credentials with given realm
> > not
> > found
> > 6(3382) build_auth_hf(): 'WWW-Authenticate:
> Digest
> > realm="xxx.xxx.net",
> > nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
> > '
> > 6(3382) parse_headers: flags=-1
> > 6(3382) check_via_address(202.*.*.84, 202.*.*.84,
> > 0)
> > 6(3382) receive_msg: cleaning up
> > 8(3394) SIP Request:
> > 8(3394) method: <REGISTER>
> > 8(3394) uri: <sip:xxx.xxx.net:5060>
> > 8(3394) version: <SIP/2.0>
> > 8(3394) parse_headers: flags=1
> > 8(3394) end of header reached, state=5
> > 8(3394) parse_headers: Via found, flags=1
> > 8(3394) parse_headers: this is the first via
> > 8(3394) After parse_msg...
> > 8(3394) preparing to run routing scripts...
> > 8(3394) DEBUG : is_maxfwd_present: searching for
> > max_forwards header
> > 8(3394) parse_headers: flags=128
> > 8(3394) end of header reached, state=9
> > 8(3394) DEBUG: get_hdr_field: <To> [32];
> > uri=[sip:214103 at xxx.xxx.net]
> > 8(3394) DEBUG: to body [<sip:214103 at xxx.xxx.net>
> > ]
> > 8(3394) get_hdr_field: cseq <CSeq>: <3>
> <REGISTER>
> > 8(3394) DEBUG: get_hdr_body : content_length=0
> > 8(3394) found end of header
> > 8(3394) DEBUG: is_maxfwd_present: max_forwards
> > header
> > not found!
> > 8(3394) check_via_address(202.*.*.84, 202.*.*.84,
> > 0)
> > 8(3394) parse_headers: flags=256
> > 8(3394) find_first_route(): No Route headers
> found
> > 8(3394) loose_route(): There is no Route HF
> > 8(3394) check_self - checking if host==us: 17==9
> &&
> >
> > [xxx.xxx.net] == [127.0.0.1]
> > 8(3394) check_self - checking if port 5060
> matches
> > port 5060
> > 8(3394) check_self - checking if host==us: 17==13
> > &&
> > [xxx.xxx.net] == [202.*.*.19]
> > 8(3394) check_self - checking if port 5060
> matches
> > port 5060
> > 8(3394) check_self - checking if host==us: 17==9
> &&
>
=== message truncated ===
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
More information about the sr-users
mailing list