If PSTN does not send ANI, then the gateway will use the destination pattern of the incoming dial peer as the ANI. The destination pattern needs to be a specific match like 911. It will not be used if there are any wild cards, like 9..
This is mostly seen as an issue in T1/E1 CAS.