12-27-2006 05:33 AM - edited 03-15-2019 04:46 AM
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
12-27-2006 06:44 AM
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
12-27-2006 07:06 AM
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]
12-27-2006 07:34 AM
It doesn't seem that this would be the behavior according to this document.
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide