hexsmsmmsgammu

Receiving a binary MMS


When I receive MMS via gammu it comes over with binary hex code:

Location 100010, folder "Inbox", phone memory, Inbox folder
SMS message
SMSC number          : "+12063130055"
Sent                 : Fri 14 Dec 2018 09:43:16 AM  -0600
Class                : 1
Coding               : 8-bit
Remote number        : "2300"
Status               : Read
User Data Header     : User UDH

8 bit SMS, cannot be displayed here

(hex: 83687474703A2F2F74746E6D6D736765742E6D73672E656E672E742D6D6F62696C652E636F6D2F6D6D732F776170656E633F543D6D61766F64692D362D3133622D38362D312D39632D36363065306366)

When I put the hex code into a hex decoder like: http://www.convertstring.com/EncodeDecode/HexDecode it translates to the following url:

http://ttnmmsget.msg.eng.t-mobile.com/mms/wapenc?T=mavodi-6-13b-86-1-9c-660e0cf

However, when I put this url into a browser it takes me to a blank page. Any idea what could be wrong?


Solution

  • The response from the resulting URL returns a Response Code 308 Unknown, which redirects to the secure https version of the url; upon getting redirected I received a 400 Bad Request:

    HTTP/1.1 400 Bad Request
    Warning 299 GBA "Generic Bootstrapping Architecture (3GPP TS 33.220) support is required to access the requested resource"
    Content-Length   0
    Content-Type     text/html; charset=UTF-8
    Connection       close
    

    In order to have anything appear you'll need to send the correct headers on the GET request, since the resulting message is displayed. Hopefully that information can steer you in the right direction.