Legacy EPBX Outbound NO MATCH or Dial Tone, inbound works

I have found this thread,

but when I put “w” or “W” in any of the trunk or outbound prefix,
I get error pop-up, invalid dialplan.

After going through few posts, it seems that asterisk starts dialing number immediately and legacy epbx have to Wait for entire string to be punched once dial tone is heard.

Any suggestions?