<div dir="ltr">Hi,<div><br></div><div>Had a quick look at the change_reply_status() function and I'm a bit unsure as it suitability for what I am wanting to do.</div><div><br></div><div>Our setup has opensips sitting between our system and a SIP provider. The 183 is coming from SIP provider and I would like to convert this to 180 before passing it on to our system.</div><div><br></div><div>The documentation for change_reply_status() suggest it is used to "Intercept a SIP reply". I am not looking to change a 'reply' to the SIP provider, or to our system. I want to convert the 183 message from the SIP provider and pass it on as 180 to our system.</div><div><br></div><div>Will this
change_reply_status() function allow us to do that?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Oct 2019 at 14:23, solarmon <<a href="mailto:solarmon@one-n.co.uk">solarmon@one-n.co.uk</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">Hi,<div><br></div><div>Thanks. I forgot to say that I'm using openSIPS 2.4.x, but the same function is available for it too:</div><div><br></div><div><a href="https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#change_reply_status" target="_blank">https://opensips.org/html/docs/modules/2.4.x/sipmsgops.html#change_reply_status</a> </div><div><br></div><div>Thanks for the tip!</div><div> <br></div></div><div id="gmail-m_-6109930205533376420DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:rgb(68,83,234)" target="_blank">www.avg.com</a>
</td>
</tr>
</tbody></table><a href="#m_-6109930205533376420_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Oct 2019 at 14:00, Ben Newlin <<a href="mailto:Ben.Newlin@genesys.com" target="_blank">Ben.Newlin@genesys.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 lang="EN-US">
<div>
<p class="MsoNormal">I think you are looking for this: <a href="https://opensips.org/html/docs/modules/3.0.x/sipmsgops.html#change_reply_status" target="_blank">
https://opensips.org/html/docs/modules/3.0.x/sipmsgops.html#change_reply_status</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="color:black">Ben Newlin </span><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of solarmon <<a href="mailto:solarmon@one-n.co.uk" target="_blank">solarmon@one-n.co.uk</a>><br>
<b>Reply-To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Date: </b>Monday, October 7, 2019 at 5:15 AM<br>
<b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject: </b>[OpenSIPS-Users] Convert 183 to 180?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hi, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Our system connected to openSIPS is not handling 183 (with and without SDP) very well and is non-trivial for us to try to change the behavior. If we receive an initial 183 without SDP, it does not processed a subsequent 183 with SDP.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We would like to explore how 183 (with and without SDP) can be converted to 180 (with and without SDP) see if this can resolve our issues. Can this be achieved and are there any examples of how this could be done?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you in advance for any help.<u></u><u></u></p>
</div>
</div>
<div id="gmail-m_-6109930205533376420gmail-m_2423867242150397947DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<p class="MsoNormal"><u></u> <u></u></p>
<table border="1" cellpadding="0" style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(211,212,222)">
<tbody>
<tr>
<td width="55" style="width:41.25pt;border:none;padding:9.75pt 0.75pt 0.75pt">
<p class="MsoNormal"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><span style="color:windowtext;text-decoration:none"><span style="color:blue;border:1pt solid windowtext;padding:0in"><img border="0" width="46" height="29" style="width: 0.4791in; height: 0.302in;" id="gmail-m_-6109930205533376420gmail-m_2423867242150397947_x0000_i1025" alt="Image removed by sender."></span></span></a><u></u><u></u></p>
</td>
<td width="470" style="width:352.5pt;border:none;padding:9pt 0.75pt 0.75pt">
<p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(65,66,78)">Virus-free.
<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank">
<span style="color:rgb(68,83,234)">www.avg.com</span></a> <u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</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>
</blockquote></div>