Hi guys,

We are using openSIPS for edge proxy and one of our client is sending wrong 
user-agent which is not compliant with RFC.
This is the username which is being passed -
Asterisk PBX 1.8.23.0-1_centos5.go RPM by dem...@goautodial.com\r\n

Where @ is not allowed in user-agent header. We are using this function in 
openSIPS to validate SIP headers but this function not seems to be working and 
not rejecting that INVITE.
if (!sipmsg_validate("shrftc")){
  send_reply("400","Bad request/body");
  exit;
}

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

Reply via email to