1
# SIP - Internet telephony - RFC 3261
2
# Pattern quality: ok veryfast
4
# This pattern has been tested with the Ubiquity SIP user agent.
6
# If this pattern does not work for you, or you believe it could be
7
# improved, please post to l7-filter-developers@lists.sf.net . This
8
# list may be subscribed to at
9
# http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
11
# Thanks to Ankit Desai for this pattern.
13
# This pattern is based on SIP request format as per RFC 3261. I'm not
14
# sure about the version part. The RFC doesn't say anything about it, so
15
# I have allowed version ranging from 0.x to 2.x.
17
#Request-Line = Method SP Request-URI SP SIP-Version CRLF
19
^(invite|register|cancel) sip[\x09-\x0d -~]*sip/[0-2]\.[0-9]