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 .
- incoming-called-number (called number “DNIS” information used)
- answer-address (calling number “ANI” information used)
- destination-pattern (calling number “ANI” information used)
- voice-port (that has dial port configured)