Error sending SMS

Added by intellisense 43 days ago

Hello

I am using messagingtoolkit dll to send sms. Using the Demo Project when i try to recieve sms I get success. But when i try to send sms it fails. It says that this function is not supported!! I am using ST860 EDGE MODEM of Sentar Tech.

Earlier I used Nokia Mobile Sets and i had no issues about sending the sms although i got some problems while receiving SMS. Log file is attached as well.

Remember When i send message through the Sentar Default program Its send the Message successfully.


Replies

RE: Error sending SMS - Added by intellisense 42 days ago

May be this file more helpful to you people.

RE: Error sending SMS - Added by admin 41 days ago

Hi,

From the log file

2009.12.01-11.46.11:Verbose: Sending: 1B91200B3009300230033003300330003000300030053001300530F031000B813012828842F40010B005E8329BFD06
2009.12.01-11.46.17:Verbose: Sending watch dog message
2009.12.01-11.46.43:Info: Error sending SMS: Unsupported feature: SendSmsFeature: Send SMS (Error in sending command 1B91200B3009300230033003300330003000300030053001300530F031000B813012828842F40010B005E8329BFD06:)

From the log file, your modem should support message sending. From the PDU,

PDU LENGTH IS 47 BYTES
ADDRESS OF DELIVERING SMSC
NUMBER IS : +02B003900320033003300330030003000300035003100350030
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)

MESSAGE HEADER FLAGS
MESSAGE TYPE : SMS SUBMIT
REJECT DUPLICATES : NO
VALIDITY PERIOD : RELATIVE
REPLY PATH : NO
USER DATA HEADER : NO UDH
REQ. STATUS REPORT : YES
MSG REFERENCE NR. : 0 (0x00)

DESTINATION ADDRESS
NUMBER IS : 03212888244
TYPE OF NR. : Unknown
NPI : ISDN/Telephone (E.164/163)

PROTOCOL IDENTIFIER (0x00)
MESSAGE ENTITIES : SME-to-SME
PROTOCOL USED : Implicit / SC-specific

DATA CODING SCHEME (0x10)
AUTO-DELETION : OFF
COMPRESSION : OFF
MESSAGE CLASS : 0 (imm. display)
ALPHABET USED : 7bit default

VALIDITY OF MESSAGE : 10 days

USER DATA PART OF SM
USER DATA LENGTH : 5 septets
USER DATA (TEXT) : hello

The SMSC address maybe the problem. Right now the toolkit will use the SMSC address retrieved from the SIM even it is available. We will give you a patch soon so that you can set a default SMSC address (value 00) to further test to see if this is the root cause.

RE: Error sending SMS - Added by admin 41 days ago

Please overwrite existing libraries with the attached patch and test again.

Steps to test

1. Run the "Demo" program
2. In "Send SMS", now there is check box to "Use Default SMSC", tick this before sending SMS

Programmatically, you can set it this way

Sms sms = Sms.NewInstance();
sms.DestinationAddress = "1234567890";
sms.Content = "test";
sms.ServiceCenterNumber = Sms.DefaultSmscAddress;

RE: Error sending SMS - Added by intellisense 40 days ago

Thanks for the solution
I tested the patch Its working fine Now.