<div dir="ltr">You are not increasing CSeq for subsequent PRACK.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 19 mars 2024 à 18:58, Social Boh <<a href="mailto:social@bohboh.info">social@bohboh.info</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>Some progress</p>
<p>Now I can reply the first 183 with the PRACK response but when
the provider send a 180 ringing and I reply with another PPRACK
response the provider reply with 500 Server Internal Error</p>
<p>Annex PCAP Capture.</p>
<p>Any hint is really appreciate.</p>
<p>Regards<br>
</p>
<pre cols="72">---
I'm SoCIaL, MayBe</pre>
<div>El 15/03/2024 a las 5:35 p. m., Social
Boh escribió:<br>
</div>
<blockquote type="cite">
<p>I'm trying using directly opensips-cli via exec module to see
if all OK and then pass the data tu mi_script module</p>
<p>I think I have a sintaxis problem with the line:</p>
<p>exec("opensips-cli -x mi t_uac_dlg method=INVITE ruri=<a>"sip:alice@127.0.0.1:7050"</a>
headers="From: <a>sip:bobster@127.0.0.1:1337\r\nTo</a>:
<a>sip:alice@127.0.0.1:7050\r\nContact</a>:
<a>sip:bobster@127.0.0.1:1337\r\n</a>"")</p>
<p>I don't know how use " in the line because Headers and ruri
need them. The result is a error:</p>
<p>ERROR:core:handle_mi_request: Invalid parameters<br>
</p>
<p>Any hint, please?</p>
<p>Regards<br>
</p>
<pre cols="72">---
I'm SoCIaL, MayBe</pre>
<div>El 26/02/2024 a las 7:43 a. m.,
Bogdan-Andrei Iancu escribió:<br>
</div>
<blockquote type="cite">
<font face="monospace">yes, you can use the b2b_logic (together
with b2b_entities) for that, but it may be a too heavy tool
for the purpose. Maybe you can try to generate the PRACK from
OpenSIPS level by using the t_uac_dlg MI function [1] via the
mi_script module [2] - basically to trigger that MI cmd from
the onreply_route, when receiving the 180 reply.<br>
<br>
[1] <a href="https://opensips.org/html/docs/modules/3.4.x/tm.html#mi_t_uac_dlg" target="_blank">https://opensips.org/html/docs/modules/3.4.x/tm.html#mi_t_uac_dlg</a><br>
[2] <a href="https://opensips.org/html/docs/modules/3.4.x/mi_script.html#afunc_mi" target="_blank">https://opensips.org/html/docs/modules/3.4.x/mi_script.html#afunc_mi</a><br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 25.02.2024 14:54, Social Boh
wrote:<br>
</div>
<blockquote type="cite">
<p>I know the best way is the original caller handle and reply
the 183, but I HAVE to do this at OpenSIPs level.</p>
<p>Can I use B2B_Entities and B2B_logic to do this? Is there a
scenario to use tu parse and reply the 183?</p>
<p>Thank you <br>
</p>
<pre cols="72">---
I'm SoCIaL, MayBe</pre>
<div>El 16/02/2024 a las 11:31 a. m.,
Bogdan-Andrei Iancu escribió:<br>
</div>
<blockquote type="cite">
<font face="monospace">I agree here, the 183 must be relayed
back to the original caller (which generate the received
INVITE) and let it do the PRACK - this confirmation must
be end-2-end in the dialog.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 12.02.2024 11:36, Ihor
Olkhovskyi wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>You should relay 183 to original source (ione that
is sending INVITE) and got PRACK from there. <br>
</div>
<div>That would be the most correct way of handling this<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le lun. 12 févr. 2024
à 02:29, Social Boh <<a href="mailto:social@bohboh.info" target="_blank">social@bohboh.info</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Maybe
someone can help me.<br>
<br>
This is the scenario.<br>
<br>
OpenSIPs receive a INVITE and send it to a server that
reply with a 302 <br>
message (always)<br>
<br>
Then OpenSIPs, in the failure route, take the user
part present in the <br>
302 contact header, change the destination IP and send
with t_relay<br>
<br>
The destination reply with a 183 with Require: 100rel
header so OpenSIPs <br>
have to reply with a PRACK. This is my problem.<br>
<br>
I don't know which is the best way to handle this (the
PRACK)<br>
<br>
Thank you<br>
<br>
Regards<br>
<br>
---<br>
I'm SoCIaL, MayBe<br>
<br>
El 9/02/2024 a las 6:46 a. m., Social Boh escribió:<br>
> Hello list,<br>
><br>
> can OpenSIPs generate a PRACK message to reply a
180/183 message?<br>
><br>
> Thank you<br>
><br>
> Regards<br>
><br>
> ---<br>
> I'm SoCIaL, MayBe<br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a 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>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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>
</blockquote>
</div>
<br clear="all">
<br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Best regards,
<div>Ihor (Igor)<br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Best regards,<div>Ihor (Igor)<br></div></div></div>