]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_skinny: remove unknown field from access_status
authorSimon Wunderlich <sw@simonwunderlich.de>
Fri, 28 Feb 2014 13:21:39 +0000 (14:21 +0100)
committerNathan Neulinger <nneul@neulinger.org>
Mon, 10 Mar 2014 20:25:06 +0000 (15:25 -0500)
Cisco 7925g send access status message with just 8 byte of payload data.
Since we don't interpret the unknown 3rd field anyway, remove it. This
will prevent the first register to fail.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
src/mod/endpoints/mod_skinny/skinny_protocol.h

index 870b4c578a27d50749b5d32af9a5ef1c7c87da94..5687744ec0f8f5c42a46923f1971a493d5fdceaa 100644 (file)
@@ -458,7 +458,7 @@ struct PACKED dialed_phone_book_message {
 struct PACKED accessory_status_message {
        uint32_t accessory_id;
        uint32_t accessory_status;
-       uint32_t unknown;
+       /* uint32_t unknown; */ /* this field is missing in 7925G */
 };
 
 /* RegisterAckMessage */