[cisco-voip] Configuration sample for FXO and FXS card

Joe Cisco smetsysocsic at gmail.com
Fri May 9 14:40:59 EDT 2008


HERE'S A CONFIG FOR an FXO

!
voice class h323 1
 h225 timeout tcp establish 3
!
.
.
.
.
!
!
interface GigabitEthernet0/0
 ip address 10.20.0.1 255.255.255.0
 h323-gateway voip interface
! ***NOTE: NEXT STATEMENT BINDS H323 TO THIS INTERFACE
!
! ***NOTE2: THIS IS THE IP ADDRESS TO PUT IN THE H323
! ***GATEWAY CONFIG IN CALLMANAGER
 h323-gateway voip bind srcaddr 10.20.0.1
!
.
.
.
.
!
voice-port 0/1/0
 echo-cancel coverage 32
 connection plar opx 3100
 description (212) 555-1234
 caller-id enable
!
voice-port 0/1/1
 echo-cancel coverage 32
 connection plar opx 3100
 description (212) 555-1235
 caller-id enable
!
voice-port 0/1/2
 echo-cancel coverage 32
 connection plar opx 3100
 description (212) 555-1236
 caller-id enable
!
voice-port 0/1/3
 echo-cancel coverage 32
 connection plar opx 3100
 description (212) 555-1237
 caller-id enable
!
.
.
.
.
!
dial-peer voice 100 pots
 description Outbound Dial-Peer
 preference 4
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 port 0/1/0
!
dial-peer voice 101 pots
 description Outbound Dial-Peer
 preference 3
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 port 0/1/1
!
dial-peer voice 102 pots
 description Outbound Dial-Peer
 preference 2
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 port 0/1/2
!
dial-peer voice 103 pots
 description Outbound Dial-Peer
 preference 1
 destination-pattern 9T
 progress_ind setup enable 3
 progress_ind progress enable 8
 port 0/1/3
!
!
dial-peer voice 911100 pots
 description 911 Call
 preference 4
 destination-pattern 911
 port 0/1/0
 prefix 911
!
dial-peer voice 911101 pots
 description 911 Call
 preference 3
 destination-pattern 911
 port 0/1/1
 prefix 911
!
dial-peer voice 911102 pots
 description 911 Call
 preference 2
 destination-pattern 911
 port 0/1/2
 prefix 911
!
dial-peer voice 911103 pots
 description 911 Call
 preference 1
 destination-pattern 911
 port 0/1/3
 prefix 911
!
!
dial-peer voice 3000 voip
 description 3XXX extension to SUBSCRIBER
 preference 1
 destination-pattern 3...
 progress_ind setup enable 3
 progress_ind progress enable 8
 voice-class h323 1
! ***NOTE: IP ADDRESS IN NEXT LINE IS IP OF SUBSCRIBER
 session target ipv4:10.0.0.11
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 3001 voip
 description 3XXX extension to PUBLISHER
 preference 2
 destination-pattern 3...
 progress_ind setup enable 3
 progress_ind progress enable 8
 voice-class h323 1
! ***NOTE: IP ADDRESS IN NEXT LINE IS IP OF PUBLISHER
 session target ipv4:10.0.0.10
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!

-Joe C.

On Thu, May 8, 2008 at 8:12 PM, Cheng <cchengcc at gmail.com> wrote:

> Can someone please kindly supply me a working configration sample for FXO
> interface card? How do I configure the voice port and how do I configure the
> dial-peer ? We plan to use H323 voice gateway with FXO ports for PSTN and
> FXS ports for fax machines at some small remote sites. At central site, we
> are running CCM5.0 cluster.
> Thanks.
>
>
>
>
> _______________________________________________
> 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/20080509/20a1eff7/attachment.html 


More information about the cisco-voip mailing list