<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Aqs,<br>
<br>
Thank you for your report. We managed to reproduce the crash, let
us work on a fix and we will update you.<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>
OpenSIPS Summit 2018
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
<div class="moz-cite-prefix">On 01/11/2018 03:26 PM, Aqs Younas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGVOjVWuiF40=jmOHLZT2--BOY0tFtiTJhgUL7+zfRH7d5tN=A@mail.gmail.com">
<div dir="ltr">Greetings List.
<div><br>
</div>
<div>I am trying to use latest opensips 2.3.2 which comes with
some new exciting modules. I am doing the conversion of SIP to
SIP-I using mod_sip-i and following Razvan presentation
snippet.</div>
<div><br>
</div>
<div><a
href="http://www.opensips.org/pub/events/2017-05-02_OpenSIPS-Summit_Amsterdam/Razvan_Crainea-OpenSIPS_Summit2017-From_SIPI_Trunks_to_End_Users.pdf"
moz-do-not-send="true">http://www.opensips.org/pub/events/2017-05-02_OpenSIPS-Summit_Amsterdam/Razvan_Crainea-OpenSIPS_Summit2017-From_SIPI_Trunks_to_End_Users.pdf</a><br>
</div>
<div><br>
</div>
<div>But I see opensips being crashed with following logs. <br>
<br>
<br>
<br>
<div>[root@gridtele-ug-vpn sbin]# Jan 11 13:23:13
gridtele-ug-vpn ./opensips[27340]:
<a class="moz-txt-link-freetext" href="INFO:sip_i:init_iam_default">INFO:sip_i:init_iam_default</a>: Unable to map Called Party
Number from SIP by default</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27340]: new
branch at <a
href="http://sip:+256723000054@155.255.4.20:5060"
moz-do-not-send="true">sip:+256723000054@155.255.4.20:5060</a>
for INVITE with v=0#015#012o=- 428433519 428433519 IN IP4
192.0.2.1#015#012s=VoipSIP#015#012c=IN IP4
174.37.76.117#015#012t=0 0#015#012m=audio 43820 RTP/AVP 0 8
101#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8
PCMA/8000#015#012a=rtpmap:101
telephone-event/8000#015#012a=fmtp:101
0-16#015#012a=sendrecv#015#012</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27340]: NOA
is: international</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27340]: CpN
is: 0256723000054</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27340]: nature
of conn: 0x10</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27340]:
ordinary</div>
<div>Jan 11 13:23:13 gridtele-ug-vpn ./opensips[27344]:
incoming reply 100</div>
<div>Jan 11 13:23:17 gridtele-ug-vpn ./opensips[27344]:
incoming reply 180</div>
<div>Jan 11 13:23:26 gridtele-ug-vpn ./opensips[27344]:
incoming reply 200</div>
<div>Jan 11 13:23:26 gridtele-ug-vpn ./opensips[27344]: ACC:
transaction answered:
<a class="moz-txt-link-abbreviated" href="mailto:timestamp=1515677006;method=INVITE;from_tag=2301a5a63a9af2e00f1c3aebe4a0da3a;to_tag=Vhbegj66ej3BeUg5;call_id=gJsfZ9uMEv@178.255.40.113-b2b_1;code=200;reason=OK">timestamp=1515677006;method=INVITE;from_tag=2301a5a63a9af2e00f1c3aebe4a0da3a;to_tag=Vhbegj66ej3BeUg5;call_id=gJsfZ9uMEv@178.255.40.113-b2b_1;code=200;reason=OK</a></div>
<div>Jan 11 13:23:26 gridtele-ug-vpn ./opensips[27340]: Has
received ACK now relaying</div>
<div>Jan 11 13:23:31 gridtele-ug-vpn ./opensips[27340]: Has
received BYE now relaying</div>
<div>Jan 11 13:23:31 gridtele-ug-vpn ./opensips[27340]:
CRITICAL:core:build_req_buf_from_sip_req: #012>>>
len mistmatch : calculated 828, written 861#012#012It seems
you have hit a programming bug.#012Please help us make
OpenSIPS better by reporting it at <a
href="https://github.com/OpenSIPS/opensips/issues#012"
moz-do-not-send="true">https://github.com/OpenSIPS/opensips/issues#012</a></div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27354]:
CRITICAL:core:receive_fd: EOF on 26</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27333]:
<a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: child process 27340 exited by a
signal 6</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27333]:
<a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: core was generated</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27333]:
<a class="moz-txt-link-freetext" href="INFO:core:handle_sigs">INFO:core:handle_sigs</a>: terminating due to SIGCHLD</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27353]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27352]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27351]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27350]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27349]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27348]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27347]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27346]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27345]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27344]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27343]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27338]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27339]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27342]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27337]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27341]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27335]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27334]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27336]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27354]:
<a class="moz-txt-link-freetext" href="INFO:core:sig_usr">INFO:core:sig_usr</a>: signal 15 received</div>
<div>Jan 11 13:23:32 gridtele-ug-vpn ./opensips[27333]:
<a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup<br>
<br>
<br>
<br>
In-dialog requet part <br>
<br>
<div> if (has_totag()) {</div>
<div> # sequential requests within a dialog
should</div>
<div> # take the path determined by
record-routing</div>
<div> if (loose_route()) {</div>
<div> xlog("Has received $rm now
relaying");</div>
<div> if (is_method("BYE")) {</div>
<div>
add_isup_part("Release");</div>
<div>
$isup_param(Cause indicators|Location) = 10;</div>
<div>
$isup_param(Cause indicators|Cause value) = 16;</div>
<div> route(relay);</div>
<div> }</div>
<div> t_relay();</div>
<div><br>
</div>
<div> } else {</div>
<div><br>
</div>
<div> if ( is_method("ACK") ) {</div>
<div> if ( t_check_trans() )
{</div>
<div> # non
loose-route, but stateful ACK; must be an ACK after</div>
<div> # a 487 or e.g.
404 from upstream server</div>
<div> t_relay();</div>
<div> exit;</div>
<div> } else {</div>
<div> # ACK without
matching transaction -></div>
<div> # ignore and
discard</div>
<div> exit;</div>
<div> }</div>
<div> }</div>
<div> sl_send_reply("404","Not
here");</div>
<div> }</div>
<div> exit;</div>
<div> }</div>
</div>
<div><br>
</div>
</div>
<div>Please let me know if any further information is required.
Thanks. </div>
</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>