<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Mario,<br>
<br>
As a way about from such situation, I just added a new script
function get_updated_body_part() [1] that allows you to fetch the
body, with all the existing changes, into a variable, so you can
pass it further to rtpengine <br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.3.x/sipmsgops.html#func_get_updated_body_part">https://opensips.org/html/docs/modules/3.3.x/sipmsgops.html#func_get_updated_body_part</a><br>
<br>
Best regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div class="moz-cite-prefix">On 10/22/21 6:26 AM, Mario San Vicente
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+B81WJffT3-zWUcTYDW0RahuvH3f596d_Z42b0RtdXxoPv40w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello Bogdan-Andrei,
<div><br>
</div>
<div>I ran some traffic without rtpengine and with the codec
operations, i did not got any core files. I will take care of
not combining those commands.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks and regards.</div>
<div>Mario</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 21, 2021 at 7:26
AM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi Mario,<br>
<br>
So you do both rtpengine ops and codecs ops in your cfg.
This is a bit of a receipt for disaster (as both are
independently changing the SDP), still not for a crash.<br>
<br>
Could you try to run both codec ops, but without
rtpengine, just to see if ok ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank" moz-do-not-send="true">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div>On 10/19/21 7:20 PM, Mario San Vicente wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello Bogdan-Andrei,
<div><br>
</div>
<div>I removed the following lines and it is working
fine now. Not sure if the issue was one or the
combination of those 2 lines that made opensips crash.</div>
<div><br>
</div>
<div> #codec_delete_re("PCMA|PCMU");<br>
#codec_delete_except_re("speex");<br>
</div>
<div><br>
</div>
<div>The reason for using those lines was that opensips
was doing transcoding and after a while it stops doing
the transcode, it just was bypassing the original
codec offer. This is also solved, the problem is
that the rtpengine_offer was not closing properly and
then i ran out of ports. The solution was to
add rtpengine_delete(); at the failure route.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank you all for your help!</div>
<div><br>
</div>
<div>Regards.</div>
<div>Mario</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Oct 19, 2021
at 2:01 AM Bogdan-Andrei Iancu <<a
href="mailto:bogdan@opensips.org" target="_blank"
moz-do-not-send="true">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi Mario,<br>
<br>
What is the codec relate operation you do from the
script? As it looks it is crashing there.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank" moz-do-not-send="true">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div>On 10/19/21 12:15 AM, Mario San Vicente wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thank you Giovany .
<div><br>
</div>
<div>I got some info, but I'm not sure how to
proceed.... Looks like an issue assigning
core vars.. Here the whole info in a txt
file.</div>
<div><br>
</div>
<div><br>
</div>
<div>{rs = {s = 0x6dc2d4a3fa5df100 <error:
Cannot access memory at address
0x6dc2d4a3fa5df100>,<br>
</div>
<div>sval = {s = 0x100000002 <error: Cannot
access memory at address 0x100000002>, len
= -1510612476}<br>
</div>
<div><br>
</div>
<div>Thank your comments.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Oct
18, 2021 at 12:39 PM Giovanni Maruzzelli <<a
href="mailto:gmaruzz@gmail.com"
target="_blank" moz-do-not-send="true">gmaruzz@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">On Mon, Oct 18, 2021 at 7:01
PM Mario San Vicente <<a
href="mailto:mrsanvicente@gmail.com"
target="_blank" moz-do-not-send="true">mrsanvicente@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hello Ovidiu,<br>
<div><br>
</div>
<div>That works for getting the core
files. Then i run the command bt
full and got the following:</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>You must install the opensips-dbg
debian package, it contains the symbols,
then restart opensips, then retake the
core and you'll see info in it.</div>
<div><br>
</div>
<div>-giovanni</div>
<div><br>
</div>
</div>
-- <br>
<div dir="ltr">Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
OpenTelecom.IT<br>
cell: +39 347 266 56 18<br>
<br>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Mario San Vicente</div>
<div>Cheers!</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>Mario San Vicente</div>
<div>Cheers!</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div>Mario San Vicente</div>
<div>Cheers!</div>
</div>
</blockquote>
<br>
</body>
</html>