Hello Every one.
i have a Cisco 2951 that connected to ISDN service and provide a SIP gateway for my freepbx server. this scenario is works fine, inbound and outbound call works together without any issue.
i try to change the freepbx to 3CX, i was change only the IP address on cisco router to map to the 3CX, and configure the 3CX with the right configuration but the call was rejected immediately.
any idea to troubleshoot this case.
This is the current configuration that connected with freepbx:
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
redirect ip2ip
signaling forward unconditional
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
!
!
voice class uri 1 sip
host ipv4:10.198.199.2
!
!
!
interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn calling-number 3660009
!
!
voice-port 0/1/1:15
connection plar 107
!
!
!
!
dial-peer voice 3 pots
description Outgoing calls to PSTN
destination-pattern 09........
port 0/1/1:15
forward-digits all
!
dial-peer voice 1 pots
description incoming calls from PSTN
incoming called-number .
direct-inward-dial
!
dial-peer voice 2 voip
description incoming calls from FREEPBX
session protocol sipv2
incoming uri via 1
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 4 voip
description Outgoing calls to FREEPBX
destination-pattern 1..
session protocol sipv2
session target ipv4:10.198.199.2
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 5 pots
description Outgoing calls to PSTN-Service
destination-pattern 1300
port 0/1/1:15
forward-digits all
!
!
!
!
sip-ua
no remote-party-id
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
sip-server ipv4:10.198.199.2