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@xxx.xxx.net] 6(17988) DEBUG: to body [sip:214103@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@xxx.xxx.net] 7(17994) DEBUG: to body [sip:215104@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@xxx.xxx.net] 5(17981) DEBUG: to body [sip:214103@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 serdiehard
--- Richard mypop3mail@yahoo.com wrote:
try to add this,
modparam("cpl-c","lookup_domain","location")
--- ser die serdiehard@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@xxx.xxx.net] 5(3375) DEBUG: to body [sip:214103@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@xxx.xxx.net] > 6(3382) DEBUG: to body [<sip:215104@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@xxx.xxx.net] > 8(3394) DEBUG: to body [<sip:214103@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!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body [sip:214103@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@xxx.xxx.net] 7(17994) DEBUG: to body [sip:215104@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@xxx.xxx.net] 5(17981) DEBUG: to body [sip:214103@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 serdiehard
=== message truncated ===
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
--- Richard mypop3mail@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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body
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@xxx.xxx.net] > 7(17994) DEBUG: to body [<sip:215104@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@xxx.xxx.net] > 5(17981) DEBUG: to body [<sip:214103@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
=== message truncated ===
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
it should be "ngrep port 5060 -d lo" if cpled is running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body
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,
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@xxx.xxx.net] 7(17994) DEBUG: to body
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,
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
=== message truncated ===
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
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@yahoo.com wrote:
it should be "ngrep port 5060 -d lo" if cpled is running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body
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,
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,
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@xxx.xxx.net] 7(17994) DEBUG: to body
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,
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
=== message truncated ===
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
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@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@yahoo.com wrote:
it should be "ngrep port 5060 -d lo" if cpled is running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body
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,
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,
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@xxx.xxx.net] 7(17994) DEBUG: to body
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,
7(17994) parse_headers: flags=256 7(17994) find_first_route(): No Route
headers
=== message truncated ===
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
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 mypop3mail@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@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@yahoo.com wrote:
it should be "ngrep port 5060 -d lo" if cpled is running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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@xxx.xxx.net] 6(17988) DEBUG: to body
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,
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,
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
=== message truncated ===
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
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@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@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@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@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@yahoo.com wrote:
it should be "ngrep port 5060 -d lo" if cpled
is
running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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:
> 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@xxx.xxx.net] > 6(17988) DEBUG: to body [sip:214103@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
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 serdiehard@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@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@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@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@yahoo.com wrote:
it should be "ngrep port 5060 -d lo" if cpled
is
running on the same host as ser.
--- ser die serdiehard@yahoo.com wrote:
--- Richard mypop3mail@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@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@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:
> > 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@xxx.xxx.net] > > 6(17988) DEBUG: to body > [sip:214103@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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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=[6] > *** DIsposition param:
[6]=[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@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 wrote: > > > hello richard > > > > still it gives the fial cpl registering > > > > the total log is > > > > >
> > 6(17988) SIP Request: > > 6(17988) method: > > 6(17988) uri:
> > 6(17988) version: > > 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:
[32];
> > uri=[sip:214103@xxx.xxx.net] > > 6(17988) DEBUG: to body > [] > > 6(17988) get_hdr_field: cseq :
> > > 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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi,
I was showing sample of how to include things into your ser.cfg .. Maybe you can attach it to the mailing list here so I (or someone else on the list) can give more precise instructions on how you can put the cpl instructions in your specific ser.cfg ..
Also do include the errors you are getting instead of just telling the number of errors ;-)
Cheers, Soren.
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
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=[6] > *** DIsposition param:
[6]=[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@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 wrote: > > > hello richard > > > > still it gives the fial cpl registering > > > > the total log is > > > > >
> > 6(17988) SIP Request: > > 6(17988) method: > > 6(17988) uri:
> > 6(17988) version: > > 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:
[32];
> > uri=[sip:214103@xxx.xxx.net] > > 6(17988) DEBUG: to body > [] > > 6(17988) get_hdr_field: cseq :
> > > 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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers