From: robert (yeer012@hawaii.rr.com)
Date: Thu Sep 12 2002 - 05:59:47 GMT-3
If are using the dial-peer Pots then the defined digit(s) in the
destination-pattern will be striped so by using the prefix command you
can substitute or reinsert that character ex: destination-pattern 5...
the 5 will be removed and the other 3 digits will be sent to the port,
but if you need to pre-pended those 3 digits use the prefix command.
When using the dial-peer Voip then the defined digits in the
destination-pattern is not removed and there isn't a prefix command so
you have to use something like translation rules to manipulate the
outcome.
Robert
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
kpalmer
Sent: Wednesday, September 11, 2002 6:26 AM
To: ccielab@groupstudy.com
Subject: VoIP - PREFIX /DIGIT STRIP
Greetings:
I'm cramming on VoIP and it's associated QOS.
I have 5 different Cisco Press books open on my desktop to
go with the 3 CCO browser window.
Anyone got a consolidated, tested source that could simplify my efforts?
Also, I'm brain cramping on digit striping w/PREFIX ? I read it over and
over and look at the
config and it still MAKE SENSE, too me.
Router A Branch Office w/EM PBX VoIP
-------------------------------
dial-peer voice 2 voip
destination-pattern 6......
session target ipv4:1.1.1.2
!
dial-peer voice 1 pots
destination-pattern 5...... <-----/ ?
port 3/0/0 /
prefix ,,5 <-------------------/ ?
voice-port 3/0/0
type 2
voice-port 3/0/1
type 2
interface Serial2/0
ip address 1.1.1.1 255.255.255.0
Router B Branch Office w/EM PBX VoIP
-------------------------------
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port 3/0/0
type 2
!
voice-port 3/0/1
type 2
!
voice-port 3/1/0
!
voice-port 3/1/1
dial-peer voice 1 pots
destination-pattern 6...... <------/ ?
port 3/0/0 /
prefix ,,6 , <-------------------/ ?
dial-peer voice 2 voip
destination-pattern 5551234
session target ipv4:1.1.1.1
!
interface Serial2/0
ip address 1.1.1.2 255.255.255.0
----------------------------------------
Any Help....??
KPalmer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:49 GMT-3