Forums Read-only archive

Change Server: field in SIP Header

6 posts · Brekeke SIP Server Forum

dkalwitzki Original post
1. Brekeke Product Name and version:
2.3.7.4/286
2. Java version:
1.5.0_20
3. OS type and the version:
Windows Server 2008
4. UA (phone), gateway or other hardware/software involved:
OCS 2007 R2; Opencom 1200
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
LAN1
6. Your problem:
I try to use the SIP Proxy to connect our PBX to the OCS.
THe Problem seems to be that the OCS will not accept our PBX server name in the SIP Invite.
Is there a way to change the Server in the SIP Header?
I tried Server=<value> and it is shown in green in the web interface, but in the SIP Header nothing changes.
tuie2
Hi

>> THe Problem seems to be that the OCS will not accept our PBX
>> server name in the SIP Invite.

I don't think so. I think there is another reason..
What kind of PBX are you using?


>> Is there a way to change the Server in the SIP Header?

The changing of "Server" header is available in the Advanced Edition only.
dkalwitzki
It is a Detewe OpenCom 1200 and the error is from the debug log of the mediation server. There is written that the letter / is not allowed in the server field.

Best Regards
Daniel
tuie2
Hi
Post the "Server" header value here.

Can you use Brekeke PBX instead of Brekeke SIP server?
Because it is a B2B-UA... The Server header will be replaced.
dkalwitzki
Server: Aastra OpenCom1000/TXL5028/csip2.1

Mediation Server debug log:
Start-Line: Exception on read header values: Reason=BadHeader
Microsoft.Rtc.Signaling.MessageParsingException: The header parsing failed. This can be caused by a non ASCII, CR, or LF character in the name or value or if format does not conform to the grammar. ---> Microsoft.Rtc.Internal.Sip.SipException: Invalid Server header: mismatched token found: /


For sure I could use the PBX, but it is more a licensing issue. I just want to use the Software as SIP/udp to Sip/tcp proxy with the lowest license...
tuie2
Hi

Is it the Server header in the INVITE request?
or.. is it the Server header in the "200 OK" response?

I could change "Server" header in my Brekeke SIP Server.
Try "Server = test" at the DeployPattern in DialPlan again..