Project

General

Profile

« Previous | Next » 

Revision 66f2dd0e

Added by Ermal Luçi almost 16 years ago

Second pass at updateing protocol definitions.

View differences:

usr/local/share/protocols/sip.pat
1
# SIP - Session Initiation Protocol - Internet telephony - RFC 3261
2
# Pattern attributes: ok fast fast
1
# SIP - Session Initiation Protocol - Internet telephony - RFC 3261, 3265, etc.
2
# Pattern attributes: good fast fast
3 3
# Protocol groups: voip ietf_proposed_standard
4 4
# Wiki: http://www.protocolinfo.org/wiki/SIP
5
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
5 6
#
6
# This pattern has been tested with the Ubiquity SIP user agent.
7
#
8
# Thanks to Ankit Desai for this pattern.
7
# This pattern has been tested with the Ubiquity SIP user agent and has been
8
# confirmed by at least one other user.
9
# 
10
# Thanks to Ankit Desai for this pattern.  Updated by tehseen sagar.
9 11
#
10 12
# SIP typically uses port 5060.
11 13
#
......
15 17

  
16 18
#Request-Line  =  Method SP Request-URI SP SIP-Version CRLF
17 19
sip
18
^(invite|register|cancel) sip[\x09-\x0d -~]*sip/[0-2]\.[0-9]
20
^(invite|register|cancel|message|subscribe|notify) sip[\x09-\x0d -~]*sip/[0-2]\.[0-9]

Also available in: Unified diff