When a voice gateway receive a call , you can divide your call in an inbound and outbound leg.

Let’s see how the inbound priority matching .

  1. incoming-called-number (called number “DNIS” information used)
  2. answer-address (calling number “ANI” information used)
  3. destination-pattern (calling number “ANI” information used)
  4. voice-port (that has dial port configured)