|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|


Public Member Functions | |
| __init__ (self, outfile) | |
| add (self, ifp) | |
Data Fields | |
| date | |
| outfile | |
| prev_data | |
| seqno | |
| udpseqno | |
Static Public Attributes | |
| PCAP_PREAMBLE | |
Protected Member Functions | |
| _add_garbage (self, date) | |
| _add_preamble (self) | |
| _make_packet (self, ifp_data, is_ifp=True) | |
Definition at line 56 of file spandspflow2pcap.py.
| __init__ | ( | self, | |
| outfile | |||
| ) |
Definition at line 62 of file spandspflow2pcap.py.
|
protected |
Definition at line 122 of file spandspflow2pcap.py.
References FaxPcap._make_packet(), FaxPcap.date, logmsg.date, FaxPcap.outfile, FaxPcap.seqno, ast_bridge_hook_timer_parms.seqno, ast_frame.seqno, rtp_transport_wide_cc_packet_statistics.seqno, ast_rtp.seqno, and multicast_rtp.seqno.
Referenced by FaxPcap.add().
|
protected |
Definition at line 119 of file spandspflow2pcap.py.
References FaxPcap.outfile, and FaxPcap.PCAP_PREAMBLE.
Referenced by FaxPcap.add().
|
protected |
Definition at line 130 of file spandspflow2pcap.py.
References FaxPcap.date, logmsg.date, len(), FaxPcap.prev_data, FaxPcap.seqno, ast_bridge_hook_timer_parms.seqno, ast_frame.seqno, rtp_transport_wide_cc_packet_statistics.seqno, ast_rtp.seqno, multicast_rtp.seqno, and FaxPcap.udpseqno.
Referenced by FaxPcap._add_garbage(), and FaxPcap.add().
| 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, logmsg.date, spandspflow2pcap.IFP, FaxPcap.outfile, replace(), FaxPcap.seqno, ast_bridge_hook_timer_parms.seqno, ast_frame.seqno, rtp_transport_wide_cc_packet_statistics.seqno, ast_rtp.seqno, and multicast_rtp.seqno.
Referenced by FaxPcap.add().
| date |
Definition at line 64 of file spandspflow2pcap.py.
Referenced by FaxPcap._add_garbage(), FaxPcap._make_packet(), and FaxPcap.add().
| outfile |
Definition at line 63 of file spandspflow2pcap.py.
Referenced by FaxPcap._add_garbage(), FaxPcap._add_preamble(), and FaxPcap.add().
|
static |
Definition at line 57 of file spandspflow2pcap.py.
Referenced by FaxPcap._add_preamble().
| prev_data |
Definition at line 67 of file spandspflow2pcap.py.
Referenced by FaxPcap._make_packet().
| seqno |
Definition at line 65 of file spandspflow2pcap.py.
Referenced by FaxPcap._add_garbage(), FaxPcap._make_packet(), and FaxPcap.add().
| udpseqno |
Definition at line 66 of file spandspflow2pcap.py.
Referenced by FaxPcap._make_packet().