-
Notifications
You must be signed in to change notification settings - Fork 5
Commands
These commands are listed without the sequence number between the parts of the name. XML is sent without any prettyprinting, but is shown here with whitespace for clarity.
The server may send Set-Registration
headers at will. Repeat the value of the last such header in a Registration
header for all subsequent messages.
A connection starts with the client sending CNT CON
, ATH CON\USER
, and BND CON\MSGR
in that order without waiting for a response for the previous one.
Start a connection. This has no headers, only an XML payload:
<connect>
<ver>2</ver>
<agent>
<os>winnt</os>
<osVer>5.2</osVer>
<proc>x86</proc>
<lcid>en-us</lcid>
<country>us</country>
</agent>
</connect>
It's not clear if anything inside <agent>
actually matters; <country>
is optional and all the other example values came from the webclient on 64-bit Linux (the desktop client sends more accurate values).
Presumably <ver>
selects a protocol version. It's not clear what the differences between 1
and 2
are.
See Authentication.
See Authentication.
<activeendpoint>
<timeout>135</timeout>
</activeendpoint>
Seems to be sent every 135 seconds as long as the user is working on his machine and therefore the endpoint is active. As soon as the Screensaver starts and the user therefore isn't paying attention to the machine, timeout is set to 0. So this command seems to be some sort of idle timer. It doesn't replace PNG. Not present in Skype 6, comes with Skype 7.
See Authentication.
See Subscriptions.
<partners>
<type>ABCH</type>
</partners>
Unknown? Not used.
<options>
<pwrmode>1</pwrmode>
<deliveryConfirmation>true</deliveryConfirmation>
<batchtimeout>10</batchtimeout>
</options>
Unknown? Not used.
<networks>
<network>fb</network>
</networks>
Seems to be related to other networks like i.e. Facebook in this sample. Curently no sample.
<reportspam>
<alias>{wluid}</alias>
</reportspam>
May be used to report abusive Skype and MSN contacts.
PUT 26 MSGR\CONVERSATION 590
Registration: ...some long base64...
<conversation>
<id>8:live:user1</id>
<properties>
<consumptionhorizon>1431964251000;1431964252000;2928664941477818879</consumptionhorizon>
</properties>
</conversation>
Sets properties for a given conversation (id
can be another member
for P2P chat or a Groupchat (=thread) ID.
consumptionshorizon
seems to consits of 2 Unix-Timestamps in ms
and an unknown identifier. Usually also results in a NFY MSGR\CONVERSATION
See Subscriptions.
See Threads.
Unknown.
<presence>
<contact>{wluid}</contact>
</presence>
Unknown. Results in a presence-response but without really usable info...?
See Synchronizing.
See Synchronizing.
See Threads.
<conversations>
<conversation><id>{id}</id></conversation>
</conversations>
Unknown. Fetch infos for conversations?