Hi Kuba, On 08/06/2015 11:56 AM, Kuba Pawlak wrote: > Dial() method is generic for all modems but hfpmodem may not support some dial > strings. HFP 1.6 SPEC for ATD says: "Only voice calls are covered in this > specification." > Problem is with dialling USSD codes. Request is accepted and a call object > is state dialling is created. USSD code is completed, result displays on > the phone, but there are no events that would allow oFono to remove this fake > call object. > We may end up in such situation (Samsung S3 4.3): > ofonod[292]: > ATD*132#;\r > ofonod[292]: < \r\nOK\r\n Funny that the HFP AG implementation accepts this, but okay. On a phone, the Dialer was instructed to call SupplementaryServices.Initiate() first, before calling VoiceCallManager.Dial(). See doc/mmi-codes.txt. Since we have no SupplementaryServices / ussd atom, I guess it would make sense to have the voicecall atom double check that the passed in string is not a USSD string. Try the attached patch. Regards, -Denis