<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>I'm running
OpenSIPS from the opensips_1_4 trunk on SVN (downloaded last week). It
seems that about 50% of the time an SRV lookup causes OpenSIPS to exit signal
11:</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008>DBG:core:sip_resolvehost: no valid NAPTR record found
for ns.onvoip.net, trying direct SRV lookup... <BR>INFO:core:handle_sigs: child
process 19363 exited by a signal 11 <BR></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>When it does not
fail, this section of the log looks
like:</SPAN></FONT></SPAN></FONT></DIV></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008>DBG:core:sip_resolvehost: no valid NAPTR record found
for ns.onvoip.net, trying direct SRV lookup... <BR>DBG:core:do_srv_lookup:
SRV(_sip._udp.ns.onvoip.net) = ns3.onvoip.net:5060 <BR>DBG:core:a2dns_node:
storing ns4.onvoip.net:5060 <BR>DBG:core:a2dns_node: storing ns1.onvoip.net:5060
<BR>DBG:core:a2dns_node: storing ns2.onvoip.net:5060 <BR></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>Everything prior to
this in the logs is identical between the successful and failed
transactions. Even at debug = 9.</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>The location table
has the following information on the user:</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008><FONT
face=Courier> id:
6<BR> groupid: 0<BR>
username: 3032391067<BR> domain:
<BR> contact:
sip:3032391067@ns.onvoip.net<BR> received:
NULL<BR> path:
NULL<BR> expires: 2020-05-28
21:32:15<BR>
q: 1.00<BR> callid:
Default-Call-ID<BR> cseq:
13<BR>last_modified: 2008-04-22
16:25:11<BR> flags:
0<BR> cflags: 0<BR> user_agent:
<BR> socket:
NULL<BR> methods:
NULL</FONT><BR></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>I manually inserted
this into the database. It did not come from a
registration.</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>The route logic is
quite simple. I have:</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008> if
(!lookup("location")) {</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008> #
Stuff that doesn't matter because the lookup was successful in this
case</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=750032316-14102008></SPAN></FONT><FONT
face=Courier size=2><SPAN
class=750032316-14102008>
}<BR>
t_on_reply("1");<BR>
t_on_failure("1");<BR> if
(!isflagset(26))
{<BR>
$(avp(s:acc_callee_user)) =
$rU;<BR>
avp_printf("$(avp(i:901))",
"$(avp(s:acc_caller_user))");<BR>
avp_printf("$(avp(i:902))",
"$(avp(s:acc_callee_user))");<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008>
if(is_present_hf("Proxy-Authorization")) { remove_hf("Proxy-Authorization");
}</SPAN></FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier size=2><SPAN
class=750032316-14102008>
xlog("L_INFO", "-- About to
relay...\n");<BR> if(!t_relay("0x01"))
{<BR>
sl_reply_error();<BR>
}<BR> exit;<BR></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN class=750032316-14102008>Very similar code
works okay on OpenSER 1.3.2. On OpenSIPS 1.4.x it does not seem
stable. I don't know how to determine what's causing it to exit. Any
thoughts?</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008>Jeff</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008> </DIV></SPAN></FONT>
<DIV><FONT face=Tahoma size=2><SPAN
class=750032316-14102008> </DIV></SPAN></FONT></BODY></HTML>