Inbound routing is one of the key pieces to a functional Asterisk phone system. Inbound routes in FreePBX are where we finally get to put the call targets discussed in Chapters 5 and 6 to use. FreePBX allows two specific types of inbound routing:
DID-based routing: DID-based routing routes calls based on the trunk on which the call is coming in. CID-based routing routes calls based on the caller ID number of the person who is calling. Within those two routing methods, FreePBX allows the detection of inbound faxes. DID (Direct Inward Dialing), in VoIP telephony, refers to a trunk and the telephone number associated with that trunk. As it is possible for a phone system to have several trunks, FreePBX allows different routing rules to be set up for each trunk. This is commonly used when a company has a dedicated technical support phone number (which routes directly to their support department), while other calls to the company come in to a different phone number and are routed...