cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
3
Replies

destination-pattern with "*" and "#"

Hi Guys,

I need to create a dial-peer with destination pattern like this "*75....#".

All digits matched must be send, include "*" and "#".

Any clue?

thanks in advance

3 Replies 3

Brandon Buffin
VIP Alumni
VIP Alumni

VOIP dial peers send all digits by default. POTS dial peer strip wild cards by default, so you could configure one of the following:

dial-peer voice 1 pots

destination-pattern *75....#

forward-digits all

or

dial-peer voice 2 voip

destination-pattern *75....#

Hope this helps. If so, please rate the post.

Brandon

HI,

My config is as follows:

dial-peer voice 70 pots

destination-pattern *75....#

port 1/1/0

forward-digits all

Even with forwards-digits all, it seems that the router is not sending the trailing "#" as shown below by debug vtsp.

*Mar 2 01:07:04.887: %SYS-5-CONFIG_I: Configured from console by console

*Mar 2 01:08:21.011: %SYS-5-CONFIG_I: Configured from console by vty0 (15.17.12

3.116)

*Mar 2 01:11:01.446: vtsp_do_call_setup_req

*Mar 2 01:11:01.446: vtsp_allocate_cdb,cdb 0x81ED2DD0

*Mar 2 01:11:01.446: vtsp_insert_cdb,cdb 0x81ED2DD0

*Mar 2 01:11:01.446: vtsp_do_call_setup_req calling oct3 0x0, called oct3 0x80

*Mar 2 01:11:01.446: vtsp_do_call_setup_req: Call ID=256, guid=8211E56C

*Mar 2 01:11:01.450: digit_strip:1, pcn:*753101, poa:.T

*Mar 2 01:11:01.450: pcn:*753101, poa:.T

*Mar 2 01:11:01.450: Final pcn:*753101, poa:.T, dial_string:*753101

*Mar 2 01:11:01.450: calling oct3 0x0, called oct3 0x80

*Mar 2 01:11:01.450: vtsp:[1/1/0 (262), S_SETUP_REQUEST, E_TSP_PROCEEDING]

It doesn't seem that this would be the behavior according to this document.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a0080080aec.html

One way to work around this issue would be to use the "dial-peer terminator" command to change the terminator character to something other than #. This may not be desirable if you have other variable length dial peers.

Another option is to use a voice translation rule on the dial peer such as:

voice translation-rule 1

rule /^\(*75...\)/ /\1#/

voice translation-profile 1

translate called 1

dial-peer voice 70 pots

destination-pattern *75....#

port 1/1/0

forward-digits all

translation-profile outgoing 1

Brandon