Assuming you are in US first you build all you local area code short codes in you ars table like:
212N;,212N,dial
then you build a LD insert 1 short code like:
2N;,12N,dial
3N;,13N,dial
4N;,etc.
5N;,etc.
Maybe there is a better way but this works for me for both phone logs and PM callbacks...