×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    41

    How to get default call type? (Internet call or voice call)

    Are there any API to get default call type?
    And are there any API to change default call type?

  2. #2
    Registered User
    Join Date
    Jul 2005
    Posts
    41

    Re: How to get default call type? (Internet call or voice call)

    Do Device Management help to get these inof?

    http://wiki.forum.nokia.com/index.ph...ement_Settings

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: How to get default call type? (Internet call or voice call)

    if you want to get default call type,you could check the following solution.
    Using Publish & Subscribe keys it is possible to check the type of the outgoing call and also the call state. There are three PS keys which are used for attaching and getting the property values.
    const TUid KPSUidTelephonyCallHandling = { 0x101f8787 };
    const TUint32 KTelephonyCallState = 0x00000004;
    const TUint32 KTelephonyCallType = 0x00000005;
    To get the call type:
    RProperty iProperty;
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallType, calltype);
    Possible enumeration values for call type (TPSTelephonyCallType)
    EPSTelephonyCallTypeUninitialized = 0,
    EPSTelephonyCallTypeNone,
    EPSTelephonyCallTypeCSVoice,
    EPSTelephonyCallTypeFax,
    EPSTelephonyCallTypeData,
    EPSTelephonyCallTypeHSCSD,
    EPSTelephonyCallTypeH324Multimedia,
    EPSTelephonyCallTypeVoIP
    To get the call state information:
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallState , callstate);
    Possible enumeration values for call state (TPSTelephonyCallState)
    EPSTelephonyCallStateUninitialized = 0,
    EPSTelephonyCallStateNone,
    EPSTelephonyCallStateAlerting,
    EPSTelephonyCallStateRinging,
    EPSTelephonyCallStateDialling,
    EPSTelephonyCallStateAnswering,
    EPSTelephonyCallStateDisconnecting,
    EPSTelephonyCallStateConnected,
    EPSTelephonyCallStateHold
    PS Keys for Call Status & Indicators API is not part of the official S60 SDK but can be found in the Extensions plug-in package for S60 3rd Edition SDK for Symbian OS, for C++, MR. Note that Nokia is not giving any binary compatibility promise for these APIs; neither between platform versions or within a platform version.

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    41

    Re: How to get default call type? (Internet call or voice call)

    Thanks, CRepository really works.

  5. #5
    Regular Contributor
    Join Date
    Sep 2007
    Location
    Hangzhou
    Posts
    399

    Re: How to get default call type? (Internet call or voice call)

    Quote Originally Posted by lming View Post
    if you want to get default call type,you could check the following solution.
    Using Publish & Subscribe keys it is possible to check the type of the outgoing call and also the call state. There are three PS keys which are used for attaching and getting the property values.
    const TUid KPSUidTelephonyCallHandling = { 0x101f8787 };
    const TUint32 KTelephonyCallState = 0x00000004;
    const TUint32 KTelephonyCallType = 0x00000005;
    To get the call type:
    RProperty iProperty;
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallType, calltype);
    Possible enumeration values for call type (TPSTelephonyCallType)
    EPSTelephonyCallTypeUninitialized = 0,
    EPSTelephonyCallTypeNone,
    EPSTelephonyCallTypeCSVoice,
    EPSTelephonyCallTypeFax,
    EPSTelephonyCallTypeData,
    EPSTelephonyCallTypeHSCSD,
    EPSTelephonyCallTypeH324Multimedia,
    EPSTelephonyCallTypeVoIP
    To get the call state information:
    iProperty.Get(KPSUidTelephonyCallHandling, KTelephonyCallState , callstate);
    Possible enumeration values for call state (TPSTelephonyCallState)
    EPSTelephonyCallStateUninitialized = 0,
    EPSTelephonyCallStateNone,
    EPSTelephonyCallStateAlerting,
    EPSTelephonyCallStateRinging,
    EPSTelephonyCallStateDialling,
    EPSTelephonyCallStateAnswering,
    EPSTelephonyCallStateDisconnecting,
    EPSTelephonyCallStateConnected,
    EPSTelephonyCallStateHold
    PS Keys for Call Status & Indicators API is not part of the official S60 SDK but can be found in the Extensions plug-in package for S60 3rd Edition SDK for Symbian OS, for C++, MR. Note that Nokia is not giving any binary compatibility promise for these APIs; neither between platform versions or within a platform version.
    has any type can get the CallDirectionType such as InComing or OutGoing?
    0x00000001?
    0x00000002?
    0x00000003?
    0x00000006?


    please help me, thanks.
    Yesterday is a history. Tomorrow is a mystery. But today is a gift

  6. #6
    Registered User
    Join Date
    Jul 2010
    Posts
    1

    Re: How to get default call type? (Internet call or voice call)

    Even I was about to tell you the same solution what frank has told you. I hope it really worked.
    Lovefilm UK

Similar Threads

  1. Replies: 9
    Last Post: 2010-03-13, 09:17
  2. 3G Voice Call and simultaneous data connection
    By olshevch in forum General Development Questions
    Replies: 8
    Last Post: 2009-12-19, 14:26
  3. Topic: Voice call status problem Need Help!!!
    By hoy_cpe in forum Symbian C++
    Replies: 3
    Last Post: 2006-06-08, 23:48
  4. Voice call in middle of a data call
    By njacharya21 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-01-29, 16:20
  5. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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