Skip to content

Truth table for prefixes

Truth table for prefixes is used for better understanding how matching between Prefix field of Destinations <destinations>{.interpreted-text role="ref"} or/and Dialpeers <dialpeers> and destination number (number B) for the current call is working. Rows, in the table bellow, represent different examples of the destination number for the current call. At same time, columns represent examples of the Prefix field of Destinations <destinations>{.interpreted-text role="ref"} or/and Dialpeers <dialpeers>{.interpreted-text role="ref"}. In the cells at the intersection of these rows & columns states of matching are presented (T - true, F - false).

+-----------+--------+----------+----------+----------+----------+ | > De | > | | | | | | stination | Prefix | | | | | | > | > | | | | | | > | value | | | | | | > number | | | | | | +-----------+--------+----------+----------+----------+----------+ | | > 380 | > 38 | > 38066 | > 3806 | > 38 | | | | 0[6-8] | | 6[2-3] | 0[4-5] | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > T | > T | > T | > F | | 662296132 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > F | > F | > F | > F | | 972296132 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > T | > F | > F | > F | | 779101005 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > T | > T | > T | > F | | 663294134 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > F | > F | > F | > T | | 447101812 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 441 | > F | > F | > F | > F | > F | | 821347689 | | | | | | +-----------+--------+----------+----------+----------+----------+ | > 380 | > T | > T | > F | > F | > F | | 881234567 | | | | | | +-----------+--------+----------+----------+----------+----------+