GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Re: VoIP - PREFIX /DIGIT STRIP posted 09/13/2002
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


You're absolutely right Kris.

Krake, Kris wrote:

When sending out a pots dial peer the behavior is to strip off the pattern
match and only pass the part of the original dialed string remaining.
Therefore in your example dial peer one would match any 7 digit number
beginning with 5, strip the 5 and send the remaining 6 digits to a pbx or
other POTS telephony item.


eg...
If I dailed 5551212, dial peer one would match and then forward 551212.

Now the prefix command explicitly appends the prefix back to what would have
formerly been passed on in the dial-string.

Adding ,,5 to what would have been passed now yields ,,5551212.

The commas are usually there to accomodate timing issues with signalling
(e&m immediate start, etc.)

HTH,

If I've misstated anything I'm sure someone will correct me :)

Kris

-----Original Message-----
From: kpalmer [mailto:kip.palmer@xxxxxxxxxxx]
Sent: Wednesday, September 11, 2002 12:26 PM
To: ccielab@xxxxxxxxxxxxxx
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~