Minimum phone number length in web menu interface

Minimum phone number length in web menu interface SearchSearch
Author Message
Jamie Allan
Posted on Thursday, May 29, 2003 - 01:26 am:   

Hi, I'm seeing a minor odd problem with the web menu interface to the gateway. If I try to send a WAP Push message via HTTP using the Menu interface with a destination phone number smaller than 3 digits in length the message doesn't seem to get sent. The same WAP Push message sent via a URL without using the menu interface gets through fine. Everything else seems to work ok through the menu interface (although I've not checked MMS yet) including text/binary messages with destination numbers of 1 or 2 digits.

This in itself isn't a huge problem as I'm using a hand written SMSC hooked up to a GSM/GPRS network emulator with a phone on the other side. I can address the phone however I want but if possible I'd like to do it with as few keystrokes as possible when using the menu ;) I'm also slightly concerned that this may be a fault at the SMSC end but from looking at whats coming in it seems like the gateway is never sending the message.

Thanks in advance for any help.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Thursday, May 29, 2003 - 03:28 pm:   

Hi Jamie,

We just discovered this problem at the end of last week ... someone else with an environment similar to yours.

The gateway includes some logic to support a WAP push or MMS notification over IP. (This push/notification is sent unconfirmed, so the feature mainly exists for customers in a test environment.)

Anyway, there was a bug in that implementation. NowSMS parses the phone number to try to determine if it is a phone number or an IP address. The bug is that if the phone number field contained a value of "1" thru "255", then the parser would convert this to an IP address of "1.0.0.0" thru "255.0.0.0" ... and send to an IP address instead of a phone number.

As you're in a test environment, if you can use longer phone numbers, that's one way to deal with this problem.

Or if you like, I can send you an update that addresses this problem.

If you want the update, do me a favour and send an e-mail to nowsms@now.co.uk, and reference this problem.

-bn