Forum Moderators: phranque
I have a problem with my Cisco 7960 Phone. It sends a request with a wrong header to my apache server. Unfortunately I cant get the phone to send a correct header, so I want to tell my apache to ignore the wrong part instead of sending a "bad request" bessage. The problem is as follows:
Accept-Charset:
...
...
...
x-CiscoIPPhoneModelName: CP-7960
x-CiscoIPPhoneSDKVersion: 4.0.1
x-CiscoIPPhoneDisplay: 133,65,2,G
The hex-values between "Accept-Charset:" and "x-CiscoIPPhone..." are: 20 0a 01 01 02 0a 01 01 02 0a 01 01 01 0d 0a. I tried to replace it with mod_headers but this failed.
Does anybody know how I can ignore/replace the above bytes?
Regards,
Stefan
Welcome to WebmasterWorld!
Apache mod_headers changes response headers sent by your server, not request headers sent by the client. If the client makes an invalid request, then the server will reject it before entering the API phase. So basically, the solution for this is probably going to involve contacting Cisco and getting a firmware patch.
Jim
thanks for the answer. Unfortunately you need a service-contract to ask Cisco for any patches. And Cisco recommends to use their CallManager with the IIS, probably IIS dont have problems with the incorrect requests. I've tested Jigsaw. It dont have any problems with this requests, but I want to the Apache server :-(
Regards,
Stefan