×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    18

    Network Connectivity Implementation using JSR 180!

    Greetings all,

    I am currently doing some readup on the JSR 180 SIP API
    implementation. It clearly defines and describes all about
    "javax.microedition.sip" package containing interfaces and
    classes implementing SIP functionality.

    In the GCF (Generic Connection Framework) to establish
    connectivity with remote machine I use the foll.

    StreamConnection sc = (StreamConnection) Connector.open("socket://127.0.0.1:9000");

    But as per the JSR 180 developers importing javax.microedition.sip
    will have to use the Connector.open() method but typecast it of
    type SipClientConnection interface as follows:

    SipClientConnection scc = (SipClientConnection) Connector.open("sip:alice@company.com:5060");

    When I tried this out using J2ME Wireless Toolkit 1.0.4_01 it
    compiled fine but I got ClassCastException during runtime which is
    quite logical because javax.microedition.io does not know
    interface SipClientConnection like it does StreamConnection.

    Now I am stuck here wondering what to do?

    Any suggesstions, advices, insights would be of great help!

    Thanx,
    adios & cheers!
    LearningCurve.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    1
    As far as concern the syntax error you could try to use the http instead of sip prefix ( sip is not mandatory ).

    Anyway I don't know you can test the application without a SIP Proxy and a SIP Server

    You can contact me at my private address ffalcone@email.it if you need other suggestion.

    Francesco

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    28
    I didn't know that there is a RI of the JSR 180 (SIP API for J2ME).

    I understand that you are already working with a RI.
    Where can it be downloaded?

    Thanks!

    Hector

  4. #4
    Registered User
    Join Date
    Sep 2003
    Posts
    22
    Is your problem Solved?

  5. #5
    Registered User
    Join Date
    Feb 2007
    Posts
    8

    Re: Network Connectivity Implementation using JSR 180!

    replying to LearningCurve,

    i'm not sure if you had a look on this, but here it goes anyway:
    http://www.forum.nokia.com/ME_Develo...es/AnnexB.html

    replying to hbfornies,

    you can download the RI here:
    http://www.forum.nokia.com/info/sw.n..._J2ME.zip.html

  6. #6
    Registered User
    Join Date
    Feb 2007
    Posts
    8

    Re: Network Connectivity Implementation using JSR 180!

    also have a look at this:
    http://www.ietf.org/rfc/rfc3261.txt

    ...yes i know it's long!!!

  7. #7
    Registered User
    Join Date
    Feb 2007
    Posts
    8

    Re: Network Connectivity Implementation using JSR 180!

    this is a blast....

    this is what they (networks) wnat to do:

    quote:
    "Suppression of Session Initiation Protocol (SIP)
    REFER Method Implicit Subscription"

    just read this: http://tools.ietf.org/html/rfc4488

    MAKE SURE THAT ALL YOU CLEVER GUYS DO SOMETHING TO STOP THIS

  8. #8
    Registered User
    Join Date
    Feb 2007
    Posts
    8

    Re: Network Connectivity Implementation using JSR 180!

    How do they want to implement this "Suppression of Session Initiation Protocol (SIP) REFER Method Implicit Subscription" ?????

    http://www.ietf.org/rfc/rfc3515.txt

    this is the method (standardization) to stop the actual SIP programing doing exactly what they don't want...

    MAKE SURE THAT ALL YOU CLEVER GUYS DO SOMETHING TO STOP THIS

Posting Permissions

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