×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    16

    Question hello, I want to send an SMS to an SMS server but I do not know the number of SMS ser

    hello, I want to send an SMS to an SMS server but I do not know the number of SMS server
    is that localhost is the number of this gateway?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: hello, I want to send an SMS to an SMS server but I do not know the number of SMS

    Are you talking about the SMS-C (Short Message Service Center, the "SMS gateway") number of a particular network operator (= service provider, = carrier)?

    If so, you don't need to know the SMS-C number. You just need to know the recipients phone number, and let the device handle the rest (assuming the phone has been correctly configured either manually or through picking up the info from the SIM card, and that the SIM account/subscriber is allowed to send SMS in the first place).

    Example code on how to send SMS from Java in, e.g., the wiki: http://wiki.forum.nokia.com/index.ph...SMS_in_Java_ME

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    16

    Re: hello, I want to send an SMS to an SMS server but I do not know the number of SMS

    Please I made ​​a mistake instead of writing number, I write nomber
    (number of SMS-C) I have designated
    ok?

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: hello, I want to send an SMS to an SMS server but I do not know the number of SMS

    Quote Originally Posted by mohamed2011 View Post
    hello, I want to send an SMS to an SMS server but I do not know the number of SMS server
    is that localhost is the number of this gateway?
    You can also send the SMS to the specific port and let the SMSC listen the same port for any SMS. Then you can move forward accordingly,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: hello, I want to send an SMS to an SMS server but I do not know the number of SMS

    Quote Originally Posted by quyenhong View Post
    I think some of the sms server is subject to sms service provider for you and your country! when I checked on the phone, it changes the network service provider
    The SMS-C ("message center") number is always network operator (carrier, service provider, SIM card) specific. A network operator can, of course, have several SMS-C's. Usually the correct SMS-C to use is predefined in the SIM card, and the phone detects it automatically, and it does not need to be set manually.

    In any case, from Java there is no way to access/see/read/modify the SMS-C number, or even to find out if it is set or not. All you can do is to send an SMS and get back a success or failure status.

Similar Threads

  1. I can know if an incoming sms is reply of an sent sms???
    By isantosp in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-07-07, 13:52
  2. I want to send an sms from pc to mobile j2me
    By muna123 in forum Mobile Java General
    Replies: 3
    Last Post: 2009-09-09, 18:53
  3. Replies: 2
    Last Post: 2007-02-02, 05:57
  4. Replies: 1
    Last Post: 2002-11-29, 08:45
  5. Replies: 1
    Last Post: 2002-11-29, 08:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×