Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User shakumar_21's Avatar
    Join Date
    May 2009
    Posts
    20
    Hi,

    SIP profile Creation.
    Iam testing in Nokia N79, SIP profile was created but shows “Registration Failed”

    In profile :
    Default destination: None
    Default access point : None

    When I change Default destination to Internet in mobile manually , after disconnecting and Connecting wifi SIP was Registered.

    How to set “ Default destination = Internet” and “Default access point = current Active access point”

    Code:

    CSIPManagedProfileRegistry* profRegistry =
    CSIPManagedProfileRegistry::NewLC(*this);

    TSIPProfileTypeInfo info;
    info.iSIPProfileClass = TSIPProfileTypeInfo::EInternet;
    info.iSIPProfileName = KProfileName;

    CSIPManagedProfile *profile = profRegistry->CreateL(info);
    CleanupStack::PushL(profile);

    profile->SetParameter(KSIPProviderName,_L8("NewProfile"));
    profile->SetParameter(KSIPAccessPointId,1);
    profile->SetParameter(KSIPSigComp,EFalse);
    profile->SetParameter(KSIPSecurityNegotiation,EFalse);
    profile->SetParameter(KSIPUserAor,_L8("sip:107@192.118.2.111"));
    profile->SetParameter(KSIPAutoRegistration,2); //AlwaysOn
    profile->SetParameter(KSIPDefaultProfile,ETrue);
    profile->SetParameter(KSIPRegistrar,
    KSIPServerAddress,_L8("sip: 192.118.2.111;lr;transport=UDP"));
    profile->SetParameter(KSIPRegistrar,KSIPDigestUserName,_L8("105"));
    profile->SetParameter(KSIPRegistrar,KSIPDigestRealm,_L8("Nrealm"));
    profile->SetParameter(KSIPRegistrar,KSIPDigestPassword,_L8(""));

    profRegistry->SaveL(*profile);
    CleanupStack::Pop( profile );
    CleanupStack::Pop( profRegistry);
    CleanupStack::PopAndDestroy(2);


    Thanks,
    Shakumar

  2. #2
    Registered User rjschenk's Avatar
    Join Date
    Mar 2010
    Posts
    12
    Afaik you can either set Default destination or Default access point.

  3. #3
    Registered User shakumar_21's Avatar
    Join Date
    May 2009
    Posts
    20
    I set profile Type & access pointid as ,

    TSIPProfileTypeInfo info;
    info.iSIPProfileClass = TSIPProfileTypeInfo::EInternet;
    info.iSIPProfileName = KProfileName;

    profile->SetParameter(KSIPAccessPointId,1);

    even though Default destination: None , in Mobile.

    But in Emulator there is no Default Destination, only Default access point is there.
    In emulator also , I can’t set Default Access Point.

    Can any one have sample code , which create sip profile and register programmatically ( Or ) let me know what’s wrong I did on my code.

    Thanks
    shakumar
    Last edited by shakumar_21; 2010-04-19 at 13:54. Reason: Additional Information

Similar Threads

  1. sip registration question
    By nimco in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-12-23, 08:58
  2. s60 sip profile setting in j2me
    By nimco in forum VoIP
    Replies: 3
    Last Post: 2007-10-08, 16:42
  3. setting Sip Profile?
    By feliciano in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-06-27, 15:10
  4. setting SIP Profile?
    By feliciano in forum VoIP
    Replies: 0
    Last Post: 2007-06-16, 16:37
  5. SIP Registration error
    By gamma8 in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-11-29, 09:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved