This looks a bit strange, because all headers are seen to be corupted.
But they look ok. There is not rocket science with the Max-Forwards header.
Do you get these mesages for all REGISTERs or just for certain cases.
Could you print the message buffer with xlog $mb - that should show what
OpenSER sees as SIP message.
Cheers,
Daniel
On 08/09/06 16:26, Lars Sundqvist wrote:
Hi everyone,
We have been having a problem with our openser installation for a while,
certain REGISTER requests generates errors.
The openser version we are running is 1.0.0 from cvs.
Does anyone have a clue why the following register generates the error
below?
Register:
xxx.xxx.xx.xx:5061 -> yyy.yyy.yyy.yyy:5060
REGISTER sip:sip.xxxxx.xxx SIP/2.0..Via: SIP/2.0/UDP
xxx.xxx.xx.xx:5061;branch=z9hG4bK-39f541a2..From: aaaa.bbbbb <sip:
username123(a)sip.xxxxx.xxx>;tag=ea
8cef4b108a99bco1..To: aaaa.bbbbb <sip:
username123@sip.xxxxx.xxx>..Call-ID:
b96fead3-f03493d4@xxx.xxx.xx.xx..CSeq: 2508 REGISTER..Max-Forwards:
70..Conta
ct: aaaa.bbbbb <sip:
username123@xxx.xxx.xx.xx:5061>;expires=3600..User-Agent:
Linksys/RT31P2-2.0.10(LIc)..Content-Length: 0..Allow: ACK, BYE,
CANCEL, IN
FO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura....
Error:
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR:parse_from_header: bad from header
/sbin/openser[18198]: xl_get_from: ERROR cannot parse FROM header
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: xl_get_to: ERROR cannot parse TO header
/sbin/openser[18198]: [REGISTER] from [<null>] to [<null>]
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR:maxfwd:is_maxfwd_present : parsing
MAX_FORWARD header failed!
/sbin/openser[18198]: ERROR:parse_from_header: bad from header
/sbin/openser[18198]: insert_RR(): From parsing failed
/sbin/openser[18198]: record_route(): Error while inserting Record-Route
line
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: find_first_route: Error while parsing headers
/sbin/openser[18198]: analyzing REGISTER request
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: find_credentials(): Error while parsing headers
/sbin/openser[18198]: pre_auth(): Error while looking for credentials
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: get_hdr_field: bad to header
/sbin/openser[18198]: ERROR: bad header field
/sbin/openser[18198]: ERROR: build_res_buf_from_sip_req: alas,
parse_headers failed
/sbin/openser[18198]: pre_auth(): Error while sending 400 reply
Many thanks,
Lars Sundqvist
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users