07-18-2017 03:31 AM - edited 03-17-2019 10:48 AM
Hello all,
outgoing call flow for this issue: IP phone-->(SCCP)-->CUCM-->(SIPtrunk)-->C2901-->(E1)-->SP(PSTN)-->cellphone
Configuration Telco Service provider side
IT0 using for synchronisation;
IT16 using for signalisation;
The remains of the IT (1 to 15 and 17 to 31) are used for voice.
The format of the PDC is CRC4MF
Le LN code is HDB3.
CICs and CACs are used for a connection between two exchanges using Signaling Number 7
Gateway configuration ISR 2901
network-clock-participate wic 3
network-clock-select 1 E1 0/3/0
!
isdn switch-type primary-ni
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0
session transport tcp
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
!
controller E1 0/3/0
pri-group timeslots 1-10,16
!
controller E1 0/3/1
pri-group timeslots 10-20
!
interface Serial0/3/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn bchan-number-order ascending
no cdp enable
!
interface Serial0/3/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
no cdp enable
!
voice-port 0/3/1:15
######################### incoming call ##############"
!
dial-peer voice 100 pots
description Incoming call on E1 port 1
incoming called-number .
direct-inward-dial
!
dial-peer voice 99 voip
description #Call to CUCM
destination-pattern 3.......
session protocol sipv2
session target ipv4:172.16.5.1
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
######################### Outgoing call ##############"
!
dial-peer voice 98 voip
description #incoming call from cucm
session protocol sipv2
incoming called-number .
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 101 pots
description Outgoing call on E1 port 1
destination-pattern .T
port 0/3/0:15
!
dial-peer voice 102 pots
description Outgoing call on E1 port 2
preference 1
destination-pattern .T
port 0/3/1:15
!