Hi Amit,
there are lot of wrong configuration on router becase i use use this for testing.
hilighted fxo port related to the fax.
 i need to wipe out all the configuration and configure only one E1 and few direct line to FXO port.
Thnaks,
hw-module pvdm 0/1
!
!
!
!
redundancy
!
!
controller E1 0/0/0
 pri-group timeslots 1-31 service mgcp
 description CONNECTION TO MTN
!
controller E1 0/0/1
 pri-group timeslots 1-31 service mgcp
 description * Qsig from teltronics ARE *
!
!
!
!
!
interface Loopback0
 no ip address
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description LAN-Interface
 ip address 172.28.28.11 255.255.255.0
 duplex auto
 speed auto
 h323-gateway voip interface
 h323-gateway voip bind srcaddr 172.28.28.11
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn overlap-receiving
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-qsig
 isdn timer T310 120000
 isdn overlap-receiving
 isdn not-end-to-end 64
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn supp-service name calling profile Network-Extension operation-value-tag local
 isdn bind-l3 ccm-manager
 no cdp enable
!
!
ip forward-protocol nd
!
ip http server
ip http authentication local
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.28.28.1
!
!
!
!
!
!
!
control-plane
!
!
voice-port 0/0/0:15
!
voice-port 0/0/1:15
!
voice-port 0/2/0
 cable-detect
 timing hookflash-out 50
 description pstn from teltnix 084463808
!
voice-port 0/2/1
 timing hookflash-out 50
 timing guard-out 1000
 description PSTN 084464546
!
voice-port 0/2/2
 signal groundStart
 timing hookflash-out 50
 timing guard-out 1000
 timing sup-disconnect 85
!
voice-port 0/2/3
 signal groundStart
 timing hookflash-out 50
 timing guard-out 1000
!
ccm-manager redundant-host 172.28.28.10
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 172.28.28.10
ccm-manager config
!
mgcp
mgcp call-agent 172.20.102.10 2427 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
!
mgcp profile default
!
!
dspfarm profile 2 transcode
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 codec g729br8
 codec g729r8
 maximum sessions 2
 associate application SCCP
!
dspfarm profile 1 conference
 codec g729br8
 codec g729r8
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 maximum sessions 2
 associate application SCCP
!
dial-peer voice 1 voip
 description VoIP Trunk to CALLMANAGER-SUBSCRIBER
 session protocol sipv2
 session target ipv4:172.20.102.10
 incoming called-number 9T
 voice-class codec 1
 voice-class h323 1
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 2 voip
 description VoIP Trunk to CALLMANAGER-PUBLISHER
 preference 1
 destination-pattern [1-9]...
 session target ipv4:172.28.28.10
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 no vad
!
dial-peer voice 101 pots
 destination-pattern 5T
 port 0/2/1
!
dial-peer voice 999020 pots
 service mgcpapp
 port 0/2/0
!
dial-peer voice 999021 pots
 service mgcpapp
 port 0/2/1
!
dial-peer voice 999022 pots
 service mgcpapp
 port 0/2/2
!
dial-peer voice 100 pots
 port 0/2/0
!
dial-peer voice 5 pots
 description INBOUND DP
 translation-profile incoming TEST
 incoming called-number ^84463805$
!
dial-peer voice 50 voip
 description OUTBOUND DP
 destination-pattern ^3487$
 session target ipv4:172.28.28.10
!
dial-peer voice 999023 pots
 service mgcpapp
 port 0/2/3
!
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 max-conferences 8 gain -6
 transfer-system full-consult
!
!
!
line con 0
 password 7 13264601085C
 login
line aux 0
 password 7 00274215070B
 login
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 password 7 123A5404115B
 login
 transport input all
line vty 5 14
 password 7 123A5404115B
 login
 transport input all
line vty 15
 password 7 04785A150C71
 login
 transport input all
!
scheduler allocate 20000 1000
end