Hello everyone,
i have a big problem with the configuration for an german SIP-Trunk.
The provider ist Sipgate.de
My problems are:
i can call outbound but my correct number ist not shown.
(correct: 0049366511397816 shown:004936651139780)
i cannot recieve correct inbound calls with any of my nine DIDs.
the call comes in and if i pickup the phone, the call ends immediately.
I asked my provider for help and they told me something with my CME has to be wrong and thats why inbound/outbound calls do not work. They told me not what excatly is wrong. The only advice i got from them is to open a TAC on the Cisco Website.
So i hope someone here can help me.
IOS-Version:
(C2951-UNIVERSALK9-M), Version 15.5(3)M6
sh sip-ua register status
Line peer expires(sec) reg survival P-Associ-URI
================================ ========== ============ === ======== ============
11 40001 130 yes normal
2268146t7t7 -1 56 yes normal
49366511397816 20002 72 yes normal
Here is my cme config:
voice service voip
ip address trusted list
ipv4 217.10.68.150 255.255.255.255
ipv4 217.10.77.44 255.255.255.255
ipv4 24.134.24.189 255.255.255.255
ipv4 217.116.117.9 255.255.255.255
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server expires max 250 min 200
asserted-id ppi
no silent-discard untrusted
sip-profiles 1000
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g722-64
!
!
voice class sip-profiles 1000
request ANY sip-header From modify "(<.*:)(.*@)" "<sip:2268146t7@"
request REGISTER sip-header To modify "(<.*:)(.*@)" "<sip:2268146t7@"
request INVITE sip-header From modify "(<.*:)(.*@)" "<sip:2268146t7@"
!
!
!
voice register global
mode cme
source-address 192.168.83.254 port 5060
max-dn 5
max-pool 5
load 9951 sip9951.9-2-2SR1-9
timezone 23
time-format 24
date-format D/M/Y
tftp-path flash:
create profile sync 0076512537662827
!
voice register dn 1
number 49366511397811
name Christoph
label Christoph
!
voice register pool 1
id mac XXXX.XXXX.XXXX
type 9951
number 1 11
presence call-list
dtmf-relay rtp-nte
voice-class codec 1
username cisco password cisco
no vad
!
!
!
voice translation-rule 3
rule 1 /^0/ /0049/
!
voice translation-rule 4
rule 1 /^16/ /0049366511397816/
!
voice translation-rule 11
rule 1 /^/ /0/ type unknown unknown
rule 2 /^/ /00/ type national national
rule 3 /^/ /000/ type international international
!
voice translation-rule 12
rule 1 /^0049366511397816/ /16/
!
!
voice translation-profile INCOMING
translate calling 11
translate called 12
!
voice translation-profile OUTGOING
translate calling 4
translate called 3
dial-peer voice 1 voip
description *Incoming from Sipgate*
preference 1
service session
session protocol sipv2
session target dns:sipconnect.sipgate.de
session transport udp
incoming called-number .%
voice-class codec 1
voice-class sip profiles 1000
dtmf-relay sip-notify
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 2 voip
description *Outbound to Sipgate*
destination-pattern 0T
session protocol sipv2
session target dns:sipconnect.sipgate.de
session transport udp
voice-class codec 1
voice-class sip profiles 1000
dtmf-relay rtp-nte
no vad
!
!
sip-ua
credentials username 2268146t7 password 7 XXXX realm sipconnect.sipgate.de
keepalive target dns:sipconnect.sipgate.de
authentication username 2268146t7 password 7 XXXX
no remote-party-id
retry invite 2
retry response 3
retry bye 2
retry cancel 2
retry register 10
timers connect 100
timers register 250
timers keepalive active 100
registrar dns:sipconnect.sipgate.de:5060 expires 200
sip-server dns:sipconnect.sipgate.de:5060
!
!
!
gatekeeper
shutdown
!
!
telephony-service
max-ephones 5
max-dn 5
ip source-address 192.168.83.254 port 2000
system message Test CME
cnf-file location flash:
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp 7960 Aug 31 2017 09:11:31
!
!
ephone-dn 1 dual-line
number 16 secondary 49366511397816 no-reg primary
label Christoph
name Christoph CIPC
translation-profile incoming INCOMING
translation-profile outgoing OUTGOING
!
!
ephone 1
device-security-mode none
mac-address XXXX.XXXX.XXXX
button 1:1