is the code is working for you.......?

if it is working please send me the zip file of the project.



On Sat, Jul 25, 2009 at 3:20 PM, Murugesan M<[email protected]> wrote:
> hi,
>
> I tried to use that also but it is not working
>
>
> On Sat, Jul 25, 2009 at 2:26 PM, Thanasis<[email protected]> wrote:
>>
>> Try to set the SMSC number yourself before sending the message.
>> Use the setSmsc() method of the gateway object to set the SMSC number
>> of your network.
>>
>> I don't know if this will work, but give it a try...
>>
>> On Jul 25, 11:50 am, Murugesan M <[email protected]> wrote:
>>> hi,
>>>
>>>  i am not using phone yar.I am using a mobile number to send SMS.....i
>>> am using GSM Modem..
>>>
>>> Tell me any other SDK which works fine.
>>>
>>> Regards
>>> M.Murugesan
>>>
>>>
>>>
>>> On Sat, Jul 25, 2009 at 1:54 PM, Thanasis<[email protected]> wrote:
>>>
>>> > Hi,
>>>
>>> > I've sent you one from a number +3069...037 - it seems to have be sent
>>> > ok.
>>>
>>> > CMS 515 means "Device busy or Invalid Character in string" (see
>>> >http://smslib.org/doc/gsmerrors/). Never seen this error before.
>>> > Do you have any other phone to test with?
>>>
>>> > On Jul 25, 11:15 am, Murugesan M <[email protected]> wrote:
>>> >> hi thanasis,
>>>
>>> >> Thank you for your reply.
>>>
>>> >> This is India,Hyderabad number.
>>>
>>> >> if you want to sms me you have add 09989718359(Airtel).
>>>
>>> >> can u briefly give me some more solutions.
>>>
>>> >> Thanks in advance.
>>>
>>> >> Regards
>>> >> M.Murugesan.
>>>
>>> >> On Sat, Jul 25, 2009 at 1:21 PM, Thanasis<[email protected]> wrote:
>>>
>>> >> > Hello,
>>>
>>> >> > The only strange thing I am seeing is that the recipient number is
>>> >> > small.
>>>
>>> >> > Is this correct?
>>> >> > Where are you from? May I try and send a message to that number?
>>>
>>> >> > On Jul 25, 10:02 am, munna <[email protected]> wrote:
>>> >> >> Hi,
>>>
>>> >> >> I am using GSM Modem when i am trying to run SendMessage.java i am
>>> >> >> getting the following error.Any one give some suggestions or
>>>
>>> >> >> Give a code that runs exactly.zip it and send to mail mailid.
>>>
>>> >> >> Thank you
>>>
>>> >> >> 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.4.2
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> 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
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: Version: 3.4.2
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: JRE Version: 1.6.0_14
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: JRE Impl Version: 14.0-b16
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: O/S: Windows XP / x86 / 5.1
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Starting gateway, using Generic AT Handler.
>>> >> >> Jul 25, 2009 12:00:22 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Opening: COM1 @9600
>>> >> >> Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: GSM: Registered to home network.
>>> >> >> Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: MEM: Storage Locations Found: SM
>>> >> >> Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: CNMI: No best match, returning: 1
>>> >> >> Jul 25, 2009 12:00:29 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Gateway started.
>>>
>>> >> >> Modem Information:
>>> >> >>   Manufacturer: ZTE Mobile Ltd
>>> >> >>   Model: GSM/GPRS Mobile Station
>>> >> >>   Serial No: 354952011000134
>>> >> >>   SIM IMSI: ** MASKED **
>>> >> >>   Signal Level: 93%
>>> >> >>   Battery Level: 50%
>>>
>>> >> >> Jul 25, 2009 12:01:00 PM org.slf4j.impl.JCLLoggerAdapter warn
>>> >> >> WARNING: GTW: modem.com1: CMS Error 515: Retrying...
>>> >> >> Jul 25, 2009 12:01:32 PM org.slf4j.impl.JCLLoggerAdapter warn
>>> >> >> WARNING: GTW: modem.com1: CMS Error 515: Retrying...
>>> >> >> Jul 25, 2009 12:02:04 PM org.slf4j.impl.JCLLoggerAdapter error
>>> >> >> SEVERE: GTW: modem.com1: CMS Error 515: Quit retrying, message lost...
>>> >> >> ===========================================================================
>>> >> >>  ====
>>> >> >> << OutboundMessage >>
>>> >> >> ---------------------------------------------------------------------------
>>> >> >>  ----
>>> >> >>  Gateway Id: modem.com1
>>> >> >>  Encoding: 7-bit
>>> >> >>  Date: Sat Jul 25 12:00:30 IST 2009
>>> >> >>  SMSC Ref No: null
>>> >> >>  Recipient: +9989718359
>>> >> >>  Dispatch Date: null
>>> >> >>  Message Status: FAILED
>>> >> >>  Validity Period (Hours): -1
>>> >> >>  Status Report: false
>>> >> >>  Source / Destination Ports: -1 / -1
>>> >> >>  Flash SMS: false
>>> >> >>  Text: Hello from SMSLib!
>>> >> >>  PDU data: C8329BFD0699E5EF3668DA9C32D3E210
>>> >> >> ===========================================================================
>>> >> >>  ====
>>>
>>> >> >> Now Sleeping - Hit <enter> to terminate.
>>>
>>> >> >> Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Stopping gateway...
>>> >> >> Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Closing: COM1 @9600
>>> >> >> Jul 25, 2009 12:02:30 PM org.slf4j.impl.JCLLoggerAdapter info
>>> >> >> INFO: GTW: modem.com1: Gateway stopped.
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib 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