cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
527
Views
15
Helpful
8
Replies
Grishazahid
Beginner

CME & Ukrtelecom 195.5.0.54

cisco cme ukrtelecom 195.5.0.54

Hello everybody!
I try to configure SIP trunk without username and password.

Situation 1) When I use my white IP on CME g0/0 port - everything is OK, calls are working

Situation 2) When I put CME behind NAT and configure port forwarding on my border router - calls working incorrectly.
Only far end can hear me and I cannot hear another party. I made packet capture and saw that no RTP packets received in my WAN router
ITSP says that is because private ip are in sip messages headers.
I have found command "bind control source-interface GigabitEthernet0/0 " but it won't help, because IP address of g0/0 is private.
Is there any idea how CME can works behind nat in this case?

Situation 1 config :

ISR 2911 , ios 15.7.M2 , CME ver 12.0

 

 

Spoiler


CME-1#sh run
Building configuration...


Current configuration : 2810 bytes
!
! Last configuration change at 12:52:53 UTC Fri Jun 12 2020
!
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CME-1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
ip dhcp pool POOL1
network 10.45.20.0 255.255.255.0
default-router 10.45.20.30
dns-server 8.8.8.8
!
!
!
ip name-server 8.8.8.8
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice-card 0
!
!
!
voice service voip
ip address trusted list
ipv4 10.45.20.0 255.255.255.0
ipv4 195.5.0.54
rtp-port range 17000 20998
address-hiding
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server
!
!
!
!
voice register global
mode cme
source-address 10.45.20.30 port 5060
max-dn 75
max-pool 50
authenticate register
authenticate realm domain.local
auto-register
!
!
voice register dn 1
number 114
!
voice register pool 1
id mac 000B.82D5.7575
number 1 dn 1
dtmf-relay rtp-nte
username user114 password cisco
codec g711alaw
no vad
!
!
!
voice translation-rule 1
rule 1 /114/ /044xxxxx50/
!
!
voice translation-profile 114-out
translate calling 1
!
!
!
vxml logging-tag
license udi pid CISCO2911/K9 sn FGL210811AM
hw-module pvdm 0/0
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 193.178.x.x 255.255.255.224
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 10.45.20.30 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 193.178.187.33
!
!
!
access-list 1 permit 10.45.20.0 0.0.0.255
!
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 777 voip
description *** TEST ***
translation-profile outgoing 114-out
destination-pattern .T
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
dtmf-relay rtp-nte
codec g711alaw
no vad
!
!
!
!
gatekeeper
shutdown
!
!
telephony-service
max-conferences 8 gain -6
dn-webedit
time-webedit
transfer-system full-consult
!
!
vstack
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end


 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

@Grishazahid 

Yes, you already have the configuration guide. You can follow the path as mentioned.

1. Create voice class sip-profiles 1 under configuration mode as specified in document.

2. Replace the 172.x.y.z with your CME IP Address and 1.2.3.4 as public ip address.

3. Go to outgoing dial-peer towards ITSP and add "voice class sip-profiles 1"

4. Packets routing outside will modify the SIP headers.

Try using the above method and hope it works.

 

regards,

Ritesh Desai

Please rate helpful votes.

 

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

View solution in original post

Here is solution for those, who will read this topic in the future: you need to modify sip headers

Part of my working config for situation when CME is located behind nat. SIP & RTP ports are forwarded to CME by firewall

 

CME-1#sh run | sec dial-peer
dial-peer voice 777 voip
description *** TEST ***
translation-profile outgoing test-out
destination-pattern .T
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
voice-class sip profiles 1
dtmf-relay rtp-nte
codec g711alaw
no vad


dial-peer voice 776 voip
description ***INC-TEST***
translation-profile incoming test-in
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
incoming called-number .
voice-class sip profiles 1
dtmf-relay rtp-nte
codec g711alaw
no vad

CME-1#sh run | sec sip-profiles
voice class sip-profiles 1
response ANY sip-header Contact modify "10.45.20.30" "193.178.X.X"
request ANY sip-header Contact modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Audio-Connection-Info modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Connection-Info modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Session-Owner modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Audio-Connection-Info modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Connection-Info modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Session-Owner modify "10.45.20.30" "193.178.X.X"

View solution in original post

8 REPLIES 8
Ritesh Desai
Contributor

@Grishazahid 

 

1. can you try adding NAT IP to trusted list.

2. is the ports opened in bi-directional for two way communiation?

3. is your ip route correct?

4. draw a NW diagram to make troubleshooting easier. 

 

At granuallar level, on ROUTER level for 1 call there will be 2 legs. When Router receives call  that is incoming leg-1 from ITSP and Router will forward call to CME basis dial-peer so that is leg-2.

 

Now, check leg-1 from ITSP is using which Gig interface and for leg-2 Router is using which Gig interface. verify the configuration.

as right approach, use 2 dial-peers seperate for inbound and outbound leg. Try adding bind command on dial-peers respectively. make test call and see if bind command helps you out.

 

enable debugs and I can have look.

#debug ccsip messages

#debug voip ccapi inout

 

regards,

Ritesh Desai

PLease rate helpfull post.

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

Hello Ritesh Desai!

Thank you for your response and your time!

I have added NAT ip in trusted list, but it dont helps.

Ip route is correct , ports are open for two way communication.

Ios doesnt show me only "source-interface" command, not source address, like described here:

Device(conf-serv-sip)# bind media source-address ipv4 172.18.192.204

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/voi-sip-bind.html

My output:

CME-1(conf-serv-sip)#bind media ?        

  source-interface  Specify interface for source address of SIP packets

 

Also I canntot configure bind command on dial-peer, its not present this config-mode.

CME-1(config-dial-peer)#?

DIALPEER configuration commands:

  acc-qos                The Minimally Acceptable Quality of Service to be used in getting to this peer

  answer-address         The Call Destination Number

  audio                  Audio Setup for dial-peer

  authentication         SIP Digest Authentication Configuration

  b2bua                  B2BUA path

  call                   Per Voip dial-peer Call configuration

 

Network diagram is next: CME - SW 3560 - Meraki MX60 - ISP - ITSP

 

also I have found that CME can modify SIP headers via command

voice class sip-profiles 1

response ANY sip-header Contact modify "172.x.y.z" "1.2.3.4"

like here https://support.telnyx.com/en/articles/1130612-how-to-configure-a-cisco-call-manager-express-cme-ip-trunk

Probably I need to do similar modifications to solve problem

 

My config:

Spoiler


sh run
Building configuration...



Current configuration : 5745 bytes
!
! Last configuration change at 11:42:03 EEST Mon Jun 15 2020
!
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CME-1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
clock summer-time EEST recurring
!
!
!
!
!
!
!
!
!
!
!
!
ip name-server 8.8.8.8
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
voice-card 0
!
!
!
voice service voip
ip address trusted list
ipv4 10.45.20.0 255.255.255.0
ipv4 195.5.0.54
ipv4 193.178.X.X
rtp-port range 17000 20998
address-hiding
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server
!
!
!
!
voice register global
mode cme
source-address 10.45.20.30 port 5060
max-dn 75
max-pool 50
authenticate register
authenticate realm domain.local
tftp-path flash:
file text
create profile sync 0007253454125956
auto-register
!
!
voice register dn 1
number 114
name 114
label 114
!
voice register dn 2
number 113
name 113
label 113
!
voice register dn 3
number 109
name 109
label 109
!
voice register dn 4
number 151
name 151
label 151
!
voice register pool 1 # GRANDSTREAM Phone
id mac 000B.82D5.7575
number 1 dn 1
dtmf-relay rtp-nte
username user114 password cisco
codec g711alaw
no vad
!
voice register pool 2 # GRANDSTREAM Phone
id mac 000B.82D5.758D
number 1 dn 2
dtmf-relay rtp-nte
username user113 password cisco
codec g711alaw
no vad
!
voice register pool 3 # GRANDSTREAM Phone
id mac 000B.82D5.7189
number 1 dn 3
dtmf-relay rtp-nte
username user109 password xxxxxxx
codec g711alaw
no vad
!
voice register pool 50 # Cisco Phone
id mac 0014.F26A.7688
type 7960
number 1 dn 5
dtmf-relay rtp-nte
username user-cisco password cisco
codec g711alaw
no vad
!
!
!
voice translation-rule 1
rule 1 /114/ /044XXXXX50/
rule 2 /154/ /044XXXXX46/
!
voice translation-rule 2
rule 1 /044XXXXX50/ /114/
!
voice translation-rule 3
rule 1 /044XXXXX46/ /154/
!
!
voice translation-profile 114-in
translate called 2
!
voice translation-profile 114-out
translate calling 1
!
voice translation-profile 154-inc
translate called 3
!
!
!
vxml logging-tag
license udi pid CISCO2911/K9 sn xxxxxxx
hw-module pvdm 0/0
!
!
!
file privilege 0
username user114
username grisha privilege 15 secret 5 $1$FhKU$t1DQUhTKrA5L4JVB1CSAx1
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 10.45.20.30 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
ip http path flash:CME-GUI-12.0
!
ip route 0.0.0.0 0.0.0.0 10.45.20.1
!
!
!
!
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 777 voip
description *** TEST ***
translation-profile outgoing 114-out
destination-pattern .T
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 776 voip
description ***INC-TEST***
translation-profile incoming 114-in
session protocol sipv2
incoming called-number 044XXXXX50
dtmf-relay rtp-nte
codec g711alaw
no vad
!
dial-peer voice 775 voip
description *** inc-test-2 ***
translation-profile incoming 154-inc
session protocol sipv2
incoming called-number 044XXXXX46
dtmf-relay rtp-nte
codec g711alaw
no vad
!
!
!
!
gatekeeper
shutdown
!
!
telephony-service
max-conferences 8 gain -6
web admin system name cisco secret 5 $1$4Hi5$Yh0HgjNQ1qEyuupSZVpnX1
dn-webedit
time-webedit
transfer-system full-consult
!
!
no vstack
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
ntp server time.windows.com
!
end

call from 154 (044xxxxxx46) to 0800506800 8 second , then I end call

Debug 1 debug ccsip messages

Spoiler

debug ccsip messages
SIP Call messages tracing is enabled

Jun 15 08:44:56.815: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:0800506800@10.45.20.30 SIP/2.0
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK7feda12c
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
Max-Forwards: 70
CSeq: 101 INVITE
User-Agent: Cisco-CP7960G/8.0
Contact: <sip:154@10.45.20.132:5060;user=phone;transport=udp>
Expires: 180
Accept: application/sdp
Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE
Content-Length: 275
Content-Type: application/sdp
Content-Disposition: session;handling=optional

v=0
o=Cisco-SIPUA 8667 0 IN IP4 10.45.20.132
s=SIP Call
t=0 0
m=audio 31758 RTP/AVP 8 0 18 101
c=IN IP4 10.45.20.132
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

Jun 15 08:44:56.823: //10/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK7feda12c
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.7.3.M2
Session-ID: 00000000000000000000000000000000;remote=99b89394731c5fa3ae51cb9a89c7fdca
Content-Length: 0


Jun 15 08:44:56.827: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:0800506800@195.5.0.54:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.20.30:5060;branch=z9hG4bKE201B
Remote-Party-ID: "154" <sip:0442992946@10.45.20.30>;party=calling;screen=no;privacy=off
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 1392578909-2921009642-2149172158-1054775828
User-Agent: Cisco-SIPGateway/IOS-15.7.3.M2
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Timestamp: 1592210696
Contact: <sip:0442992946@10.45.20.30:5060>
Expires: 180
Allow-Events: telephone-event
Max-Forwards: 69
Session-ID: 99b89394731c5fa3ae51cb9a89c7fdca;remote=00000000000000000000000000000000
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 243

v=0
o=CiscoSystemsSIP-GW-UserAgent 4924 846 IN IP4 10.45.20.30
s=SIP Call
c=IN IP4 10.45.20.30
t=0 0
m=audio 17014 RTP/AVP 8 101
c=IN IP4 10.45.20.30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

Jun 15 08:44:56.831: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKE201B
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 101 INVITE
Timestamp: 1592210696


Jun 15 08:44:58.291: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKE201B
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 101 INVITE
Timestamp: 1592210696
Allow: INVITE,ACK,PRACK,OPTIONS,CANCEL,BYE
Contact: <sip:0800506800@195.5.0.54:5060;transport=udp>
Require: 100rel
RSeq: 1
Privacy: none
Content-Length: 204
Content-Type: application/sdp
Content-Disposition: session;handling=required

v=0
o=- 2714721 8358408 IN IP4 195.5.0.54
s=-
c=IN IP4 195.5.0.54
t=0 0
m=audio 17966 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv

Jun 15 08:44:58.295: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
PRACK sip:0800506800@195.5.0.54:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.45.20.30:5060;branch=z9hG4bKF25F8
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 102 PRACK
RAck: 1 101 INVITE
Allow-Events: telephone-event
Max-Forwards: 70
Session-ID: 99b89394731c5fa3ae51cb9a89c7fdca;remote=27f383699530558ea6c721c5c41b089c
Content-Length: 0


Jun 15 08:44:58.295: //10/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK7feda12c
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:0800506800@10.45.20.30>;party=called;screen=no;privacy=off
Contact: <sip:0800506800@10.45.20.30:5060>
Server: Cisco-SIPGateway/IOS-15.7.3.M2
Session-ID: 27f383699530558ea6c721c5c41b089c;remote=99b89394731c5fa3ae51cb9a89c7fdca
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 244

v=0
o=CiscoSystemsSIP-GW-UserAgent 4211 9960 IN IP4 10.45.20.30
s=SIP Call
c=IN IP4 10.45.20.30
t=0 0
m=audio 17012 RTP/AVP 8 101
c=IN IP4 10.45.20.30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

Jun 15 08:44:58.299: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKF25F8
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 102 PRACK
Content-Length: 0


Jun 15 08:45:01.175: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKE201B
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 101 INVITE
Timestamp: 1592210696
Allow: INVITE,ACK,PRACK,OPTIONS,CANCEL,BYE
Contact: <sip:0800506800@195.5.0.54:5060;transport=udp>
Require: 100rel
RSeq: 2
Privacy: none
Content-Length: 0


Jun 15 08:45:01.175: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
PRACK sip:0800506800@195.5.0.54:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.45.20.30:5060;branch=z9hG4bK1079
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 103 PRACK
RAck: 2 101 INVITE
Allow-Events: telephone-event
Max-Forwards: 70
Session-ID: 99b89394731c5fa3ae51cb9a89c7fdca;remote=27f383699530558ea6c721c5c41b089c
Content-Length: 0


Jun 15 08:45:01.175: //10/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK7feda12c
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:0800506800@10.45.20.30>;party=called;screen=no;privacy=off
Contact: <sip:0800506800@10.45.20.30:5060>
Server: Cisco-SIPGateway/IOS-15.7.3.M2
Session-ID: 27f383699530558ea6c721c5c41b089c;remote=99b89394731c5fa3ae51cb9a89c7fdca
Content-Length: 0


Jun 15 08:45:01.183: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bK1079
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 103 PRACK
Content-Length: 0


Jun 15 08:45:01.219: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKE201B
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 101 INVITE
Timestamp: 1592210696
Allow: INVITE,ACK,PRACK,OPTIONS,CANCEL,BYE
Contact: "unavailable" <sip:unavailable@195.5.0.54:5060;transport=udp>
Supported: 100rel
Content-Length: 0


Jun 15 08:45:01.223: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:unavailable@195.5.0.54:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.45.20.30:5060;branch=z9hG4bK111641
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Session-ID: 99b89394731c5fa3ae51cb9a89c7fdca;remote=27f383699530558ea6c721c5c41b089c
Content-Length: 0


Jun 15 08:45:01.227: //10/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK7feda12c
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
CSeq: 101 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Remote-Party-ID: <sip:0800506800@10.45.20.30>;party=called;screen=no;privacy=off
Contact: <sip:unavailable@10.45.20.30:5060>
Supported: replaces
Server: Cisco-SIPGateway/IOS-15.7.3.M2
Session-ID: 27f383699530558ea6c721c5c41b089c;remote=99b89394731c5fa3ae51cb9a89c7fdca
Supported: timer
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 244

v=0
o=CiscoSystemsSIP-GW-UserAgent 4211 9960 IN IP4 10.45.20.30
s=SIP Call
c=IN IP4 10.45.20.30
t=0 0
m=audio 17012 RTP/AVP 8 101
c=IN IP4 10.45.20.30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

Jun 15 08:45:01.539: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:unavailable@10.45.20.30:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK6ca98fad
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
Max-Forwards: 70
CSeq: 101 ACK
User-Agent: Cisco-CP7960G/8.0
Content-Length: 0


Jun 15 08:45:09.127: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
BYE sip:unavailable@10.45.20.30:5060 SIP/2.0
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK01769825
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
Max-Forwards: 70
CSeq: 102 BYE
User-Agent: Cisco-CP7960G/8.0
Content-Length: 0


Jun 15 08:45:09.131: //10/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.132:5060;branch=z9hG4bK01769825
From: "154" <sip:154@10.45.20.30>;tag=0014f26a76880006683e9a47-2fb35bd5
To: <sip:0800506800@10.45.20.30>;tag=1BAF34-210C
Date: Mon, 15 Jun 2020 08:45:09 GMT
Call-ID: 0014f26a-76880005-57b35dda-52751942@10.45.20.132
Server: Cisco-SIPGateway/IOS-15.7.3.M2
CSeq: 102 BYE
Reason: Q.850;cause=16
P-RTP-Stat: PS=0,OS=0,PR=531,OR=84960,PL=0,JI=0,LA=0,DU=7
Session-ID: 27f383699530558ea6c721c5c41b089c;remote=99b89394731c5fa3ae51cb9a89c7fdca
Content-Length: 0


Jun 15 08:45:09.131: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Sent:
BYE sip:unavailable@195.5.0.54:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.45.20.30:5060;branch=z9hG4bK12D81
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Date: Mon, 15 Jun 2020 08:44:56 GMT
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
User-Agent: Cisco-SIPGateway/IOS-15.7.3.M2
Max-Forwards: 70
Timestamp: 1592210709
CSeq: 104 BYE
Reason: Q.850;cause=16
P-RTP-Stat: PS=531,OS=84960,PR=0,OR=0,PL=0,JI=0,LA=0,DU=7
Session-ID: 99b89394731c5fa3ae51cb9a89c7fdca;remote=27f383699530558ea6c721c5c41b089c
Content-Length: 0


Jun 15 08:45:09.139: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bK12D81
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
Timestamp: 1592210709
CSeq: 104 BYE
Content-Length: 0

 

Debug 2

Spoiler


Jun 15 08:46:33.854: //-1/8CD784958020/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=154
----- ccCallInfo IE subfields -----
cisco-ani=154
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=0800506800
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jun 15 08:46:33.854: //-1/8CD784958020/CCAPI/cc_api_call_setup_ind_common:
Interface=0x3EEE8294, Call Info(
Calling Number=154,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=0800506800(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=40001, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=12
Jun 15 08:46:33.854: //-1/8CD784958020/CCAPI/ccCheckClipClir:
In: Calling Number=154(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jun 15 08:46:33.854: //-1/8CD784958020/CCAPI/ccCheckClipClir:
Out: Calling Number=154(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jun 15 08:46:33.854: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.854: :cc_get_feature_vsa malloc success
Jun 15 08:46:33.854: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.854: cc_get_feature_vsa count is 1
Jun 15 08:46:33.854: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.854: :FEATURE_VSA attributes are: feature_name:0,feature_time:553743096,feature_id:9
Jun 15 08:46:33.854: //12/8CD784958020/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=154(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=0800506800(TON=Unknown, NPI=Unknown))
Jun 15 08:46:33.854: //12/8CD784958020/CCAPI/cc_process_call_setup_ind:
Event=0x232AF6B0
Jun 15 08:46:33.854: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 0800506800
Jun 15 08:46:33.854: //12/8CD784958020/CCAPI/ccCallSetContext:
Context=0x3A0A1304
Jun 15 08:46:33.854: //12/8CD784958020/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 12 with tag 40001 to app "_ManagedAppProcess_Default"
Jun 15 08:46:33.854: //12/8CD784958020/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=777, Params=0x3A0A290C, Progress Indication=NULL(0)
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccCheckClipClir:
In: Calling Number=0442992946(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccCheckClipClir:
Out: Calling Number=0442992946(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccCallSetupRequest:
Destination Pattern=.T, Called Number=0800506800, Digit Strip=FALSE
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccCallSetupRequest:
Calling Number=0442992946(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=0800506800(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=154
Account Number=154, Final Destination Flag=TRUE,
Guid=8CD78495-AE1B-11EA-8020-C3BE3EDE9A14, Outgoing Dial-peer=777
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=154
----- ccCallInfo IE subfields -----
cisco-ani=0442992946
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=0800506800
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x3EEE8294, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=0442992946,(Calling Name=154)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=0800506800(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=777, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Jun 15 08:46:33.858: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.858: :cc_get_feature_vsa malloc success
Jun 15 08:46:33.858: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.858: cc_get_feature_vsa count is 2
Jun 15 08:46:33.858: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Jun 15 08:46:33.858: :FEATURE_VSA attributes are: feature_name:0,feature_time:553742872,feature_id:10
Jun 15 08:46:33.858: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:33.858: cc_api_get_xcode_stream : 4981
Jun 15 08:46:33.858: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:33.858: cc_api_get_xcode_stream : 4981
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event=101, Call Id=12
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:33.858: //13/8CD784958020/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Jun 15 08:46:33.858: //13/8CD784958020/CCAPI/ccCallSetContext:
Context=0x3A0A28BC
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=777
Jun 15 08:46:33.858: //13/8CD784958020/CCAPI/ccGetMediaClassTag:
media class tag 0
Jun 15 08:46:33.858: //13/8CD784958020/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccGetMediaClassTag:
media class tag 0
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Jun 15 08:46:33.858: //13/8CD784958020/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Jun 15 08:46:33.858: //12/8CD784958020/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Jun 15 08:46:33.858: //-1/xxxxxxxxxxxx/CCAPI/cc_is_cng_fax_detect_active:
Call Id 12
Jun 15 08:46:33.858: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:33.858: cc_api_get_xcode_stream : 4981
Jun 15 08:46:33.862: //13/8CD784958020/CCAPI/cc_api_call_proceeding:
Interface=0x3EEE8294, Progress Indication=NULL(0)
Jun 15 08:46:33.862: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:33.862: cc_api_get_xcode_stream : 4981
Jun 15 08:46:33.862: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:33.862: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.286: //13/8CD784958020/CCAPI/cc_api_caps_ind:

Jun 15 08:46:35.286: voice_rtp_nse_payload 100, voice_rtp_sse_payload 118 voice_sprt_payload 120
Jun 15 08:46:35.286: //13/8CD784958020/CCAPI/cc_api_caps_ind:

Jun 15 08:46:35.286: sprt_latency 200, sprt_retries 12
Jun 15 08:46:35.286: //13/8CD784958020/CCAPI/cc_api_caps_ind:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=13,
Caps(Codec=0x2, Fax Rate=0x2, Fax Version:=0, Vad=0x2,
Modem=0x0, Codec Bytes=160, Signal Type=2)
Jun 15 08:46:35.286: //13/8CD784958020/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/cc_api_caps_ack:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=12,
Caps(Codec=g711alaw(0x2), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=1986)
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/cc_api_caps_ack:
Destination Interface=0x0, Destination Call Id=-1, Source Call Id=12,
Caps(Codec=g711alaw(0x2), Fax Rate=FAX_RATE_VOICE(0x2), Fax Version:=0, Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=160, Signal Type=2, Seq Num Start=1986)
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event=103, Call Id=13
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/cc_api_call_alert:
Interface=0x3EEE8294, Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1)
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/cc_api_call_alert:
Call Entry(Retry Count=0, Responsed=TRUE)
Jun 15 08:46:35.290: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccCallAlert:
Progress Indication=INBAND(8), Signal Indication=SIGNAL RINGBACK(1)
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccCallAlert:
Call Entry(Responsed=TRUE, Alert Sent=TRUE)
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID1=0xC, gcid=8CD78495-AE1B11EA-8023C3BE-3EDE9A14, tag=0x0)
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/ccConferenceCreate:
(confID=0xFFFFFFFF, callID2=0xD, gcid=8CD78495-AE1B11EA-8023C3BE-3EDE9A14, tag=0x0)
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccConferenceCreate:
Conference Id=0xFFFFFFFF, Call Id1=12, Call Id2=13, Tag=0x0
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccConferenceCreate:

Jun 15 08:46:35.290: ccConferenceCreate: ret1=0, codecMask1=2, bytes1=160, negot1=1, dtmf1=6
ret2=0, codecMask2=2, bytes2=160, negot2=1, dtmf2=6,
tx_dynamic_pt1=8, rx_dynamic_pt1=8, codec_mode1=0, params_bitmap1 =0
tx_dynamic_pt2=8, rx_dynamic_pt2=8, codec_mode2=0, params_bitmap2 =0
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccGetMediaClassTag:
media class tag 0
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/ccGetMediaClassTag:
media class tag 0
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/ccSetMediaclassIp2ipTags:
media class tags set: NR 0, ASP 0
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Jun 15 08:46:35.290: //13/8CD784958020/CCAPI/ccGet_xc_nr_asp_info:
media class tags: NR 0, ASP 0
Jun 15 08:46:35.290: //-1/xxxxxxxxxxxx/CCAPI/cc_is_cng_fax_detect_active:
Call Id 12
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
xcoder inserted for preferred features w/ mask 0x0
Jun 15 08:46:35.290: //12/8CD784958020/CCAPI/ccConferenceCreate:
delay media to slow start case, codec negotation is not done
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.290: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.290: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //12/8CD784958020/CCAPI/cc_api_bridge_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=12,
Destination Call Id=13, Disposition=0x0, Tag=0x0
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:35.294: cc_api_get_xcode_stream : 4981
Jun 15 08:46:35.294: //13/8CD784958020/CCAPI/cc_api_bridge_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=13,
Destination Call Id=12, Disposition=0x0, Tag=0x0
Jun 15 08:46:35.294: //12/8CD784958020/CCAPI/cc_generic_bridge_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=13,
Destination Call Id=12, Disposition=0x0, Tag=0x0
Jun 15 08:46:35.294: //12/8CD784958020/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x5, Destination Call Id=13)
Jun 15 08:46:35.294: //13/8CD784958020/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0x5, Destination Call Id=12)
Jun 15 08:46:35.294: //12/8CD784958020/CCAPI/ccConferenceCreate:

Jun 15 08:46:35.294: confID:0x5; callEntry1 callID1:0xC, type:3; callEntry2 callID2:0xD, type:3

Jun 15 08:46:35.294: //12/8CD784958020/CCAPI/cc_process_notify_bridge_done:
Conference Id=0x5, Call Id1=12, Call Id2=13
Jun 15 08:46:38.182: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event=100, Call Id=13
Jun 15 08:46:38.182: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:38.182: //13/8CD784958020/CCAPI/cc_api_call_cut_progress:
Interface=0x3EEE8294, Progress Indication=NULL(0), Signal Indication=NOT PRESENT(255),
Cause Value=0
Jun 15 08:46:38.182: //13/8CD784958020/CCAPI/cc_api_call_cut_progress:
Call Entry(Responsed=TRUE)
Jun 15 08:46:38.186: //12/8CD784958020/CCAPI/ccCallProgIndProgress:
Progress Indication=NULL(0)
Jun 15 08:46:38.210: //13/8CD784958020/CCAPI/cc_api_call_connected:
Interface=0x3EEE8294, Data Bitmask=0x1, Progress Indication=NULL(0),
Connection Handle=0
Jun 15 08:46:38.210: //13/8CD784958020/CCAPI/cc_api_call_connected:
Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
Jun 15 08:46:38.210: //13/xxxxxxxxxxxx/CCAPI/cc_api_ha_call_active_notify:

Jun 15 08:46:38.210: call_info mainst_callID:0xD, peer_callID:0xC, confID:0x5, spi_type:4, media_flo_thru:1,num_streams:1, swmtpmsp_present:0

Jun 15 08:46:38.210: //13/xxxxxxxxxxxx/CCAPI/cc_api_ha_call_active_notify:

Jun 15 08:46:38.210: stream[0]: callid:0xD, media_passthrough:1
Jun 15 08:46:38.210: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event=111, Call Id=13
Jun 15 08:46:38.210: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:38.210: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event=213, Call Id=13
Jun 15 08:46:38.214: //13/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:38.214: //12/8CD784958020/CCAPI/ccCallConnect:
Progress Indication=NULL(0), Data Bitmask=0x1
Jun 15 08:46:38.214: //12/8CD784958020/CCAPI/ccCallConnect:
Call Entry(Connected=TRUE, Responsed=TRUE)
Jun 15 08:46:38.530: //12/xxxxxxxxxxxx/CCAPI/cc_api_ha_call_active_notify:

Jun 15 08:46:38.530: call_info mainst_callID:0xC, peer_callID:0xD, confID:0x5, spi_type:4, media_flo_thru:1,num_streams:1, swmtpmsp_present:0

Jun 15 08:46:38.530: //12/xxxxxxxxxxxx/CCAPI/cc_api_ha_call_active_notify:

Jun 15 08:46:38.530: stream[0]: callid:0xC, media_passthrough:1
Jun 15 08:46:38.530: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event=111, Call Id=12
Jun 15 08:46:38.530: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:38.530: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event=213, Call Id=12
Jun 15 08:46:38.530: //12/8CD784958020/CCAPI/cc_api_event_indication:
Event Is Sent To Conferenced SPI(s) Directly
Jun 15 08:46:44.102: //13/8CD784958020/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Null,
Tone Direction=Sum Network, Params=0x0, Call Id=13
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_api_call_disconnected:
Cause Value=16, Interface=0x3EEE8294, Call Id=12
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=16, Retry Count=0)
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/ccConferenceDestroy:
Conference Id=0x5, Tag=0x0
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/ccConferenceDestroy:

Jun 15 08:46:44.102: confID:0x5; callEntry1 callID1:0xC, type:3; callEntry2 callID2:0xD, type:3

Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=12,
Destination Call Id=13, Disposition=0x0, Tag=0x0
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //12/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Jun 15 08:46:44.102: cc_api_get_xcode_stream : 4981
Jun 15 08:46:44.102: //13/8CD784958020/CCAPI/cc_api_bridge_drop_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=13,
Destination Call Id=12, Disposition=0x0, Tag=0x0
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_generic_bridge_done:
Conference Id=0x5, Source Interface=0x3EEE8294, Source Call Id=13,
Destination Call Id=12, Disposition=0x0, Tag=0x0
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=16)
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jun 15 08:46:44.102: //13/8CD784958020/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jun 15 08:46:44.102: //13/8CD784958020/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3EEE8294, Tag=0x0, Call Id=12,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jun 15 08:46:44.102: //12/8CD784958020/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jun 15 08:46:44.102: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jun 15 08:46:44.102: :cc_free_feature_vsa freeing 210172F0
Jun 15 08:46:44.102: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jun 15 08:46:44.102: vsacount in free is 1
Jun 15 08:46:44.114: //13/8CD784958020/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x3EEE8294, Tag=0x0, Call Id=13,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
Jun 15 08:46:44.114: //13/8CD784958020/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jun 15 08:46:44.114: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jun 15 08:46:44.114: :cc_free_feature_vsa freeing 21017210
Jun 15 08:46:44.114: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Jun 15 08:46:44.114: vsacount in free is 0

 

Hi @Grishazahid 

Can you please post the architecture logical diagram representing IP schema for easier to understand.

Final 200 OK response to INVITE, the Contact Header information is "unavailable" which is causing the issue.

Can you please specify why have you specifically mention the RTP port range rtp-port range 17000 20998, you can ignore if its not specifically mentioned.

 

Jun 15 08:45:01.219: //11/5301115D8019/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.45.20.30:5060;received=193.178.187.42;branch=z9hG4bKE201B
From: "154" <sip:0442992946@10.45.20.30>;tag=1BA974-6EB
To: <sip:0800506800@195.5.0.54>;tag=mu3f299ly6
Call-ID: 530249AD-AE1B11EA-801FC3BE-3EDE9A14@10.45.20.30
CSeq: 101 INVITE
Timestamp: 1592210696
Allow: INVITE,ACK,PRACK,OPTIONS,CANCEL,BYE
Contact: "unavailable" <sip:unavailable@195.5.0.54:5060;transport=udp>
Supported: 100rel
Content-Length: 0

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

@Ritesh Desaihello!

RTP ports range info is given by ISP. Originally they are 17000-20999, but CME converts 20999 to 20998

Network diagram is in attachments.

@Grishazahid 

Yes, you already have the configuration guide. You can follow the path as mentioned.

1. Create voice class sip-profiles 1 under configuration mode as specified in document.

2. Replace the 172.x.y.z with your CME IP Address and 1.2.3.4 as public ip address.

3. Go to outgoing dial-peer towards ITSP and add "voice class sip-profiles 1"

4. Packets routing outside will modify the SIP headers.

Try using the above method and hope it works.

 

regards,

Ritesh Desai

Please rate helpful votes.

 

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

View solution in original post

Hurrah its working! :)

I created "voice class sip-profile" like in telnyx config guide, applied it to outbound dial-peer and my outgoing calls began to work!

Tomorrow I will test incoming dial-peer

 

Hi Grishazahid

Glad it worked for you. Cheers.

Thanks & regards,
Ritesh Desai
CS Infocomm Pvt Ltd | M: +91-9920867686
Upcoming Leaves: - -

Cisco WebEx Personal Room
https://csinfocomm.webex.com/meet/ritesh.desai
*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

Here is solution for those, who will read this topic in the future: you need to modify sip headers

Part of my working config for situation when CME is located behind nat. SIP & RTP ports are forwarded to CME by firewall

 

CME-1#sh run | sec dial-peer
dial-peer voice 777 voip
description *** TEST ***
translation-profile outgoing test-out
destination-pattern .T
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
voice-class sip profiles 1
dtmf-relay rtp-nte
codec g711alaw
no vad


dial-peer voice 776 voip
description ***INC-TEST***
translation-profile incoming test-in
session protocol sipv2
session target ipv4:195.5.0.54
session transport udp
incoming called-number .
voice-class sip profiles 1
dtmf-relay rtp-nte
codec g711alaw
no vad

CME-1#sh run | sec sip-profiles
voice class sip-profiles 1
response ANY sip-header Contact modify "10.45.20.30" "193.178.X.X"
request ANY sip-header Contact modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Audio-Connection-Info modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Connection-Info modify "10.45.20.30" "193.178.X.X"
response ANY sdp-header Session-Owner modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Audio-Connection-Info modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Connection-Info modify "10.45.20.30" "193.178.X.X"
request ANY sdp-header Session-Owner modify "10.45.20.30" "193.178.X.X"

View solution in original post

Content for Community-Ad

Spotlight Awards 2021