nokiadatagathering / ndg-ng

4.04 up to 5.11 versions of the server
5 stars 6 forks source link

sms fails #4

Closed IanLawrence closed 12 years ago

IanLawrence commented 12 years ago

Added login details in msm-settings.properties and turned sms on in msm-core.settings. On a non firewalled connection

The error is

Starting Gateways ... 13:51:52,044 INFO ~ >>>>> ModemGateway: null 19195 [play-thread-1] INFO smslog - >>>>> ModemGateway: null 13:55:50,810 WARN ~ GTW: clickatell: Maximum number of queue retries exceeded, message lost. 257961 [Thread-10] WARN org.smslib - GTW: clickatell: Maximum number of queue retries exceeded, message lost.

Outbound handler called from Gateway: clickatell

<< OUTBOUND MESSAGE DUMP >>

Gateway Id: clickatell Encoding: UCS2 (Unicode) Date: Fri Nov 18 13:55:42 AMT 2011 Text: hello test from new server Encoded Text: 00680065006c006c006f00200074006500730074002000660072006f006d0020006e006500770020007300650072007600650072 SMSC Ref No: null Recipient: 559293755375 Dispatch Date: null Message Status: FAILED Validity Period (Hours): -1 Status Report: false Source / Destination Ports: -1 / -1

Flash SMS: false

frankowskid commented 12 years ago

You have invalid phone number. Please define number with leading '+' and country zone number.

IanLawrence commented 12 years ago

adding these means that the UI cannot display the number and the server to throw an error when trying to send sms

Internal Server Error (500)

Execution exception (In /app/controllers/sms/SMSModemHandler.java around line 174) StringIndexOutOfBoundsException occured : String index out of range: 2

IanLawrence commented 12 years ago

with the latest commits this is still not resolved. Adding a + in the UI causes the number not to be displayed. The only way to send an sms is to add the number and then open the database and add the leading '+'. The sending sms works

frankowskid commented 12 years ago

the problem exists only on Chrome browser.

IanLawrence commented 12 years ago

solved by the addition of the maskedinput-1.3.min.js library