<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Nitesh,<br>
<br>
Happy Tuesday !<br>
<br>
The Server setting in OpenSIPS impacts only the SIP messages
generated by OpenSIPS itself (while acting as Server), it does not
impact the SIP messages that are "proxy"ed by OpenSIPS - like the
180 reply you mentioned.<br>
<br>
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 Bootcamp 5-16 Dec 2022, online
<a class="moz-txt-link-freetext" href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div class="moz-cite-prefix">On 11/4/22 5:02 PM, Nitesh Divecha
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJbqcDMF9Huvfb-q9EDT6tATnspcVT=3WrM7nkQwqi5MkY=VWQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello All,<br>
<div><br>
</div>
<div>Happy Friday!</div>
<div><br>
</div>
<div>So while checking something I noticed that my "Server
Header" is getting overwritten on 180 Ringing. </div>
<div><br>
</div>
<div>I have the default server header defined on
top, server_header="Server: Engineering Test". It shows fine
on "100 Giving it a try" but it gets overwritten on "180
Ringing". </div>
<div><br>
</div>
<div>Example, PSTN --> OpenSIPS --> ATA.</div>
<div>- When the call comes in via the PSTN network, OpenSIPS
replies back with "100 Giving it a try" to PSTN and sends
"INVITE (SDP)" to registered ATA. On the reply back to PSTN it
shows "Server: Engineering Test".</div>
<div><br>
</div>
<div>- ATA replies back with "100 Trying" and "180 Ringing" to
OpenSIPS. The reply back from ATA on "180 Ringing" shows
Server: OBIHAI/OBi302-3.2.5.8732 which over writes the default
server_header=.</div>
<div><br>
</div>
<div>- When OpenSIPS replies back to PSTN with "180 Ringing", it
shows Server: OBIHAI/OBi302-3.2.5.8732.</div>
<div><br>
</div>
<div>Any insights on how I can prevent this from happening? I
want to keep the default server header going out on the PSTN
network. </div>
<div><br>
</div>
<div>Thank you in advance...</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nitesh</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>