×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    3

    How to dial GSM hash code or set a call-divert?

    I want to set call-divert by myself, I know I can input GSM hash
    code--"**21*DestinationNumber#", then press "dial" key to Set and Activate divert all calls to the destination number.

    But When I used RCall.Dial(aTelNumber) to dial "**21*DestinationNumber#", it responsed that "That number is not uesd", I have tried to load Hayes.tsy and Gsmbsc.tsy, but it didn't work.

    How can I dial this kind of GSM hash code, or is there any
    other way to set call-divert?

    Help! Thanks a lot!


    Wewe

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144
    Have you tried using key sending to the phone.app, it should work.

    yucca

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    3
    sorry, I can't quite catch your idea. Can you explain it?
    Thank you!

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144
    have a look at this:
    http://discussion.forum.nokia.com/fo...2AMuteCallL%2A

    then just modify it to send your key combination.

    yucca

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    3

    send key code problem

    Now I can send YES to phone.app. but phone.app can only receive one YES key even if I send several.

    And phone.app can not receive other keys. what may be the cause?

    thank you for your help.

    I use the following code:

    RWsSession sess=CCoeEnv::Static()->WsSession();
    TWsEvent event;
    TInt id = sess.FindWindowGroupIdentifier(0, _L("*Phone?") );
    // 1
    event.SetType(EEventKey);
    event.SetTimeNow();
    event.Key()->iCode = 53;
    event.Key()->iModifiers = 0;
    event.Key()->iRepeats = 3;
    event.Key()->iScanCode = EStdKeyNull;
    sess.SendEventToWindowGroup( id, event );

    // 1
    event.SetType(EEventKey);
    event.SetTimeNow();
    event.Key()->iCode = EKeyYes;
    event.Key()->iModifiers = 0;
    event.Key()->iRepeats = 0;
    event.Key()->iScanCode = EStdKeyNull;
    sess.SendEventToWindowGroup( id, event );

  6. #6
    Registered User
    Join Date
    Apr 2005
    Location
    Pune
    Posts
    115

    Re: How to dial GSM hash code or set a call-divert?

    Hi wewe_gu,

    I am also trying to dial hash code for setting call divert but as you pointed it just accepts the EKeyYes and launches Log app. Were you able to solve the problem ?If yes, How?
    Do tell me if you know any other alternatives or workarounds.


    Cheers
    Shivam

Posting Permissions

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