https://tech.iprock.com/archives/17039
Asterisk/FreePBX: How to get the DID of a SIP trunk when the provider doesn't send it (and why some incoming SIP calls fail)