Asterisk open source phone systems - determining which 800 phone number was used?
On our system when we recieve a call I see
VERBOSE[21579] logger.c: -- Executing Set("IAX2/abcdef", "FROM_DID=1234567890") in new stack
in /var/log/asterisk/full, and possibly on the asterisk console too - I forget. Here abcdef is the name of the inbound route you've configured and FROM_DID is our line number. Even if you don't get the FROM_DID, are all you numbers set up for the same incoming IAX2 route - can you distinguish by route?