Re: [OpenSIPS-Users] - Server Header, on 180 Ringing

2022-11-08 Thread Bogdan-Andrei Iancu

Hi Nitesh,

Happy Tuesday !

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.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 11/4/22 5:02 PM, Nitesh Divecha wrote:

Hello All,

Happy Friday!

So while checking something I noticed that my "Server Header" is 
getting overwritten on 180 Ringing.


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".


Example, PSTN --> OpenSIPS --> ATA.
- 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".


- 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=.


- When OpenSIPS replies back to PSTN with "180 Ringing", it shows 
Server: OBIHAI/OBi302-3.2.5.8732.


Any insights on how I can prevent this from happening? I want to keep 
the default server header going out on the PSTN network.


Thank you in advance...

Cheers,
Nitesh



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] - Server Header, on 180 Ringing

2022-11-04 Thread Nitesh Divecha
Hello All,

Happy Friday!

So while checking something I noticed that my "Server Header" is getting
overwritten on 180 Ringing.

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".

Example, PSTN --> OpenSIPS --> ATA.
- 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".

- 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=.

- When OpenSIPS replies back to PSTN with "180 Ringing", it shows Server:
OBIHAI/OBi302-3.2.5.8732.

Any insights on how I can prevent this from happening? I want to keep the
default server header going out on the PSTN network.

Thank you in advance...

Cheers,
Nitesh
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users