<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Schneur,<br>
<br>
A failing ACK may indicate the problem with sequential routing
-> in the route set opensips puts the real/advertise IP....basically
an IP.<br>
<br>
While in domain table you usually put FQDN / domains. Of course,
you could put the advertised IP in the domain table. It will do
the trick but it will be a kind of misusage (you use a tool for
SIP routing to fix some IP routing issue).<br>
<br>
This is why I recommend to use the alias global param in
combination with the advertised address.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 25.01.2016 15:03, Schneur Rosenberg
wrote:<br>
</div>
<blockquote
cite="mid:CANvjR0V8TPpCEZ+44p15PQf+DdmSXYsLUGvHtciy2JVSRzo0ew@mail.gmail.com"
type="cite">
<div dir="ltr">I'm having similar issue for some ACK messages, but
I was wondering how come OpenSIPS does not check the domain
table to know that this is a known domain and it should check
upon those addresses?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Jan 25, 2016 at 1:18 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Michael,<br>
<br>
Actually there is simpler solution, if you want to keep
your listener with the IP. Just add:<br>
alias="<a moz-do-not-send="true"
href="http://yourdomain.com" target="_blank">yourdomain.com</a>"<br>
<br>
So, even OpenSIPS is listening on IP x.y.z.w, it will
know it is responsible for handling traffic for the <a
moz-do-not-send="true" href="http://yourdomain.com"
target="_blank">yourdomain.com</a> SIP domain.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 23.01.2016 11:50, MichaelLeung wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5"> i fix the problem myself <br>
<br>
just add your domain name to opensips.cfg<br>
like:<br>
listen:udp:<a moz-do-not-send="true"
href="http://yourdoamdin.com:5060" target="_blank">yourdoamdin.com:5060</a><br>
<br>
<br>
<div>On 01/23/2016 02:59 PM, MichaelLeung wrote:<br>
</div>
<blockquote type="cite"> any reply ?<br>
<br>
<div>On 01/23/2016 01:17 AM, MichaelLeung wrote:<br>
</div>
<blockquote type="cite"> <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:<a
moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>><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"
href="mailto:sip:102@sip2.xxxxx.eu.org"
target="_blank"><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> [30]; uri=[<a
moz-do-not-send="true"
href="mailto:sip:102@sip2.xxxxx.eu.org"
target="_blank"><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"
href="mailto:sip:102@sip2.xxxxx.eu.org#015%23012"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:sip:102@sip2.xxxxx.eu.org#015#012">sip:102@sip2.xxxxx.eu.org#015#012</a></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 && [<a moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>] ==
[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 && [<a moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>] ==
[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 && [<a moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>] ==
[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 && [<a moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>] ==
[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(<a
moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>, 35)
failed<br>
Jan 23 01:09:52 ali
/opt/opensips/sbin/opensips[30344]:
DBG:core:sip_resolvehost: no valid NAPTR record
found for <a moz-do-not-send="true"
href="http://sip2.xxxxx.eu.org"
target="_blank">sip2.xxxxx.eu.org</a>, trying
direct SRV lookup...<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>