<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
i fix the problem myself <br>
<br>
just add your domain name to opensips.cfg<br>
like:<br>
listen:udp:yourdoamdin.com:5060<br>
<br>
<br>
<div class="moz-cite-prefix">On 01/23/2016 02:59 PM, MichaelLeung
wrote:<br>
</div>
<blockquote cite="mid:56A324C2.5080101@gmail.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
any reply ?<br>
<br>
<div class="moz-cite-prefix">On 01/23/2016 01:17 AM, MichaelLeung
wrote:<br>
</div>
<blockquote cite="mid:56A26441.9020507@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<small>Hi team<br>
<br>
my opensips server can accept regster request using IP address
from client , but will not accept with domain name.<br>
<br>
there is the output log from debug 4<br>
<br>
please help me to find out what cause the problem , thanks</small><br>
<br>
---------------------------------------------------------------------------------------<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_msg: SIP Request:<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_msg: method: <REGISTER><br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_msg: uri: <sip:sip2.xxxxx.eu.org><br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_msg: version: <SIP/2.0><br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=2<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_via_param: found param type 232, <branch> =
<z9hG4bK.RhSz~gcCo>; state=6<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_via_param: found param type 235, <rport> =
<n/a>; state=17<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_via: end of header reached, state=5<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: via found, flags=2<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: this is the first via<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:receive_msg: After parse_msg...<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:receive_msg: preparing to run routing scripts...<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=100<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_to: end of header reached, state=9<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_to: display={}, ruri={<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:102@sip2.xxxxx.eu.org">sip:102@sip2.xxxxx.eu.org</a>}<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:get_hdr_field: <To> [30]; uri=[<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sip:102@sip2.xxxxx.eu.org"><a class="moz-txt-link-abbreviated" href="mailto:sip:102@sip2.xxxxx.eu.org">sip:102@sip2.xxxxx.eu.org</a></a>]
<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:get_hdr_field: to body [<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:102@sip2.xxxxx.eu.org#015#012">sip:102@sip2.xxxxx.eu.org#015#012</a>]<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:get_hdr_field: cseq <CSeq>: <30>
<REGISTER><br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:maxfwd:is_maxfwd_present: value = 70 <br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:uri:has_totag: no totag<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=78<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:t_lookup_request: start searching: hash=920, isACK=0<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:matching_3261: RFC3261 transaction matching failed<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:t_lookup_request: no transaction found<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=200<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:get_hdr_field: found end of header<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:rr:find_first_route: No Route headers found<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:rr:loose_route: There is no Route HF<br>
<font color="#ff0000">Jan 23 01:09:52 ali
/opt/opensips/sbin/opensips[30344]: DBG:core:grep_sock_info:
checking if host==us: 20==13 && [sip2.xxxxx.eu.org]
== [192.168.29.57]<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5060<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if host==us: 20==7
&& [sip2.xxxxx.eu.org] == [9.9.9.9]<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5060<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if host==us: 20==13
&& [sip2.xxxxx.eu.org] == [192.168.29.57]<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5060<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if host==us: 20==7
&& [sip2.xxxxx.eu.org] == [9.9.9.9]<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5060</font><br>
<font color="#3366ff">Jan 23 01:09:52 ali
/opt/opensips/sbin/opensips[30344]: DBG:core:check_self: host
!= me</font><br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=ffffffffffffffff<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:t_newtran: transaction on entrance=(nil)<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=ffffffffffffffff<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:parse_headers: flags=78<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:t_lookup_request: start searching: hash=920, isACK=0<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:matching_3261: RFC3261 transaction matching failed<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:t_lookup_request: no transaction found<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:run_reqin_callbacks: trans=0x7f68f3afd860, callback type
1, id 1 entered<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:tm:run_reqin_callbacks: trans=0x7f68f3afd860, callback type
1, id 0 entered<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:mk_proxy: doing DNS lookup...<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:sip_resolvehost: no port, no proto -> do NAPTR
lookup!<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:get_record: lookup(sip2.xxxxx.eu.org, 35) failed<br>
Jan 23 01:09:52 ali /opt/opensips/sbin/opensips[30344]:
DBG:core:sip_resolvehost: no valid NAPTR record found for
sip2.xxxxx.eu.org, trying direct SRV lookup...<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>