02.07.2013 Views

show voice port - Tecnológico de Costa Rica

show voice port - Tecnológico de Costa Rica

show voice port - Tecnológico de Costa Rica

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring FXS Interfaces<br />

Wild Cards and Number Expansion<br />

20 Voice over IP Quick Start Gui<strong>de</strong><br />

Office PBXs are usually configured so a user can dial a local call (within the same PBX) by dialing<br />

the extension only—for instance, the four-digit extension 3737 or the five-digit extension 53737<br />

instead of the full telephone number, 1 408 555-3737.<br />

You can provi<strong>de</strong> the same shortcut on a <strong>voice</strong> over IP network by using the number-expansion<br />

(num-exp) command. This command tells the router to expand a particular sequence of dialed<br />

numbers into a complete telephone number (<strong>de</strong>stination pattern). For instance, to expand 3737 into<br />

408 555-3737, enter the following command:<br />

West(config)# num-exp 3737 +14085553737<br />

To expand 4141 into 1 408 555-4141, enter the following command:<br />

West(config)# num-exp 4141 +14085554141<br />

More generally, you can use the period (.) as a wild-card character representing a single digit. For<br />

instance, the command<br />

West(config)# num-exp .... +1408555....<br />

expands any dialed sequence of four digits by prefixing +1408555 to it.<br />

Note You must still configure each telephone number in full as a local dial peer so the router can<br />

find the <strong>voice</strong> <strong>port</strong> it belongs to.<br />

To use five-digit extensions beginning with the numeral 5 rather than four-digit extensions, you<br />

would enter the following command:<br />

West(config)# num-exp 5.... +1408555....<br />

The corresponding commands for the East router would be (for four-digit extensions):<br />

East(config)# num-exp .... +1919958....<br />

or for five-digit extensions:<br />

East(config)# num-exp 8.... +1919958....<br />

Checking the Configuration<br />

If you followed the examples, you should now be able to place calls between telephones connected<br />

to the same router using the extension instead of the full telephone number. You can use the <strong>show</strong><br />

num-exp command to verify that the data you configured is correct.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!