+ Reply
Results 1 to 2 of 2
  1. #1
    What's Jailbreak?
    Join Date
    May 2008
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default receive SMS on different port

    By default SMS are sent to the iphone through port number 0. If a SMS uses a different port number, the iPhone SMS application doesn't do anything to it (I think the message won't even get saved to sms.db).

    I can use CTTelephonyCenter to register my application as observer and catch the kCTSMSMessageReceivedNotification event, but I think this event is only fired when the SMS arrives through default port. Is there any way to receive messages arriving through different port? Thanks.

  2. #2
    What's Jailbreak?
    Join Date
    Dec 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I think you can use kCTSMSMessageReceivedNotification event then delete this message before save to sms.db.

    Can you help me about kCTSMSMessageReceivedNotification event, because I can't find the sample on google.

    Thanks for advance.

Posting Permissions

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