You would be better off by posting this on Forum Nokia. But this is what I did - deriver a class from CAknTextQueryDialog and override OfferKeyEventL. TKeyResponse CEnterDTMFdlg::OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType) { if (EEventKeyDown == aType) { switch (aKeyEvent.iScanCode) { case '0': ... default: break; } } return CAknTextQueryDialog::OfferKeyEventL(aKeyEvent, aType); } Cheers, Hitesh ----- Original Message ----- From: varun pratapsingh To: pjsip list Sent: Thursday, November 05, 2009 4:53 AM Subject: Code in Symbian to send DTMF Hi I am implementing the DTMFs to be sent in my symbian application after the call is connected by pressing the Mobile Keys. I am using the symbian_ua.h and in it I have defined a new function int dial_dtmf (const char* digit) in symbian_ua.cpp I have defined it as int dial_dtmf(char* digits ) { const pj_str_t* dst; pj_str_t* gh = pj_strcpy2(dst,digits); pjsua_call_dial_dtmf(0,dst); } Now I am using it as TKeyResponse CSymbianDialerAppUi::HandleKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ) { // The inherited HandleKeyEventL is private and cannot be called // [[[ begin generated region: do not modify [Generated Contents] // ]]] end generated region [Generated Contents] switch(aKeyEvent.iCode) { case '0': { dial_dtmf("0"); return EKeyWasConsumed; } break; case '1': { dial_dtmf("1"); return EKeyWasConsumed; } break; ....... ....... return EKeywasnotconsumed; } Is it a righ tway .... Please any body help me inthis ... Regards: Ravi _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org