My outbound route look like this
()+ |[08XXXXXXXX./]
(08)++628|[XXXXXXXX./]

Meaning if someone call
-start with 08 and total digit 10 or more then allow
-(start with +628 then replace +628 with 08) and total digit 10 or more then allow.

Basically, I’ll allow people calling with total digit 10 or 11 or 12.
The problem is when people calling 12 digit number its ok, but not with 11 digit number.
With 11 digit it said “The number you have dialed is not in service”

Thank you for your respond.
Actually I got what I want by mixing prepend and prefix.
Which is replacing +628 with 08, but unfortunately only work with 12 digit.
If that way wrong what is the correct way to do that for 10,11,12 digit
thanks