Saturday, 8 September 2012

FXO Port Configuration on Voice Gateway



As we know that POTS trunks are usually derived from the PSTN  (which is a two-wire service) supports a single call only, that connects to an analog port (FXO) on the Cisco voice gateway.   
I will narrate the details below where I will cover how to configure, verify & troubleshoot the FXO ports used to connect to the PSTN.

Configuration

To configure FXO port, you need to gather below information about the circuit that is being  installed from the PSTN service provider.

Whether dual tone multifrequency (DTMF) or pulse dialing is necessary.
Whether the trunk requires loop-start or ground-start signaling.
Supervision type: call answer/disconnect supervision indication method (Frequency & Cadence)

Note: Keep in mind Frequency & Cadence value are very important for call disconnection, if frequency & Cadence value mismatch then you will observe FXO port hangs/call stay connected on FXO ports.


voice service voip
 allow-connections h323 to h323
 supplementary-service h450.12
!
voice class codec 1
 codec preference 1 g711ulaw
!
Trunk group for logical grouping of ports, configuration and joint management of multiple Ports

trunk group FXO
voice-class cause-code 1
 hunt-scheme longest-idle
!
Below  frequency & cadence values used in UAE. You guys can check from your local provider because it’s vary from provider to provider.

voice class custom-cptone UAE-Default
 dualtone disconnect
  frequency 400
  cadence 400 350 225 525
!
voice-port 0/1/0
 trunk-group FXO
supervisory disconnect dualtone mid-call
 supervisory custom-cptone UAE-Default
 input gain 14
 timeouts interdigit 2
 timeouts call-disconnect 3
 timeouts wait-release 3
caller-id enable
connection plar 203 
(PLAR is a feature used to automatically connect an endpoint to a predetermined destination number as soon as the line goes off-hook Like receptionist number)
!
voice-port 0/1/1
 trunk-group FXO
 supervisory disconnect dualtone mid-call
 supervisory custom-cptone UAE-Default
 input gain 14
 timeouts interdigit 2
 timeouts call-disconnect 3
 timeouts wait-release 3
 connection plar 203
 caller-id enable
!

voice-port 0/1/2
 trunk-group FXO
 supervisory disconnect dualtone mid-call
 supervisory custom-cptone UAE-Default
 input gain 14
 timeouts interdigit 2
 timeouts call-disconnect 3
 timeouts wait-release 3
 connection plar 203
 caller-id enable
!
voice-port 0/1/3
 trunk-group FXO
 supervisory disconnect dualtone mid-call
 supervisory custom-cptone UAE-Default
 input gain 14
 timeouts interdigit 2
 timeouts call-disconnect 3
 timeouts wait-release 3
 connection plar 203
 caller-id enable
!
dial-peer voice 1 pots
 trunkgroup FXO ( We are using trunkgroup instead of Port )
 destination-pattern 9[19]..
 forward-digits 3
!
dial-peer voice 2 pots
 trunkgroup FXO
 destination-pattern 9[2-8][0-9][1-9]....
 forward-digits 7
!
dial-peer voice 3 pots
trunkgroup FXO
destination-pattern 905[056].......
 prefix 05
!
dial-peer voice 4 pots
 trunkgroup FXO
 destination-pattern 90[234679].......
 prefix 0
!
dial-peer voice 5 pots
 trunkgroup FXO
 destination-pattern 900T
 prefix 00
!
dial-peer voice 6 pots
 trunkgroup FXO
 destination-pattern 9600T
 prefix 600
!
dial-peer voice 7 pots
 trunkgroup FXO
 destination-pattern 9800T
 prefix 800
!

Verifying and Troubleshooting

You can use the show voice all status and show voice port summary for verification

Voice_GW# show voice port summary

PORT      CH   SIG-TYPE   ADMIN OPER STATUS   STATUS   EC
========= == ============ ===== ==== ======== ======== ==
0/1/0         --  fxo-ls      up    down idle     on-hook  y
0/1/1         --  fxo-ls      up    down idle     on-hook  y
0/1/2         --  fxo-ls      up    down idle     on-hook  y
0/1/3         --  fxo-ls      up    down idle     on-hook  y


 

 
 
 







No comments:

Post a Comment