Re: VoIP - PREFIX /DIGIT STRIP

From: Le Dinh An (anld@ispco.com.vn)
Date: Thu Sep 12 2002 - 00:19:31 GMT-3


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@verizon.net]
>Sent: Wednesday, September 11, 2002 12:26 PM
>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:50 GMT-3