[cisco-voip] Quest for the best H.323 dial-peer configuration

Nick Matthews matthnick at gmail.com
Mon Mar 15 01:05:09 EDT 2010


[1-79] is going to cause problems with your other dial peers.  If you
do digit by digit dialing (fxs ports, srst/cme phones) then you're
going to hit dial peer 10 for 4 digit numbers that start with 9.

Additionally, since 10 is the only dial peer that will match [0-8]...
there is no reason to have a preference command.

Other than that, it looks alright.  Having incoming called-number . on
all the pots dial peers other than 1 is redundant.  All incoming TDM
calls are going to match the first dial peer in the router with
incoming called-number . (even FXS which can get you in trouble).
It's not going to cause problems but is a misunderstood aspect of dial
peer matching.

As an aside, I prefer to put () around explicit matches that I want to
forward.  For example, destination-pattern 9911 with a prefix of 911
could be simplified to a destination-pattern of 9(911).  The
parenthesis are a regular express non-literal match so they aren't
discarded.  To each his own however.

-nick

On Fri, Mar 12, 2010 at 2:27 PM, Carter, Bill <bcarter at sentinel.com> wrote:
> I get confused with "incoming called-number" Should it be "incoming
> called-number ." or ""incoming called-number .T"
>
> Not getting any action here so how about this:
>
> dial-peer voice 1 pots
>  incoming called-number .
>  direct-inward-dial
>  port 0/0/0:23
> !
> dial-peer voice 10 voip
>  preference 1
>  destination-pattern [1-79]...
>  session target ipv4:X.X.X.X
>  incoming called-number .
>  voice-class codec 1
>  voice-class h323 1
>  dtmf-relay h245-alphanumeric
>  fax-relay ecm disable
>  fax-relay sg3-to-g3
>  fax rate disable
>  no vad
> !
> dial-peer voice 100 pots
>  destination-pattern 9[2-9]......
>  direct-inward-dial
>  port 0/0/0:23
> !
> dial-peer voice 101 pots
>  destination-pattern 91[2-9]..[2-9]......
>  direct-inward-dial
>  port 0/0/0:23
>  prefix 1
> !
> dial-peer voice 102 pots
>  destination-pattern 9911
>  direct-inward-dial
>  port 0/0/0:23
>  prefix 911
> !
>
> -----Original Message-----
> From: cisco-voip-bounces at puck.nether.net
> [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Carter, Bill
> Sent: Thursday, March 11, 2010 7:37 PM
> To: Cisco-Voip-Puck
> Subject: [cisco-voip] Quest for the best H.323 dial-peer configuration
>
> I want to put together the worlds best H.323 dial-peer configuration
> template. Here are the guidelines.
>
> - US dial plan
> - telco sends 4-digits
> - all ip phone DNs begin with [0-8]...
> - all ip phones dial 9 then the pstn number
> - don't use 9T
> - pstn connection is a Pri on voice-port 0/0/0:23
> - fxs port 0/1/0 with did ending in 1000
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>



More information about the cisco-voip mailing list