You should enable the log and post it here.
I need to see the exact error returned by the modem.

On Dec 19, 11:23 am, reet <[email protected]> wrote:
> hello  sir ,
> i have compiled sendMessage.java and also i have put some
> "system.out.println()"
> in the code whose output is as follows:
>
> Example: Send message from a serial gsm modem.
> welcome to initialize the service object
> Initially the service status is STOPPED
> Dec 19, 2009 2:44:16 PM org.smslib.helper.Logger logInfo
> INFO: 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
> Dec 19, 2009 2:44:16 PM org.smslib.helper.Logger logInfo
> INFO: Version: 3.4.4
> Dec 19, 2009 2:44:16 PM org.smslib.helper.Logger logInfo
> INFO: JRE Version: 1.5.0_15
> Dec 19, 2009 2:44:16 PM org.smslib.helper.Logger logInfo
> INFO: JRE Impl Version: 1.5.0_15-b04
> Dec 19, 2009 2:44:16 PM org.smslib.helper.Logger logInfo
> INFO: O/S: Windows XP / x86 / 5.1
> AGateway is super class of ModemGateway.javam   andalso ModemGateway
> is super class of SerialModemGateway
> welcome to AGateway.java to construct and initialize the gateway
> object
> gatewayId: +919826300390
> initially  gateway's status is stopped
> come back to ModemGateway
> myModemDeviceCOM9
> myModemParms : 9600
> myDriver : null
> mpMsgList : []
> gateway configured
> gateway is set for outbounding :setoutbound=true
> gateway has been added which is
> org.smslib.modem.serialmodemgate...@52fe85
>  welcome to start service
> now service status is starting
> after watch dog
> gateway starting
> now gateway status is started
> now also service status is started
> Modem Information:
>  now we  are going to construct the msg which is object of
> OutboundMessage.java
> now  i m in OutboundMessage(String myRecipient, String text)
> here we have set the Message status = unsent
> now i m going to send a Message
> getService().getGateways():
> [org.smslib.modem.serialmodemgate...@52fe85]
> gtw+919826300390
> msg*
> gtw.isOutbound(): true
> gtw.getStatus(): STARTED
> in route
> in route if gtw :org.smslib.modem.serialmodemgate...@52fe85
> in creategroup
> in addNumber of group
>  I group this.groupName= default1
>  I group this.groupnumbers= [+9926097035]
>  group created successfully
> in expandGroup : [org.smslib.gr...@1c184f4]
> group name : default1
> group number : [+9926097035]
> recipients.size() : 1
> save recipient in to+9926097035
> newMessage's recipient is copied :
> =========================================================================== 
> ====
> << OutboundMessage >>
> --------------------------------------------------------------------------- 
> ----
>  Gateway Id: *
>  Message Id: 1
>  Encoding: 7-bit
>  Date: Sat Dec 19 14:44:16 GMT+05:30 2009
>  SMSC Ref No:
>  Recipient: +9926097035
>  Dispatch Date: null
>  Message Status: UNSENT
>  Message error: NO_ERROR
>  Validity Period (Hours): -1
>  Status Report: false
>  Source / Destination Ports: -1 / -1
>  Flash SMS: false
>  Text: Hello from SMSLib!
>  PDU data: C8329BFD0699E5EF3668DA9C32D3E210
> =========================================================================== 
> ====
>
> after setting group messages
> nowwwwwwwwwwwwwwwwww in sendMessages
> send :true
> Now Sleeping - Hit <enter> to terminate.
>
> can you tell me why the msg is not being sending.
> sir plz help. actually i have worked alresdy 15 days but till now i
> haven't got success

--

You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.


Reply via email to