scapy.contrib.skinny

class scapy.contrib.skinny.Skinny

Bases: scapy.packet.Packet

aliastypes
fields_desc
Skinny fields

len

LEIntField

None

res

LEIntField

0

msg

LEIntEnumField

0

payload_guess

Possible sublayers: SkinnyMessageCallInfo, SkinnyMessageCallPlane, SkinnyMessageCallState, SkinnyMessageClearPromptStatus, SkinnyMessageCloseReceiveChannel, SkinnyMessageDialedNumber, SkinnyMessageGeneric, SkinnyMessageKeepAliveAck, SkinnyMessageKeepAlive, SkinnyMessageKeypadButton, SkinnyMessageOffHook, SkinnyMessageOnHook, SkinnyMessageOpenReceiveChannelAck, SkinnyMessageOpenReceiveChannel, SkinnyMessagePromptStatus, SkinnyMessageSetLamp, SkinnyMessageSetRinger, SkinnyMessageSoftKeyEvent, SkinnyMessageSpeakerMode, SkinnyMessageStartMediaTransmission, SkinnyMessageStartTone, SkinnyMessageStationSelectSoftKeysMessage, SkinnyMessageStopMultiMediaTransmission, SkinnyMessageStopTone, SkinnyMessageTimeDate

post_build(pkt, p)
class scapy.contrib.skinny.SkinnyDateTimeField(name, default)

Bases: scapy.fields.StrFixedLenField

h2i(pkt, s)
i2h(pkt, x)
i2m(pkt, val)
i2repr(pkt, x)
m2i(pkt, s)
class scapy.contrib.skinny.SkinnyFramePerPacketField(name, default)

Bases: scapy.fields.LEIntField

i2repr(pkt, x)
class scapy.contrib.skinny.SkinnyMessageCallInfo

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallInfo fields

callername

StrFixedLenField

b'Jean Valjean'

callernum

StrFixedLenField

b'1337'

calledname

StrFixedLenField

b'Causette'

callednum

StrFixedLenField

b'1034'

lineinstance

LEIntField

1

callid

LEIntField

0

originalcalledname

StrFixedLenField

b'Causette'

originalcallednum

StrFixedLenField

b'1034'

lastredirectingname

StrFixedLenField

b'Causette'

lastredirectingnum

StrFixedLenField

b'1034'

originalredirectreason

LEIntField

0

lastredirectreason

LEIntField

0

voicemailboxG

StrFixedLenField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

voicemailboxD

StrFixedLenField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

originalvoicemailboxD

StrFixedLenField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

lastvoicemailboxD

StrFixedLenField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

security

LEIntField

0

restriction

FlagsField (16 bits)

<Flag 0 ()>

unknown

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageCallPlane

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallPlane fields

instance

LEIntField

1

class scapy.contrib.skinny.SkinnyMessageCallState

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallState fields

state

LEIntEnumField

1

instance

LEIntField

1

callid

LEIntField

0

unknown1

LEIntField

4

unknown2

LEIntField

0

unknown3

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageClearPromptStatus

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageClearPromptStatus fields

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageCloseReceiveChannel

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCloseReceiveChannel fields

conference

LEIntField

0

passthru

LEIntField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

rate

SkinnyRateField

20

codec

LEIntEnumField

4

precedence

LEIntField

200

silence

LEIntEnumField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageDialedNumber

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageDialedNumber fields

number

StrFixedLenField

b'1337'

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageGeneric

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeepAlive

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeepAliveAck

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeypadButton

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageKeypadButton fields

key

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOffHook

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOffHook fields

unknown1

LEIntField

0

unknown2

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOnHook

Bases: scapy.contrib.skinny.SkinnyMessageOffHook

aliastypes
fields_desc
SkinnyMessageOnHook fields

unknown1

LEIntField

0

unknown2

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOpenReceiveChannel

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOpenReceiveChannel fields

conference

LEIntField

0

passthru

LEIntField

0

rate

SkinnyRateField

20

codec

LEIntEnumField

4

echo

LEIntEnumField

0

unknown1

LEIntField

0

callid

LEIntField

0

guess_payload_class(p)
class scapy.contrib.skinny.SkinnyMessageOpenReceiveChannelAck

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOpenReceiveChannelAck fields

status

LEIntEnumField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

passthru

LEIntField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessagePromptStatus

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessagePromptStatus fields

timeout

LEIntField

0

text

StrFixedLenField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSetLamp

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSetLamp fields

stimulus

LEIntEnumField

5

instance

LEIntField

1

mode

LEIntEnumField

2

class scapy.contrib.skinny.SkinnyMessageSetRinger

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSetRinger fields

ring

LEIntEnumField

1

unknown1

LEIntField

0

unknown2

LEIntField

0

unknown3

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSoftKeyEvent

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSoftKeyEvent fields

key

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSpeakerMode

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSpeakerMode fields

ring

LEIntEnumField

1

class scapy.contrib.skinny.SkinnyMessageStartMediaTransmission

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStartMediaTransmission fields

conference

LEIntField

0

passthru

LEIntField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

rate

SkinnyRateField

20

codec

LEIntEnumField

4

precedence

LEIntField

200

silence

LEIntEnumField

0

maxframes

SkinnyFramePerPacketField

0

unknown1

LEIntField

0

callid

LEIntField

0

guess_payload_class(p)
class scapy.contrib.skinny.SkinnyMessageStartTone

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStartTone fields

tone

LEIntEnumField

33

unknown1

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageStationSelectSoftKeysMessage

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStationSelectSoftKeysMessage fields

instance

LEIntField

1

callid

LEIntField

0

set

LEIntField

0

map

LEIntField

65535

class scapy.contrib.skinny.SkinnyMessageStopMultiMediaTransmission

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStopMultiMediaTransmission fields

conference

LEIntField

0

passthru

LEIntField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageStopTone

Bases: scapy.contrib.skinny.SkinnyMessageGeneric

aliastypes
fields_desc
SkinnyMessageStopTone fields

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageTimeDate

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageTimeDate fields

settime

SkinnyDateTimeField

(2019, 11, 16, 3, 14, 24)

timestamp

LEIntField

0

class scapy.contrib.skinny.SkinnyRateField(name, default)

Bases: scapy.fields.LEIntField

i2repr(pkt, x)
scapy.contrib.skinny.cls

alias of scapy.contrib.skinny.SkinnyMessageGeneric

scapy.contrib.skinny.get_cls(name, fallback_cls)