[cisco-voip] H323 config

CarlosOrtiz at bayviewfinancial.com CarlosOrtiz at bayviewfinancial.com
Fri Apr 20 08:37:44 EDT 2007


Scott - Here you go.  May help some others as well.

voice class codec 1
 codec preference 1 g711ulaw    ****    This will let you set a 
preferential  codec on your calls through the gateway to the PSTN or vice 
versa
 codec preference 5 g729r8         ****     See the VOIP dial-peers below 
that contain the staetement  "voice-class codec 1"


dial-peer voice 1 pots                  *** inbound call leg
 incoming called-number . 
 direct-inward-dial
!
dial-peer voice 2 voip          *** inbound call leg
 voice-class codec 1
 incoming called-number .
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 100 voip                        **** DID range to SUB
 preference 1
 destination-pattern 71..
 progress_ind setup enable 3
 voice-class codec 1
 session target ipv4:10.10.10.2
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 101 voip                        *** DID range to PUB
 preference 2
 destination-pattern 71..
 progress_ind setup enable 3
 translate-outgoing called 100
 voice-class codec 1
 session target ipv4:10.10.10.1
 dtmf-relay h245-alphanumeric
 no vad
!

!
dial-peer voice 91112 pots              *** 911/411 calls to PRI 2
 destination-pattern 9[4,9]11
 progress_ind alert enable 8
 direct-inward-dial
 port 0/1/1:23
 forward-digits 3
!
dial-peer voice 9111 pots               *** 911/411 calls to PRI 1
 preference 2
 destination-pattern 9[4,9]11
 progress_ind alert enable 8
 direct-inward-dial
 port 0/0/1:23
 forward-digits 3
! 
dial-peer voice 712 pots                        *** Local calls to PRI2
 destination-pattern 9[2-9]..[2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/1/1:23
! 
dial-peer voice 71 pots                 *** Local calls to PRI 1
 preference 2
 destination-pattern 9[2-9]..[2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/0/1:23
! 
 dial-peer voice 1112 pots              *** LD calls PRI 2
 destination-pattern 91[2-9]..[2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/1/1:23
 prefix 1 
! 
dial-peer voice 111 pots                        *** LD calls PRI 1
 preference 2
 destination-pattern 91[2-9]..[2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/0/1:23
 prefix 1 
! 
dial-peer voice 901112 pots             **** INTL calls PRI 2
 destination-pattern 9011T
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/1/1:23
 prefix 011
!
dial-peer voice 90111 pots              *** INTK calls PRI 2 
 preference 2
 destination-pattern 9011T
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/0/1:23
 prefix 011
! 
 dial-peer voice 18002 pots                     *** TOLL FREE PRI 2
 destination-pattern 918[0,6,7,8][0,6,7,8][2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/1/1:23
 prefix 18
! 
dial-peer voice 18001 pots                      *** TOLL FREE PRI 1
 preference 2
 destination-pattern 918[0,6,7,8][0,6,7,8][2-9]......
 progress_ind alert enable 8
 progress_ind progress enable 8
 direct-inward-dial
 port 0/0/1:23
 prefix 18
! 

 








"Jonathan Charles" <jonvoip at gmail.com> 
Sent by: cisco-voip-bounces at puck.nether.net
04/19/2007 06:49 PM

To
"Voll, Scott" <Scott.Voll at wesd.org>
cc
cisco-voip at puck.nether.net
Subject
Re: [cisco-voip] H323 config






Don't have a sample config...

However, you just need to make sure you create two dial-peers for each 
outbound destination-pattern, and add a preference statement on each.

Also, a pair of dial-peers on the inbound (for each) with 'incoming 
called-number .' and a 'direct-inward-dial' to ensure you get digits and 
send them to CCM. 

Also, make sure you have a voip dial-peer pointing at each CCM with the 
pattern for your DID range, with the best preference to your sub.


Jonathan



On 4/19/07, Voll, Scott <Scott.Voll at wesd.org> wrote:
Can someone send me a sample config with 2 or 3 pri's in use for an H323 
Voice gateway.
 
I'm moving from MGCP to H323 and a sample would be great.
 
Scott

_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070420/83419a29/attachment-0001.html 


More information about the cisco-voip mailing list