(Blimey, that was a mouth full!)

Hello,

I'm currently integrating with a mobile service provider called mblox. Basically the process if that the end user submit a text message to a number. Mblox then send a notification to our server, we interpret what's been sent and submit an output back to their servers with a wap push message. Mblox then deliver and charge the mobile user.

The return notifications to mblox are in xml format with the message part of the response (wap push) being in binary. The problem is I can't decode it! This is an example of the reponse xml:

<NotificationRequest Version="3.3">
  <NotificationHeader>
    <PartnerName>MyUserName</PartnerName>
    <PartnerPassword>MyPassword</PartnerPassword>
  </NotificationHeader>
  <NotificationList BatchID="1">
    <Notification SequenceNumber="1" MessageType="SMS"
Format="Binary">
      <Message>:81:06:03:AE:81:EA:03:05:6A:00:45:C6:0C:03:61:62:63:3
1:2E:6D:62:6C:6F:78:00:85:03:6D:62:6C:6F:78:6C:6F:67:6F:74:36:
38:2E:67:69:66:00:0A:C3:07:20:04:07:16:12:49:15:10:C3:07:20:04
:07:23:12:49:15:01:03:20:6D:42:6C:6F:78:20:54:36:38:69:20:6C:6
F:67:6F:20:00:01:01</Message>
      <Profile>9999</Profile>
      <Udh>:06:05:04:0B:84:23:F0</Udh>
      <SenderID Type="Alpha">Test</SenderID>
      <Subscriber>
        <SubscriberNumber>447900000000</SubscriberNumber>
      </Subscriber>
    </Notification>
  </NotificationList>
</NotificationRequest>

"This Notification Request submits a binary message (including UDH), which will be
interpreted as a WAP push SI, if delivered to a Sony Ericsson T68i. The alert will point to the URL http://abc1.mblox.com/mbloxlogot68.gif (this resource does not exist), with the title “mBlox T68i logo”."

Can anyone therefore advise how to decrypt/encrypt the 'Message' section above or how to generate a WAP PUSH message in binary.

Any help at all is appriciated as I'm starting to headbut the table in frustration!

Many thanks,
Adam.

    I've managed to find a site which converts the information successfully but unfortunately it's only online. I need a script or an example so I can build a script for it - http://converter.statsms.net/testing.php

    Email to the owner I think...

    Thanks,
    Adam.

      6 months later

      Hello
      I was trying to send a WAPPUSH using the Kannel PPG setup. I could use a simulator to make it work.
      When having to use the mBlox server, they seem dont have a PPG server. I was wondering how can then we send a binary data using mBlox setup?
      As you seem to have worked with it, can you please help me?

      Thanks
      AJay

        I think its cool that passwords are sent in the clear 😉 I'm not familiar w/ what you are doing, but curious. You have to encode part of your response in hex? Like what, an image?

          Write a Reply...