You are right Bill, I hadn’t thought this through.
Try this in extensions_custom.conf
[from-pstn-custom]
exten => 15556667777,1,Set(CALLERID(number) = ${EXTEN})
exten => 15556668888,1,Set(CALLERID(number) = ${EXTEN})
.
.
. ; list a separate line for each fax number.
This should set the caller ID for each number listed to its DID. Then it will go on to the next context which is ext-did and your DID inbound routing will take over.