06-18-2008 05:55 AM - edited 03-15-2019 11:21 AM
Dear Networkers,
we have AS4500XM gateway, 7845 CCM5.
i need to configure them for using sip trunk... can anyone help how i can configure the gateways for sip trunk. also i need to know about the callmanger
by the way i added sip trunk , RG,RL,RP,.. partitions, CCS. on our callmanger. is that enough fo the CCM ?
also i configured our gateway as dial-peer voip and pots , is that enough ??
thanks in advance
06-18-2008 06:47 AM
Can you post your dial-peer config?
06-18-2008 06:51 AM
hi,
below you can find:
-----------------------------------------
voice-port 7/0:D
!
voice-port 7/1:D
!
voice-port 7/2:D
!
!
!
dial-peer voice 1 pots
destination-pattern 2410132
port 7/1:D
!
dial-peer voice 2 voip
destination-pattern 8...
session protocol sipv2
session target ipv4:10.100.252.10
!
!
03-02-2020 02:05 AM
Here's a successfully working configuration for SIP Trunk on ISR 4321:
!
voice rtp send-recv
!
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
h225 connect-passthru
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g722-64
codec preference 3 g711alaw
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
!
voice iec syslog
!
!
voice translation-rule 1
rule 1 /8847165/ /89/
!
voice translation-rule 2
!
voice translation-rule 3
rule 1 /^9\(.........$\)/ /\1/
rule 2 /^9\(.......$\)/ /04\1/
!
voice translation-rule 4
rule 1 /^9\(.......$\)/ /04\1/
!
voice translation-rule 10
rule 1 /^.*/ /048847165/
!
!
voice translation-profile LOCAL
translate called 3
!
voice translation-profile MISSED
translate calling 2
translate called 1
!
voice translation-profile OUTGOING
translate calling 10
translate called 3
!
!
!
license udi pid ISR4321/K9 sn FDO23120GE5
diagnostic bootup level minimal
spanning-tree extend system-id
!
!
!
username admin secret 5 $1$Jyjv$K9x30e6WRk82toTQ1PlaM1
!
redundancy
mode none
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0/0
ip address 192.168.0.225 255.255.255.0
negotiation auto
h323-gateway voip interface
h323-gateway voip bind srcaddr 192.168.0.225
!
interface GigabitEthernet0/0/1
ip address 192.168.1.10 255.255.255.0
negotiation auto
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
!
!
snmp-server community public RO
!
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 1 voip
destination-pattern [1238].
session protocol sipv2
session target ipv4:192.168.0.220
voice-class codec 1
dtmf-relay rtp-nte h245-alphanumeric
!
dial-peer voice 100 voip
translation-profile outgoing OUTGOING
destination-pattern .T
session protocol sipv2
session target sip-server
session transport udp
voice-class codec 1
no voice-class sip localhost
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
!
dial-peer voice 200 voip
translation-profile incoming MISSED
session protocol sipv2
session target sip-server
incoming called-number .T
voice-class codec 1
dtmf-relay sip-notify rtp-nte
no vad
!
dial-peer voice 2 voip
destination-pattern ^89
session protocol sipv2
session target ipv4:192.168.0.220
voice-class codec 1
dtmf-relay rtp-nte sip-kpml
no vad
!
!
sip-ua
credentials number 048847165 username 48847165.etisalat password 7 02071341390D1A7308 realm etisalat.com
authentication username 48847165.etisalat password 7 02071341390D1A7308 realm etisalat.com
no remote-party-id
max-forwards 6
retry invite 2
retry bye 1
retry register 10
timers expires 360000
timers connect 100
registrar dns:48847165.etisalat expires 3600
sip-server dns:48847165.etisalat:5060
connection-reuse
!
!
line con 0
transport input none
stopbits 1
line aux 0
stopbits 1
line vty 0 4
password 7 052B142F331F1C2A5D544541
login
!
ntp master 7
ntp server 192.168.0.225 prefer
wsma agent exec
!
wsma agent config
!
wsma agent filesys
!
wsma agent notify
!
!
end
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide