×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    33

    SIP Profile Administration API

    The docs for the S60 3.2 API indicate that the SIP Profile Administration API is now public. What class is this? (ie. CSIPProfileAdmin??) I'm having trouble finding the docs for it in the DocBrowser. I'm basically looking for a way to either modify a password created by the LCP tool or create an entire SIP profile so that we don't have to give customers our SIP passwords.

    Alternatively, does anyone know a way to use the Local Client Provisioning plug-in such that you don't have to re-package (and therefore re-sign) it every time you change the wbxml file? Thanks in advance!

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2007
    Posts
    123

    Re: SIP Profile Administration API

    Hi,
    Using CSIPManagedProfileRegistry and CSIPManagedProfileClass you can edit, add or delete existing SIP profiles.

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    33

    Re: SIP Profile Administration API

    Thanks! It looks like that was exactly what I was looking for.

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    37

    Re: SIP Profile Administration API

    Hi,
    I'm using CSIPManagedProfile and CSIPManagedProfileRegistry. I can create a profile using the following code, but it does not set the Default Access Point property in the created SIP profile.

    Code:
    		CSIPManagedProfileRegistry*	profRegistry = CSIPManagedProfileRegistry::NewLC(*iRegObs);
    
    		TSIPProfileTypeInfo info;
    		info.iSIPProfileClass = TSIPProfileTypeInfo::EInternet;
    		info.iSIPProfileName.Copy(_L8("IETF"));
    		CSIPManagedProfile *profile = profRegistry->CreateL(info);
    		CleanupStack::PushL(profile);
    		profile->SetParameter(KSIPProviderName,_L8("MyProf"));
    		profile->SetParameter(KSIPAccessPointId,1);
    		//more such SetParameter calls for other settings
    		profRegistry->SaveL(*profile);
    		CleanupStack::PopAndDestroy(2); //profile and profRegistry
    Is there some other way to set the default access point. Also, I don't want to create the profile everytime. For every successive use, I wanna just find the profile using CSIPManagedProfileRegistry::Profiles() function and then set the Default Access Point.

    Anybody any clues? Has any of you done anything similar b4 and can help me out with this?

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    4

    Smile Re: SIP Profile Administration API

    Quote Originally Posted by Canis85 View Post
    The docs for the S60 3.2 API indicate that the SIP Profile Administration API is now public. What class is this? (ie. CSIPProfileAdmin??) I'm having trouble finding the docs for it in the DocBrowser. I'm basically looking for a way to either modify a password created by the LCP tool or create an entire SIP profile so that we don't have to give customers our SIP passwords.

    Alternatively, does anyone know a way to use the Local Client Provisioning plug-in such that you don't have to re-package (and therefore re-sign) it every time you change the wbxml file? Thanks in advance!

    I think you don't need to re-package the LCP plug-in every time, just change the wbxml file and copy it to the destination folder manully.

  6. #6
    Registered User
    Join Date
    Jul 2008
    Posts
    33

    Re: SIP Profile Administration API

    Yeah, I ended up just using HTTP to download a wbxml file from a server on demand. That way I don't have to worry about packaging the wbxml file into the .SIS file when we send it to customers.

Similar Threads

  1. SIP default profile setting weirdness
    By snarfer in forum VoIP
    Replies: 7
    Last Post: 2011-06-01, 12:01
  2. Resolverplugin replies message 401
    By dimaar in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2008-12-10, 17:09
  3. PrefConRef in SIP Profile
    By gammav in forum VoIP
    Replies: 5
    Last Post: 2008-12-02, 10:24
  4. SDP Codec API problem for SIP Invite
    By vidhu.0007 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-11-12, 13:07
  5. SIP API Version 1.0 Example - Cannot get working
    By stlum9495 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2004-07-20, 07:41

Posting Permissions

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