McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 49

↗ View in doc context
page
49
source
voice-quality/troubleshooting/cisco-ios-vs-iosxe/cisco-ios-vs-iosxe.md
chunk_id
voice-quality::troubleshooting::cisco-ios-vs-iosxe::cisco-ios-vs-iosxe::64

! dial-peer voice 1 pots destination-pattern 9011T port 0/0/0:23 !

This example shows a configuration with no digit-strip in place. If the same number is called, the 9011 is sent .

! dial-peer voice 1 pots destination-pattern 9011T port 0/0/0:23 no digit-strip !

The second is the ability to specify how many digits you would like to forward on the POTS dial-peer. Take this example where you receive a call for 918005532447 from CUCM. In this situation, you want to remove the 9, but send the rest of the number starting with the 1. If you configure the forward-digits command on the POTS dial-peer, you can specify exactly how many digits you send.

! dial-peer voice 1 pots destination-pattern 918005532447 forward-digits 11 port 0/2/0 !

Lastly, POTS dial-peers can make use of the prefix command to add digits to a call before routing out the voice-port. This example strips off the explicitly defined 91 and prefix 007 to the number before sending the call out the voice-port.

! dial-peer voice 1 pots destination-pattern 91T prefix 007 port 0/1/0:15 !

Digit Manipulation via Voice Translation Rules and Profiles Voice translation-rules are regular expressions (regex) used to transform digits. Translation-rules and