Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2008

    SIP - Registration refreshing problem


    I'm trying to refresh an existing registration manually with CSIPRegistrationBinding::UpdateL(TUint aExpirationValue, CSIPMessageElements* aElements=0). In fact, I would like to update the contact address and the expiration value of the registration.

    Had no problem with the new expiration value, however I'm not able to append the new CSIPContactHeader in the aElements's user headers array, because leave occurs (KErrArgument).

    Any ideas? How could it be done?


  2. #2
    Registered User
    Join Date
    Jul 2007

    Re: SIP - Registration refreshing problem

    Hi Tamas!

    Its not possible to change whole contact header in update, like you already noticed ... I believe this restriction comes from SIP standards, but not sure. Anyway, what you can do is update contact header parameters, using the existing binding.

    If you have to update whole header (address etc), then only thing you can do, is unregister old binding and create new one with new contact header!

    Hope that helps!

  3. #3
    Registered User
    Join Date
    Apr 2008

    Re: SIP - Registration refreshing problem

    Hello tkot!

    As far as the SIP specification is concered (RFC-3261), it does not state explicitly that implementations must be able to refresh the contact address of the binding (only expiration is mentioned). However, registration binding must be refreshable and the contact address is the part of the binding.. specification interpretation is a tricky task.. whatever.

    Yes, re-registering seems to be the only alternative, but there I have another problem with the SIP stack: no multiple contact headers are allowed in REGISTER requests (which I belive is violating the RFC) - two different SIP message should be sent - extra network traffic.. whatever.

    At least now I'm sure of the way this problem should be solved.

    Thank you for the comment.


Similar Threads

  1. E65 SIP connection problem
    By Razzle in forum VoIP
    Replies: 20
    Last Post: 2010-04-05, 13:10
  2. N95 SIP registration failed
    By FRLinux in forum VoIP
    Replies: 8
    Last Post: 2007-08-21, 20:19
  3. SIP Stack Periodic Registration.
    By ravinathwani in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2006-11-07, 12:16
  4. Problem with SIP Plug-in for Series 60 SDK 2.0
    By jalakuri in forum Symbian Tools & SDKs
    Replies: 27
    Last Post: 2005-08-22, 09:55
  5. SIP Warship example problem
    By juysu2 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-07-27, 13:50

Posting Permissions

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