Whats the differnece between Prefix, Prepend and Match Pattern?

Whats the difference between Prefix, Prepend and Match Pattern?

I’m having a little difficulty setting up my dialing patterns.

Particularly I want 900, 976 and 411 numbers to go to a bogus route, 911 to work, and then regular numbers to be dialed as any of the following
NXXXXXX (local number)
NXXNXXXXXX (number with area code)
1NXXNXXXXXX (1 plus the number and area code)


Hover over the underlined keyword and you will see tooltips.

prefix is the digits that are stripped (such as dial 9 for outside line) prepend is digits to add to the dialed digits (in the front) and match is the pattern to match on (these digits are passed).