Asterisk - The Open Source Telephony Project
18.5.0
|
Public Member Functions | |
def | __init__ (self, outfile) |
def | add (self, ifp) |
Data Fields | |
date | |
outfile | |
prev_data | |
seqno | |
udpseqno | |
Static Public Attributes | |
PCAP_PREAMBLE | |
Definition at line 56 of file spandspflow2pcap.py.
def __init__ | ( | self, | |
outfile | |||
) |
Definition at line 62 of file spandspflow2pcap.py.
def add | ( | self, | |
ifp | |||
) |
Add the IFP packet. T.38 basic format of UDPTL payload section with redundancy: UDPTL_SEQNO - 2 sequence number (big endian) UDPTL_PRIMARY_PAYLOAD (T30?) - 1 subpacket length (excluding this byte) - 1 type of message (e.g. 0xd0 for data(?)) - 1 items in data field (e.g. 0x01) - 2 length of data (big endian) - N data RECOVERY (optional) - 2 count of previous seqno packets (big endian) - N UDPTL_PRIMARY_PAYLOAD of (seqno-1) - N UDPTL_PRIMARY_PAYLOAD of (seqno-2) - ...
Definition at line 71 of file spandspflow2pcap.py.
References FaxPcap._add_garbage(), FaxPcap._add_preamble(), FaxPcap._make_packet(), FaxPcap.add(), FaxPcap.date, format, spandspflow2pcap.IFP, len(), FaxPcap.outfile, FaxPcap.PCAP_PREAMBLE, FaxPcap.prev_data, replace(), FaxPcap.seqno, mgcp_message.seqno, mgcp_response.seqno, sip_pkt.seqno, match_req_args.seqno, and FaxPcap.udpseqno.
Referenced by FaxPcap.add().
date |
Definition at line 64 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().
outfile |
Definition at line 63 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().
|
static |
Definition at line 57 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().
prev_data |
Definition at line 67 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().
seqno |
Definition at line 65 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().
udpseqno |
Definition at line 66 of file spandspflow2pcap.py.
Referenced by FaxPcap.add().