Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2006

    sip send MESSAGE on Nokia E61 fails.

    When we try to send sip MESSAGE using a Nokia S60 3rd edition phone like E61 and J2ME SIP api's. We get an exception as follows:
    javax.microedition.sip.SipException: this type of a header cannot be accessed by a user.

    Point to note here is we tried this with all possible combination of headers and with even no headers, still the error persists.

    Does Nokia's j2me implementation for SIP really allow SIP MESSAGE extension?

  2. #2
    Registered User
    Join Date
    Oct 2006

    Exclamation Re: sip send MESSAGE on Nokia E61 fails.

    Hi, this same exception is thrown happen with Nokia -N80 series when sending "INVITE", to remote client.

  3. #3
    Registered User
    Join Date
    Jul 2008

    Re: sip send MESSAGE on Nokia E61 fails.


    i have the same problem and exception with the Nokia N95 when i would like to send an INVITE request to a remote client - is there any solution for this problem?

    thank you!

  4. #4
    Registered User
    Join Date
    Mar 2008

    Wink Re: sip send MESSAGE on Nokia E61 fails.

    Hi there

    May be JSR 180 is "even too clever" and constantly checks if you respect the RFC 3261
    For example in INVITE it extracts the "To" header from the specified SipClientConnection
    and if you put it again in setHeader("To", ...) JSR gives us the error also if it's correct!

    This gives us error:
    scn = (SipConnectionNotifier) Connector.open("sip:*;type=\"application/sdp\"");
    scc = (SipClientConnection) Connector.open("sip:calluser@calladdress.some;transport=udp");
    scc.initRequest("INVITE", scn);
    scc.setHeader("From", "sip:user@address.some");
    scc.setHeader("To", "sip:calluser@calladdress.some");

    ...and this doesn't:
    scn = (SipConnectionNotifier) Connector.open("sip:*;type=\"application/sdp\"");
    scc = (SipClientConnection) Connector.open("sip:calluser@callddress.some;transport=udp");
    scc.initRequest("INVITE", scn);
    scc.setHeader("From", "sip:user@address.some");

    In the same manner check if you don't repeat other fields according RFC and JRC docs
    In particular (exstracted from JSR help):

    Headers that will be initialized are as follows:
        To           // To address constructed from SIP URI given in Connector.open()
        From         // Set by the system. If SipConnectionNotifier is given and the 
                        SIP identity is shared the value will be set according the 
                        terminal SIP settings (see SIP Identity 
                        for more details). If the SipConnectionNotifier is not given 
                        (= null) and/or the SIP identity is not shared the From 
                        header must be set to a default value e.g. anonymous URI 
                        (see RFC 3261 [1], chapter From).
        CSeq         // Set by the system
        Call-ID      // Set by the system
        Max-Forwards // Set by the system
        Via          // Set by the system
        Contact      // Set by the system (if SipConnectionNotifier is given) for 
                        REGISTER, INVITE and SUBSCRIBE. The value will be set 
                        according to the terminal IP settings and the 
                        SipConnectionNotifier properties. So the new request
                        is associated with the SipConnectionNotifier. The
                        other end can use the contact for subsequent requests.
    I hope this resolve your problem or help you, bye
    Last edited by mapick; 2009-11-30 at 15:15. Reason: better explained

Similar Threads

  1. How to send a SIP MESSAGE request ?
    By big_vj in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2006-02-23, 16:02
  2. SIP Plug-in: code to send a sip MESSAGE
    By Simply75 in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2005-04-14, 09:40

Posting Permissions

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