Hi,
I verified that I do have use_domain set to 0. Also configured the MySQL as a test to see that there isn't domains in the database saved. But this error still occurs. The most weird part is that I can not call from client1@isp1s.test.com to client2@isp1.test.com but other way around I can do the call.
I enclose the debug from the OpenSER when the client1 registers and tries to invite the client2. Any ideas what should I do ?
Thank you very much, - Mika
---------------- CLIP ------------------------ 6(8583) Binding 'client2','sip:client2@193.65.64.185:2051;line=210u03g0' has expired 5(8582) SIP Request: 5(8582) method: <REGISTER> 5(8582) uri: sip:isp1s.test.com 5(8582) version: <SIP/2.0> 5(8582) parse_headers: flags=2 5(8582) Found param type 232, <branch> = <z9hG4bK6s370o22rlhc6ucg0p088k5>; state=6 5(8582) Found param type 235, <rport> = <n/a>; state=17 5(8582) end of header reached, state=5 5(8582) parse_headers: Via found, flags=2 5(8582) parse_headers: this is the first via 5(8582) After parse_msg... 5(8582) preparing to run routing scripts... 5(8582) parse_headers: flags=10 5(8582) DEBUG: add_param: tag=ssln0o71iphc79uj0p08 5(8582) DEBUG:parse_to:end of header reached, state=29 5(8582) parse_headers: flags=8 5(8582) DEBUG:parse_to:end of header reached, state=9 5(8582) DEBUG: get_hdr_field: <To> [30]; uri=[sip:client1@isp1s.test.com] 5(8582) DEBUG: to body [sip:client1@isp1s.test.com ] 5(8582) SIP: method [REGISTER] from [sip:client1@isp1s.test.com] to [sip:client1@isp1s.test.com] 5(8582) parse_headers: flags=100 5(8582) get_hdr_field: cseq <CSeq>: <1293> <REGISTER> 5(8582) DEBUG:maxfwd:is_maxfwd_present: value = 70 5(8582) parse_headers: flags=200 5(8582) DEBUG: get_hdr_body : content_length=0 5(8582) found end of header 5(8582) find_first_route: No Route headers found 5(8582) loose_route: There is no Route HF 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) parse_headers: flags=4000 5(8582) pre_auth(): Credentials with given realm not found 5(8582) build_auth_hf(): 'WWW-Authenticate: Digest realm="isp1.test.com", nonce="44517dbd5eb9b101082bbfd0bb0ffe43b724d2a8" ' 5(8582) parse_headers: flags=ffffffffffffffff 5(8582) check_via_address(193.65.64.188, 193.65.64.188, 0) 5(8582) DEBUG:destroy_avp_list: destroying list (nil) 5(8582) receive_msg: cleaning up 2(8574) SIP Request: 2(8574) method: <REGISTER> 2(8574) uri: sip:isp1s.test.com 2(8574) version: <SIP/2.0> 2(8574) parse_headers: flags=2 2(8574) Found param type 232, <branch> = <z9hG4bKf8u0p28ch5rd4u77e1g5bo3>; state=6 2(8574) Found param type 235, <rport> = <n/a>; state=17 2(8574) end of header reached, state=5 2(8574) parse_headers: Via found, flags=2 2(8574) parse_headers: this is the first via 2(8574) After parse_msg... 2(8574) preparing to run routing scripts... 2(8574) parse_headers: flags=10 2(8574) DEBUG: add_param: tag=ssln0o71iphc79uj0p08 2(8574) DEBUG:parse_to:end of header reached, state=29 2(8574) parse_headers: flags=8 2(8574) DEBUG:parse_to:end of header reached, state=9 2(8574) DEBUG: get_hdr_field: <To> [30]; uri=[sip:client1@isp1s.test.com] 2(8574) DEBUG: to body [sip:client1@isp1s.test.com ] 2(8574) SIP: method [REGISTER] from [sip:client1@isp1s.test.com] to [sip:client1@isp1s.test.com] 2(8574) parse_headers: flags=100 2(8574) get_hdr_field: cseq <CSeq>: <1294> <REGISTER> 2(8574) DEBUG:maxfwd:is_maxfwd_present: value = 70 2(8574) parse_headers: flags=200 2(8574) DEBUG: get_hdr_body : content_length=0 2(8574) found end of header 2(8574) find_first_route: No Route headers found 2(8574) loose_route: There is no Route HF 2(8574) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 2(8574) grep_sock_info - checking if port 5060 matches port 5060 2(8574) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 2(8574) grep_sock_info - checking if port 5060 matches port 5060 2(8574) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 2(8574) grep_sock_info - checking if port 5060 matches port 5060 2(8574) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 2(8574) grep_sock_info - checking if port 5060 matches port 5060 2(8574) check_nonce(): comparing [44517dbd5eb9b101082bbfd0bb0ffe43b724d2a8] and [44517dbd5eb9b101082bbfd0bb0ffe43b724d2a8] 2(8574) DEBUG:auth_radius:radius_authorize_sterman: Success 2(8574) DEBUG:auth_radius:generate_avps: getting SIP AVPs from avpair 225 2(8574) parse_headers: flags=ffffffffffffffff 2(8574) parse_headers: flags=8000000 2(8574) parse_headers: flags=ffffffffffffffff 2(8574) build_contact(): Created Contact HF: Contact: sip:client1@193.65.64.188;expires=3600
2(8574) parse_headers: flags=ffffffffffffffff 2(8574) check_via_address(193.65.64.188, 193.65.64.188, 0) 2(8574) Returned [1] 2(8574) DEBUG:destroy_avp_list: destroying list (nil) 2(8574) receive_msg: cleaning up 5(8582) SIP Request: 5(8582) method: <INVITE> 5(8582) uri: sip:isp1s.test.com 5(8582) version: <SIP/2.0> 5(8582) parse_headers: flags=2 5(8582) Found param type 232, <branch> = <z9hG4bK0rtn0o1t1lhc6h4o2galqfs>; state=6 5(8582) Found param type 235, <rport> = <n/a>; state=17 5(8582) end of header reached, state=5 5(8582) parse_headers: Via found, flags=2 5(8582) parse_headers: this is the first via 5(8582) After parse_msg... 5(8582) preparing to run routing scripts... 5(8582) parse_headers: flags=10 5(8582) DEBUG: add_param: tag=cqcn0o0gbhhc7p9j2gal 5(8582) DEBUG:parse_to:end of header reached, state=29 5(8582) parse_headers: flags=8 5(8582) DEBUG:parse_to:end of header reached, state=9 5(8582) DEBUG: get_hdr_field: <To> [31]; uri=[sip:client2p@isp1.test.com] 5(8582) DEBUG: to body [sip:client2p@isp1.test.com ] 5(8582) SIP: method [INVITE] from [sip:client1@isp1s.test.com] to [sip:client2p@isp1.test.com] 5(8582) parse_headers: flags=100 5(8582) get_hdr_field: cseq <CSeq>: <1294> <INVITE> 5(8582) DEBUG:maxfwd:is_maxfwd_present: value = 70 5(8582) parse_headers: flags=200 5(8582) is_preloaded: Yes 5(8582) grep_sock_info - checking if host==us: 14==13 && [isp1.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 14==13 && [isp1.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) after_loose: Topmost route URI: 'sip:client2p@isp1.test.com' is me 5(8582) parse_headers: flags=200 5(8582) DEBUG: get_hdr_body : content_length=332 5(8582) found end of header 5(8582) find_next_route: No next Route HF found 5(8582) after_loose: No next URI found 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) lookup(): '' Not found in usrloc 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) grep_sock_info - checking if host==us: 15==13 && [isp1s.test.com] == [193.65.64.130] 5(8582) grep_sock_info - checking if port 5060 matches port 5060 5(8582) lookup(): '' Not found in usrloc 5(8582) parse_headers: flags=ffffffffffffffff 5(8582) check_via_address(193.65.64.188, 193.65.64.188, 0) 5(8582) DEBUG:destroy_avp_list: destroying list (nil) 5(8582) receive_msg: cleaning up 2(8574) SIP Request: 2(8574) method: <ACK> 2(8574) uri: sip:isp1s.test.com 2(8574) version: <SIP/2.0> 2(8574) parse_headers: flags=2 2(8574) Found param type 232, <branch> = <z9hG4bK0rtn0o1t1lhc6h4o2galqfs>; state=6 2(8574) Found param type 235, <rport> = <n/a>; state=17 2(8574) end of header reached, state=5 2(8574) parse_headers: Via found, flags=2 2(8574) parse_headers: this is the first via 2(8574) After parse_msg... 2(8574) preparing to run routing scripts... 2(8574) parse_headers: flags=8 2(8574) DEBUG: add_param: tag=ead6a47b01fda88c7548438d3d23c061.1ce2 2(8574) DEBUG:parse_to:end of header reached, state=29 2(8574) DEBUG: get_hdr_field: <To> [73]; uri=[sip:client2p@isp1.test.com] 2(8574) DEBUG: to body [sip:client2p@isp1.test.com] 2(8574) DEBUG: sl_filter_ACK : local ACK found -> dropping it! 2(8574) DEBUG:destroy_avp_list: destroying list (nil) 2(8574) receive_msg: cleaning up
------------------- CLIP ----------------------------
You're using uslroc module with use_domain set to 1. This means that lookup() will look for entries with same username AND domain. Since client 1 and client2|3 are in different domains, they can't communicate using just the username. Eihter set use_domain to 0 or add some trick in the config to enable users from different domains callling each other.