×

Discussion Board

Results 1 to 10 of 10

Hybrid View

  1. #1
    Nokia Developer Expert
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197

    Undocumented Features of the Nokia SIP Stack

    Undocumented Features of the Nokia SIP Stack

    1. Incoming INVITE routing logic

    Nokia Internet Telephony client is present in the S60 device and its SIP capabilities in the XML are the following:

    <SIP_CLIENT ALLOW_STARTING="YES">
    <SIP_HEADERS>
    <ACCEPT value="application/sdp"/>
    <ACCEPT value="\"/>
    </SIP_HEADERS>
    <SDP_LINES>
    <LINE name="m" value="video 0 RTP/AVP 0"/>
    <LINE name="m" value="application 0 tcp wb"/>
    <LINE name="m" value="audio 0 RTP/AVP 0"/>
    <LINE name="m" value="audio 0 RTP/SAVP 0"/>
    </SDP_LINES>
    </SIP_CLIENT>

    If the incoming SIP request (for example INVITE) contains this information, Nokia Internet Telephony client always gets the SIP request. The reason is that ROM-based clients are preferred
    when two or more clients match to the request. Other clients must use some distinctive values like the following:

    1) Accept-Contact-header with some special feature tags like
    Accept-Contact: *;+myfeaturetag
    expressed in XML as
    <ACCEPT_CONTACT value="*;+myfeaturetag"/>

    2) Adding application spesific m-lines like
    "m=application 12345 UDP myapplication"
    expressed in XML as
    <LINE name="m" value="application 0 UDP myapplication"/>

    3) Application specific attributes for existing m-lines like
    "m=audio 12345 RTP/AVP 0
    a=myapplication"
    expressed in XML as
    <LINE name="m" value="audio 0 RTP/AVP 0">
    <MEDIA_ATTRIBUTE value="myapplication"/>
    </LINE>

    4. Configuring SIP profile for IMS
    This is applicable for the S60 3.1 and later platform releases.
    Service profile: Nokia 3GPP
    Default access point: <xxx>
    Use compression: No
    Security negotoation: Not active
    Proxy address: <x.x.x.x>'
    0.0.0.0 in the Proxy address field indicates that proxy will be resolved using dynamic methods. (DHCP or PCO element)
    If the phone supports IMS AKA and contains USIM and ISIM applications REGISTER request with authentication header will be sent out from the terminal as per 3GPP TS 24.229. In case device contains only SIM application the registration will be performed as per TR 33.978 (early IMS) e.g. REGISTER request will not include Authorization header nor other security related headers.


    5. SIP profile registration failure recovery
    When the registration recovery is ongoing, the SIP profile shows "Not registered".
    If also the registration recovery has failed, the SIP profile shows "Registration failed".
    There are different recovery procedures for 'IETF' and 'Nokia 3GPP' modes.

    IETF:
    The terminal tries to recover from the following registration errors:
    DNS failure, ICMP error, SIP transaction timeout, 503 SIP response.
    Recovery procedures:
    To recover from a registration failure, the terminal maintains a wait-time value for determining when it should try to register again. Wait-time value in seconds is calculated as follows:
    wait-time = min( 1800, (30 * (2 ^ consecutive-failures)))
    The delay time between two successive registration attempts is computed by selecting a uniform random time between 50 and 100 percent of the the wait time. If 10 successive attempts fail no further attempts are made.

    Nokia 3GPP:
    The terminal tries to recover from the following registration errors:
    DNS failure, ICMP error, SIP transaction timeout and 408, 480, 500, 503 and 504 SIP responses.
    Recovery procedures:
    If the registration failure was caused by one of the SIP responses, terminal checks the presence of Retry-After-header and tries to register after the value indicated in the header. In all other cases the registration is tried again immediately. The registration recovery is tried only once.

    See attachement for the routing of invite messages
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    568

    Re: Undocumented Features of the Nokia SIP Stack

    Hello,

    is this thread still active? I would like to ask a question concerning 4)

    Regards

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    22

    Re: Undocumented Features of the Nokia SIP Stack

    Hey,
    sure, shoot.

    thanks,
    paulius
    cheers,
    paulius

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    568

    Re: Undocumented Features of the Nokia SIP Stack

    OK, Thanks.

    Does 4) mean, the Phone is capable of doing 3GPP Digest AKA? I mean: Is the stack capable of doing AKAv1-MD5 or AKAv2-MD5 in order to authenticate via IMS?

    If yes: What setups are required?

    Regards

  5. #5
    Registered User
    Join Date
    Jun 2003
    Posts
    22

    Re: Undocumented Features of the Nokia SIP Stack

    Yes, the device can do 3GPP Digest AKA. (AKAv1-MD5, as per RFC3310).

    Set
    Service profile: Nokia 3GPP
    Default access point: <xxx>
    Use compression: No
    Security negotiation: Not active
    Proxy address: <x.x.x.x>' ( 0.0.0.0 for automatic)

    If you want to use full IMS AKA i.e. ipsec as well, set
    Security negotiation to "active".

    thanks,
    paulius
    cheers,
    paulius

  6. #6
    Registered User
    Join Date
    Nov 2006
    Posts
    568

    Re: Undocumented Features of the Nokia SIP Stack

    Thanks for the info. I'll give it a try.

    Regards

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    39

    Re: Undocumented Features of the Nokia SIP Stack

    hello

    one questions regarding "registration failed" !

    are there settings to keep that retry behavior doing endlessly ?!

    i mean some times the wifi coverage is poor and the nokia sip client tries to register. it eventually fails and gives "registration failed" ! it will not retry !

    this makes the sip client not really useful for persons not familiarly with the sip client for a new try of registration - not to talk that one has to do it manually !

    ciao

  8. #8
    Registered User
    Join Date
    Apr 2010
    Posts
    2

    Re: Undocumented Features of the Nokia SIP Stack

    Is there any way to change the contact detail sent, mine sends a random string @ registrar

    eg edsrgiushdfgloiuasdfnlg@10.1.1.6

    Many SIP gateways will not allow this and it fails to register.

Similar Threads

  1. Java Compability
    By emax73 in forum General Development Questions
    Replies: 0
    Last Post: 2004-07-12, 14:56
  2. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47

Posting Permissions

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