×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    30

    Unhappy How to distinguish miscall and disconneted incomming call

    Hi Friends,
    I am not able to distinguish between miscall(incoming call disconnected by caller) and incoming disconnected call(call disconnected by reciever) because disconnected incoming call is considered as incoming call in nokia phones.

    I have tried with below mentioned code
    CTelephony::TCallInfoV1 callInfoV1;
    CTelephony::TCallInfoV1Pckg callInfoV1Pckg( callInfoV1 );

    CTelephony::TCallSelectionV1 callSelectionV1;
    CTelephony::TCallSelectionV1Pckg callSelectionV1Pckg( callSelectionV1 );

    CTelephony::TRemotePartyInfoV1 remotePartyInfoV1;
    CTelephony::TRemotePartyInfoV1Pckg remotePartyInfoV1Pckg( remotePartyInfoV1 );

    callSelectionV1.iLine = CTelephony::EVoiceLine;
    callSelectionV1.iSelect = CTelephony::EInProgressCall;

    iTelephony->GetCallInfo(callSelectionV1Pckg, callInfoV1Pckg, remotePartyInfoPckg)


    but in this case remoteparty info's direction is always Unknown in above both cases. while normal calling its working fine.


    Thanks in Advance
    Vijay Narayandasani

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: How to distinguish miscall and disconneted incomming call

    You can implement a call log watcher and then the log event direction you can check which will be "Missed call" in the case of missed call.
    Cheers,
    Mayank

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    30

    Re: How to distinguish miscall and disconneted incomming call

    thanks for reply but if log has been disable from log setting then it can not be accessed.

  4. #4
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to distinguish miscall and disconneted incomming call

    Hi,

    Missed calls come under missed call log and disconencted calls are come in recieved call.

    So you can read it directly from logs.

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    30

    Re: How to distinguish miscall and disconneted incomming call

    thanks for replies.
    as you have mentioned to read from log but this thing will not work in case user have disabled logs so plz suggest any other method.

  6. #6
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: How to distinguish miscall and disconneted incomming call

    Hi,

    In this case you have to write for listning an incoming call and you have to check whether ant key is pressed for disconneting it.

  7. #7
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: How to distinguish miscall and disconneted incomming call

    See http://wiki.forum.nokia.com/index.ph...ExitCode_value - you can check the exit codes on the call to see what happened. Some of the common ones are listed in the TSS
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Posting Permissions

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