×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Creation and enabling of SIP profile

    Hey,

    I'm working with 3rd edition devices.
    I managed to create SIP profile from my application (I got API from Nokia), and the thing is that I cannot enable it from my application.
    It gets error 400 (400 - Bad Request), even after rebooting phone situation is the same.
    But... If I will go to settings and check out profile manually I can enable it without trouble and then it works fine.
    Does any one knows how to make it working without "touching" profile manually?

    Regards...

  2. #2
    Registered User
    Join Date
    Apr 2007
    Posts
    6

    Re: Creation and enabling of SIP profile

    Hi,

    I am trying to do something very similar.
    Well, I haven't got as far as you, but there is another thread about SIP profiles needing "touching" here:
    http://discussion.forum.nokia.com/fo...d.php?t=105398

    and the solution was the ninth post:
    http://discussion.forum.nokia.com/fo...50&postcount=9

    What is this API you got from Nokia? Is it public? I would like it very much!

    Cheers.

  3. #3
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Re: Creation and enabling of SIP profile

    Hey,

    I got API from Nokia, my company bought "Partnering API Request" from eStore in Forum Nokia Pro. It is in form of header files, 'coz it looks like library is already there and it has all funcionality. Those header files aren't included in SDK for some unknown reason for me.

    Regards

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    135

    Re: Creation and enabling of SIP profile

    I have been searching for this API for a while:

    http://discussion.forum.nokia.com/fo...ad.php?t=99279

    I suspect that the CSIPManagedProfileRegistry is still the class to save the created profiles. What is missing is the header to create the profile with I suspect some SetParameter functions.

    Thanks for your comment. Have you solved your problem ?

    Jean-philippe
    jean-philippe

  5. #5
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Re: Creation and enabling of SIP profile

    Hey,

    The problem was with:
    Code:
    TSIPProfileTypeInfo ProfileTypeInfo;
    ProfileTypeInfo.iSIPProfileClass= TSIPProfileTypeInfo::EInternet;
    ProfileTypeInfo.iSIPProfileName.Copy(_L8("IETF"));
    This is what you use to create IETF type of profile, I, on the other hand wanted to create profile with type of "Nokia 3GPP".
    The problem is solved right now, I just have to use:
    Code:
    TSIPProfileTypeInfo ProfileTypeInfo;
    ProfileTypeInfo.iSIPProfileClass= TSIPProfileTypeInfo::EIms;
    ProfileTypeInfo.iSIPProfileName.Copy(_L8("ims"));
    And you are right, object to create, save, modify and remove profiles is CSIPManagedProfileRegistry.

    Regards.

  6. #6
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    135

    Re: Creation and enabling of SIP profile

    thanks

    for your example, are you using this kind of method ?

    TSIPProfileTypeInfo ProfileTypeInfo;
    ProfileTypeInfo.iSIPProfileClass= TSIPProfileTypeInfo::EIms;
    ProfileTypeInfo.iSIPProfileName.Copy(_L8("ims"));

    sipprofile-> SetType(ProfileTypeInfo);

    Well for the second edition we had a class called CSIPManagedProfile that was used to create the profile. I am wondering if they have just renamed the class or if they have fundamentally changed the model to create the profiles
    jean-philippe

  7. #7
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    79

    Re: Creation and enabling of SIP profile

    In 3rd edition class name is the same, but I don't know if they changed function calls from 2nd edition.

Posting Permissions

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