Receiving Wap Push through GSM modem

Receiving Wap Push through GSM modem SearchSearch
Author Message
Frank van Rotterdam
New member
Username: Frank010

Post Number: 1
Registered: 03-2011
Posted on Thursday, March 17, 2011 - 04:27 pm:   

Goodday.

I have a NowSMS setup with 3 GSM modems (Sony E K800i) from which I read incoming messages from the phone into a database.

For some reason I can't get nowSMS to retrieve the incoming WAP push messages from the phones.

Ideally I want the URL in my database , but just timestamp and senderID is fine as well.

Currently using the 2-Way option because that allows me to delete processed messages, but I can process the SMSIN log's as well if needed.

Thanks for your help in this, I can't find this in the forum so I'm stuck.

Frank.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3019
Registered: 08-2008
Posted on Thursday, March 17, 2011 - 06:33 pm:   

Hi Frank,

That is a limitation of using a phone as a modem.

When we talk about how a dedicated modem device is preferable to a phone for MMS issues (http://www.nowsms.com/faq/what-is-a-gsm-modem), we are actually referring to WAP Push, as the problem is that the WAP Push client on the phone has a tendency to process WAP Push messages automatically and not make them available over the GSM modem interface. (MMS notifications are sent using WAP Push, which is why this also affects MMS.)

The only solution is using a dedicated GSM modem device instead of a phone as a modem. There's no WAP Push or MMS client on the modem to get in the way and intercept the message.

There are some discussions of some dedicated GSM modem devices here: http://www.nowsms.com/tag/gsm-modem

That said, NowSMS won't parse the URL from the WAP Push message. It would just forward it to you as a binary message, and you'd have to parse it.

Also note that by default, NowSMS will not route binary messages to a 2-way command unless the command is HTTP based and the placeholder @@Binary@@ appears somewhere in the URL. NowSMS will set the @@Binary@@ value to 1 if the message is binary, or 0 otherwise. (See http://www.nowsms.com/doc/2-way-sms-support for more.)

--
Des
NowSMS Support
Frank van Rotterdam
New member
Username: Frank010

Post Number: 2
Registered: 03-2011
Posted on Thursday, March 17, 2011 - 09:10 pm:   

Des,

Thanks ! This saves me a month trying to figure out the unfigureoutable.

Cheers,

Frank.