cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
931
Views
5
Helpful
1
Replies

C2951VSEC -CME Sipgate.de Trunk-config

Chris9811
Level 1
Level 1

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
 
 
 
 
1 Accepted Solution

Accepted Solutions

Inbound Analysis
+++++++++++++++++
-->>The ephone-dn configured on the CME is 49366511397816
ephone-dn 1 dual-line
number 16 secondary 49366511397816 no-reg primary
-->>Provider sends an Invite with the called no. as 0049366511397816

Solution :- Translate the called no. to use EPHONE-DN as 49366511397816 and not as 0049366511397816.

Make the below changes
+++++++++
voice translation-rule 12
rule 1 /^00\(..............$\)/ /\1/
or
voice translation-rule 12
rule 1 /0049366511397816/ /49366511397816/

Outbound Analysis
++++++++++++++++++
You send an invite to the provider with calling number as 2268146t7. This number comes due to the usage of SIP profile mentioned below.

Sep 1 19:25:03.582: //4946/0F3411208B9E/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:01736749872@sipconnect.sipgate.de:5060 SIP/2.0
Via: SIP/2.0/UDP 24.134.24.189:5060;branch=z9hG4bK192D90F
From: "Christoph CIPC" <sip:2268146t7@sipconnect.sipgate.de>;tag=A8F1964-11BF
To: <sip:01736749872@sipconnect.sipgate.de>
Date: Fri, 01 Sep 2017 21:25:03 MEST
Call-ID: 16ADB4FD-8E8211E7-8BA3F094-9DF42664@24.134.24.189

-->>>
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@"

-->> Confirm it from provider if you need any modifications in the sip-headers or not. If they need this then the number that CME is sending to them is 2268146t7 and they should be able change the number presentation on thier end, else make changes in translation-rule for the outgoing.

Need to change the below rule as per requirement
voice translation-rule 4
rule 1 /^16/ /0049366511397816/

HTH
Regards
Abhay

Kindly rate all heloful posts !!!
Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle

View solution in original post

1 Reply 1

Inbound Analysis
+++++++++++++++++
-->>The ephone-dn configured on the CME is 49366511397816
ephone-dn 1 dual-line
number 16 secondary 49366511397816 no-reg primary
-->>Provider sends an Invite with the called no. as 0049366511397816

Solution :- Translate the called no. to use EPHONE-DN as 49366511397816 and not as 0049366511397816.

Make the below changes
+++++++++
voice translation-rule 12
rule 1 /^00\(..............$\)/ /\1/
or
voice translation-rule 12
rule 1 /0049366511397816/ /49366511397816/

Outbound Analysis
++++++++++++++++++
You send an invite to the provider with calling number as 2268146t7. This number comes due to the usage of SIP profile mentioned below.

Sep 1 19:25:03.582: //4946/0F3411208B9E/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:01736749872@sipconnect.sipgate.de:5060 SIP/2.0
Via: SIP/2.0/UDP 24.134.24.189:5060;branch=z9hG4bK192D90F
From: "Christoph CIPC" <sip:2268146t7@sipconnect.sipgate.de>;tag=A8F1964-11BF
To: <sip:01736749872@sipconnect.sipgate.de>
Date: Fri, 01 Sep 2017 21:25:03 MEST
Call-ID: 16ADB4FD-8E8211E7-8BA3F094-9DF42664@24.134.24.189

-->>>
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@"

-->> Confirm it from provider if you need any modifications in the sip-headers or not. If they need this then the number that CME is sending to them is 2268146t7 and they should be able change the number presentation on thier end, else make changes in translation-rule for the outgoing.

Need to change the below rule as per requirement
voice translation-rule 4
rule 1 /^16/ /0049366511397816/

HTH
Regards
Abhay

Kindly rate all heloful posts !!!
Regards
Abhay Singh Reyal
The Only Way To Do Great Work Is To Love What You Do. If You Haven’t Found It Yet, Keep Looking. Don’t Settle