Dear All,<br><br>I'm using the Opensips 1.6.1 on a CentOS 5.2, and Opensips is crashing when the script call the uac_replace_to function, follow the piece of script bellow [1], and the logs [2].<br><br>[1] ---------------------------------<br>
route[ROUTE] {
<br> xlog("L_INFO", "Route: $rm ruri:[$ru] from:[$fu] to:[$tu] sourceip:[$si] callid:[$ci]\n");
<br> <br> #check number portability
<br> if (alias_db_lookup("dbaliases", "d")) {
<br> xlog("L_INFO", "Route: destination is a ported number: $rm ruri:[$ru] from:[$fu] to:[$tu] sourceip:[$si] callid:[$ci]\n");<br> uac_replace_to("$ru");
<br> }<br><br>[2] ---------------------------------<br>Dec 28 13:34:02 localhost opensips[7004]: RouteAuthenticate: INVITE bypassed the auth. Using allow_trusted. INVITE ruri:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] from:[<a href="mailto:sip%3A1135880188@192.168.191.169">sip:1135880188@192.168.191.169</a>] to:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] sourceip:[192.168.191.85] callid:[Udf20i5wMLHHJB6e5RDMxmmyfs1eQzWC] <br>
Dec 28 13:34:02 localhost opensips[7004]: RouteRequests: INVITE ruri:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] from:[<a href="mailto:sip%3A1135880188@192.168.191.169">sip:1135880188@192.168.191.169</a>] to:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] sourceip:[192.168.191.85] callid:[Udf20i5wMLHHJB6e5RDMxmmyfs1eQzWC] <br>
Dec 28 13:34:02 localhost opensips[7004]: Route: INVITE ruri:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] from:[<a href="mailto:sip%3A1135880188@192.168.191.169">sip:1135880188@192.168.191.169</a>] to:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] sourceip:[192.168.191.85] callid:[Udf20i5wMLHHJB6e5RDMxmmyfs1eQzWC] <br>
Dec 28 13:34:02 localhost opensips[7004]: Route: destination is a ported number. INVITE ruri:[<a href="mailto:sip%3A060151175257543@192.168.191.169">sip:060151175257543@192.168.191.169</a>] from:[<a href="mailto:sip%3A1135880188@192.168.191.169">sip:1135880188@192.168.191.169</a>] to:[<a href="mailto:sip%3A1175257543@192.168.191.169">sip:1175257543@192.168.191.169</a>] sourceip:[192.168.191.85] callid:[Udf20i5wMLHHJB6e5RDMxmmyfs1eQzWC] <br>
Dec 28 13:34:03 localhost opensips[6992]: INFO:core:handle_sigs: child process 7004 exited by a signal 11 <br>Dec 28 13:34:03 localhost opensips[6992]: INFO:core:handle_sigs: core was generated <br>Dec 28 13:34:03 localhost opensips[6992]: INFO:core:handle_sigs: terminating due to SIGCHLD <br>
Dec 28 13:34:03 localhost opensips[7015]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7016]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7005]: INFO:core:sig_usr: signal 15 received <br>
Dec 28 13:34:03 localhost opensips[7014]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7002]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7010]: INFO:core:sig_usr: signal 15 received <br>
Dec 28 13:34:03 localhost opensips[7001]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7003]: INFO:core:sig_usr: signal 15 received <br>Dec 28 13:34:03 localhost opensips[7000]: INFO:core:sig_usr: signal 15 received <br>
Dec 28 13:34:03 localhost opensips[6998]: INFO:core:sig_usr: signal 15 received <br><br>Does anybody has some clue?<br><br>Best regards,<br><br clear="all">Antonio Anderson M. Souza<br>Voice Technology<br><a href="http://www.antonioams.com">http://www.antonioams.com</a><br>