How to call a number in the format +38164

I set HUAWEI 1550 to work as a trunk for outgoing calls because I own SIM card with unlimited minutes to 064 , 065 , 066 and 011 area codes , but it must be called only in the format +38164 , +38165 , +38166 , + 38111xxxxxx . I would like to avoid typing +38164 , +38165 , +38166 , +38111 on the phone , but only to dial 064 , 064 , 066 , 011xxxxxxx . How to make a route to PBX dial +38164 When I’m on the phone I type 064 and awaits further telephone number , and make a call ? Also I am interested in the ability to disable incoming calls to SIM card - that gives busy tone for example ?
Advance grateful hoping that I will get an answer !