User Tools

Site Tools


pom-ng:proto:sip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pom-ng:proto:sip [2015/07/06 13:02] (current)
gmsoft created
Line 1: Line 1:
 +====== Protocol sip ======
  
 +This module parses [[wp>​Session_Initiation_Protocol|SIP]] packets as defined in RFC [[rfc>​3261]] and others.
 +
 +===== Events =====
 +
 +^ Name ^ Payload associated ^ Description ^
 +|sip_req|yes|Contains all the information contained in a SIP request.|
 +|sip_rsp|yes|Contains all the information contained in a SIP response.|
 +
 +
 +==== sip_reg ====
 +This event is generated for each SIP request packet.
 +
 +^ Field ^ Type ^ Description ^
 +|method|string|Method of the request (i.e. INVITE,​BYE).|
 +|uri|string|URI of the request.|
 +
 +Additionally,​ this event has the common properties described below.
 +
 +==== sip_rsp ====
 +This event is generated for each SIP response packet
 +
 +^ Field ^ Type ^ Description ^
 +|status|uint16|Response status.|
 +|reason|string|Reason provided for the status.|
 +
 +Additionally,​ this event has the common properties described below.
 +
 +==== common properites ====
 +^ Field ^ Type ^ Description ^
 +|first_line|string|First line of the packet.|
 +|calld_id|string|Call-id used in this packet.|
 +|top_branch|string|SIP top (first seen) branch of the packet.|
 +|cseq_num|uint32|Sequence number.|
 +|cseq_method|string|Sequence method.|
 +|content_type|string|Value of the Content-Type header.|
 +|content_len|string|Value of the Content-Length header.|
 +|from_display|string|Display name in the From header.|
 +|from_uri|string|URI in the From header.|
 +|from_tag|string|Tag in the From header.|
 +|to_display|string|Display name in the To header.|
 +|to_uri|string|URI in the To header.|
 +|to_tag|string|Tag in the To header.|
 +|other_headers|string list|List of unparsed header.|
 +
 +===== Packet fields =====
 +
 +None
 +
 +===== Parameters =====
 +
 +^ Name ^ Type ^ Default value ^ Description ^
 +|udp_timeout|uint32|300|Number of seconds before timing out SIP over UDP sessions.|
pom-ng/proto/sip.txt ยท Last modified: 2015/07/06 13:02 by gmsoft