Hi Jan, More or less, the response is no.
There are mechanism to detect the parsing error (see error_route - http://www.opensips.org/Resources/DocsCoreRoutes15#toc5), but to send a reply (like the 400), you need the VIA header. In other words, the messages is so FUBAR, so you cannot even build a reply for it - VIA is one of the critical headers used in routing back replies. Regards, Bogdan Jan D. wrote: > Some of our clients use a Siemens HiPath 3000 V7.0 M5T. When I check my log > files I sometimes see this error (example): > > Aug 21 08:36:01 /usr/sbin/opensips[14928]: ERROR:core:parse_via: invalid > port number <27429branch=z9h***5ac> > > This is the part of the sip header (example): > Via: SIP/2.0/UDP 89.*.*.73:27429branch=z9h***5ac;rport > > The semicolon between portnumber and 'branch' is missing. I think this is a > bug in the HiPath software (and this has been reported) but I can not change > this at this moment. > > The question is, can I build in a check to see if a record is corrupt (or > valid) so I can sent a normal sip response (ei. 400 Bad Request)? > > Any comment / idea's are welcome. > > Jan > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
