Please help me over this struggling last one months Example: Send message from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.5.3 log4j:WARN No appenders could be found for logger (smslib). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Modem Information: Manufacturer: iWOW Model: TR-800 Serial No: 355780003133947 SIM IMSI: ** MASKED ** Signal Level: -73 dBm Battery Level: 0% =============================================================================== << OutboundMessage >> ------------------------------------------------------------------------------- Gateway Id: * Message Id: 0 Message UUID: 08baebe8-ca69-4d58-b6b8-8c5ee5722f7c Encoding: 7-bit Date: Mon Jul 17 16:05:57 IST 2017 SMSC Ref No: Recipient: 918558939816 Dispatch Date: null Message Status: FAILED Failure Cause: GATEWAY_FAILURE Validity Period (Hours): -1 Status Report: false Source / Destination Ports: -1 / -1 Flash SMS: false Text: Hello from SMSLib! PDU data: C8329BFD0699E5EF3668DA9C32D3E210 Scheduled Delivery: null =============================================================================== On Monday, 11 November 2013 15:52:35 UTC+5:30, benafia salem wrote: > > Hello Samir, > How do you know your message is sent? You said "I can send sms, and sms > delivers successfully" but the trace you're showing says the message is not > delivered : > > * Message Status: FAILED : * > > If message was sent, you'll see Message Status: SENT. > > Anyway, for gateway failure,I found that this is generally related to > authentication and binding problems. Paste your code so we can discuss it. > > I guess you're sending the message twice, the first is successful, the > second is the one you reported trace... just a guess :) > > Regards, > Salem > > Le jeudi 5 septembre 2013 14:22:54 UTC+1, Samir Hasanov a écrit : >> >> hello. I am using smslib in my application with JSMPPGateway. I can send >> sms, and sms delivers successfully. But in application output I get MESSAGE >> STATUS: FAILED.. I dont understand why application shows it instead of >> delivery status and message ref no.. Here is my application output for a >> successful sms: >> >> Gateway Id: * >>> >>> Message Id: 0 >>> >>> Message UUID: d331f793-cc22-4c3e-8098-5122e27a9519 >>> >>> Encoding: 7-bit >>> >>> Date: Thu Sep 05 18:00:18 AZST 2013 >>> >>> SMSC Ref No: >>> >>> Recipient: 123456 >>> >>> Dispatch Date: null >>> >>> Message Status: FAILED >>> >>> Failure Cause: GATEWAY_FAILURE >>> >>> Validity Period (Hours): -1 >>> >>> Status Report: false >>> >>> Source / Destination Ports: -1 / -1 >>> >>> Flash SMS: false >>> >>> Text: Hello from SMSLib and JSMPP >>> >>> PDU data: C8329ASDA2325EF3668DA9C32D30D84D0629A74D2814 >>> >>> Scheduled Delivery: null >>> >>> >> >> How can I solve this? Thanks.. >> > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msgid/smslib/80442069-c31e-4330-b58e-bb3661fc6145%40googlegroups.com.
