cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1051
Views
0
Helpful
10
Replies

Cisco CME Sipgate in and outbound calls

UKphonetech
Level 1
Level 1

Hi,

Could anyone help me please? We work as developers and just need to use the system for some test calls. I'm trying to make in and outbound calls from my Sipgate IP trunk but it's unable to dial our or in. If I dial in I do see the call but it does not route correctly. My show run config is below.


CMETEST#sh run
Building configuration...


Current configuration : 7325 bytes
!
! Last configuration change at 15:53:06 CEST Wed Apr 25 2018 by administrator
! NVRAM config last updated at 15:13:28 CEST Tue Apr 24 2018 by administrator
!
version 15.5
service config
service timestamps debug datetime msec
service timestamps log datetime msec
service udp-small-servers
no service dhcp
no platform punt-keepalive disable-kernel-core
!
hostname CMETEST
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
logging buffered 51200 warnings
enable secret 5 $1$G9Kd$hFOu6Z552hzpT8Oa7t9hb0
!
aaa new-model
!
!
!
!
!
!
!
!
aaa session-id common
clock timezone CEST 2 0
clock calendar-valid
!
!
!
!
!
!
!
!
!
!
!


ip host local-host 10.1.146.1

ip domain name imagicle.com
!
ip dhcp pool voice
network 10.1.0.0 255.255.0.0
option 150 ip 10.1.146.1
default-router 10.1.146.1
!
ip dhcp pool voice network 10.1.146.0 255.255.0.0
!
!
!
!
!
!
!
!
!
!
subscriber templating
multilink bundle-name authenticated
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-498901928
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-498901928
revocation-check none
rsakeypair TP-self-signed-498901928
!
!
crypto pki certificate chain TP-self-signed-498901928
certificate self-signed 01
30820229 30820192 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 34393839 30313932 38301E17 0D313830 32303931 31323431
365A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3439 38393031
39323830 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
AFCD8EF1 AD037EA1 CB064440 0F463D92 C6D23F08 FF4E1E65 FB49F1D9 C5E85FE3
111FA3A8 51224BEE B21D94AC B551B6BA 4D9CDE47 21252A4D 7B91FF24 E9134C92
DE230EA2 31046DDF E0196B54 046F024A A94CFCCB C5B019DD EB50E088 AC2C4512
5A70C79E 91654450 503E181A 54B53F24 C7416FE5 3744C137 27EBAD3D 31E40545
02030100 01A35330 51300F06 03551D13 0101FF04 05300301 01FF301F 0603551D
23041830 16801401 03AB1E47 7405F7D4 0259FD2C 5A1F8319 69E25230 1D060355
1D0E0416 04140103 AB1E4774 05F7D402 59FD2C5A 1F831969 E252300D 06092A86
4886F70D 01010505 00038181 0073DE9C 45509142 59C8CCDA 1F1F2115 65BE6AE3
4CFC997D E20E992D A0275C85 C1304682 8C41DA23 D562B45E 3870C53C 2FB3CAD3
6C8A44EC 25B24ADF 9CC27BE8 58107B91 1BD7CBC0 08F60E39 1CFE4A6F D17AD38B
7F229B33 C0314EB7 E6F009E1 32E5CE38 0AC1695B D58AC2DD 987483D4 1539BC84
0F2CC44D C048AB3E 1983265F C2
quit
!
!
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
ipv4 192.168.150.0 255.255.255.0
ipv4 192.168.200.0 255.255.255.0
ipv4 192.168.100.0 255.255.255.0
ipv4 192.168.4.0 255.255.255.0
ipv4 192.168.201.0 255.255.255.0
ipv4 192.168.204.0 255.255.255.0
ipv4 192.168.1.0 255.255.255.0
ipv4 10.1.0.0 255.255.0.0
ipv4 10.0.0.0 255.255.0.0
gcid
callmonitor
cti message device-id suppress-conversion
cti csta mode basic
no cti shutdown
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
sip
sip-profiles 1
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
!
voice class sip-profiles 1
request ANY sip-header From modify "(<.*:)(.*@)" "<SIP-ID>@"
request REGISTER sip-header To modify "(<.*:)(.*@)" "<SIP-ID>@"
!
!
!
!
voice register global
mode cme
source-address 10.1.146.1 port 5060
max-dn 20
max-pool 10
!
!
!
!
http client cache memory pool 100000
http client cache memory file 10000
http client connection timeout 10
http client connection idle timeout 200
http client response timeout 300
license udi pid *******/K9 sn **********
!
spanning-tree extend system-id
!
username admin privilege 15 password 0 ********0
username cisco password 0 ******
username Appadmin privilege 15 ***** 5 $1$katj$G7MIIzgzUm6Ve4rQwaKy50
username administrator privilege 15 ***** 5 $1$HFsL$A3O07cF6tq5KSyV4sBEJc/
username enzo password 0 ****
username imagi privilege 15 password 0 imagi
!
redundancy
mode none
!
!
vlan internal allocation policy ascending
!
class-map type control match-any remote-manage
!
!
class-map type access-control match-any remote-manage
!
!
!
!
!
interface GigabitEthernet0/0/0
description Ethernet
ip address 10.1.146.1 255.255.0.0
negotiation auto
!
interface GigabitEthernet0/0/1
no ip address
negotiation auto
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
ip nat inside
negotiation auto
!
interface Vlan1
no ip address
shutdown
!
ip default-gateway 10.1.0.2
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http max-connections 1000
ip http timeout-policy idle 600 life 86400 requests 86400
ip tftp source-interface GigabitEthernet0/0/0
ip default-network 10.1.0.0
ip route 0.0.0.0 0.0.0.0 10.1.0.2
ip route 10.0.0.0 255.255.0.0 10.1.0.2
ip route 10.100.0.0 255.255.0.0 10.1.0.2
ip ssh time-out 60
!
!
!
!
!
!
!
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
!
!
!
!
telephony-service
conference transfer-pattern
max-ephones 10
max-dn 10
ip source-address 10.1.146.1 port 2000
cnf-file location flash:
cnf-file perphone
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
dial-peer voice 9000 voip
description Outgoing calls
destination-pattern 0T
session protocol sipv2
session target dns:sipgate.co.uk
voice-class sip profiles 1
dtmf-relay sip-notify
codec g711alaw
no vad
!
!
sip-ua
credentials username 3807888e0 password 7 097469313F26254123 realm sipgate.co.uk
authentication username 3807888e0 password 7 1221222F34283E5702 realm sipgate.co.uk
registrar dns:sipgate.co.uk:5060 expires 3600
sip-server dns:sipgate.co.uk:5060
!
!
ephone-dn 1
number 200
description IPC Test
name Test Phone
cti notify
cti watch
!
!
ephone-dn 2
number 201
description IPC Test2
name Test Phone 2
cti notify
cti watch
!
!
ephone-dn 3
number 202
description IPC Test3
name Test Phone 3
cti notify
cti watch
!
!
ephone-dn 4
number 203
description IPC Test4
name Test Phone 4
cti notify
cti watch
!
!
ephone 1
description IPC Test
mac-address A000.B000.000B
username "test" password test
type CIPC
button 1:1
!
!
!
ephone 2
description IPC Test 2
mac-address 000D.28C2.0ECB
username "test2" password test2
type 7940
button 1:2
!
!
!
ephone 3
description IPC Test 2
mac-address 000C.3070.86A5
username "test3" password test3
type 7940
button 1:3
!
!
!
ephone 4
mac-address 0000.0000.000B
type CIPC
button 1:4
!
!
!
ephone 5
mac-address 0000.0000.000C
type 7940
!
!
!
ephone 6
mac-address 0000.000D.000A
!
!
!
ephone 8
!
!
banner motd ^CC^C
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 0 0
privilege level 15
transport input telnet ssh
line vty 5 15
privilege level 15
transport input telnet ssh
!
!
end

 

10 Replies 10

R0g22
Cisco Employee
Cisco Employee
Get a debug ccsip message and debug voice ccapi inout to see what is happening.

Thanks for the reply. If you can help the traces are below? Thanks 

 

Outbound call

May 9 13:43:47.647: //8704/CE8A37FA8276/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Username in From Field required
Via: SIP/2.0/UDP 10.1.146.1:5060;branch=z9hG4bK27B81A71;rport=6916;received=194.168.11.182
From: "Test Phone 3" <sip:202@sipgate.co.uk>;tag=85BBA50A-16B6
To: <sip:0800500005@sipgate.co.uk>;tag=ade4fa2b884c8263d9114cf9f0febf3f.b879
Call-ID: D5576528-52C511E8-827BEFC5-A22B771E@10.1.146.1
CSeq: 101 INVITE
Content-Length: 0


May 9 13:43:47.649: //8704/CE8A37FA8276/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:0800500005@sipgate.co.uk:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.146.1:5060;branch=z9hG4bK27B81A71
From: "Test Phone 3" <sip:202@sipgate.co.uk>;tag=85BBA50A-16B6
To: <sip:0800500005@sipgate.co.uk>;tag=ade4fa2b884c8263d9114cf9f0febf3f.b879
Date: Wed, 09 May 2018 15:43:47 GMT
Call-ID: D5576528-52C511E8-827BEFC5-A22B771E@10.1.146.1
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0

 

 

****************

 

Inbound Call --

 

 

Record-Route: <sip:217.10.79.23;lr;ftag=as14788da0>
Record-Route: <sip:172.20.40.8;lr>
Record-Route: <sip:217.10.68.137;lr;ftag=as14788da0>
Via: SIP/2.0/UDP 217.10.79.23;branch=z9hG4bKa20a.1ea5fd971c071e41a5742f1b0c482965.0
Via: SIP/2.0/UDP 172.20.40.8;branch=z9hG4bKa20a.cc29b1f0396473acb9e99cb06a02b502.0
Via: SIP/2.0/UDP 217.10.68.137;branch=z9hG4bKa20a.ea2e344cbcf67773d8b4f7c6bbbba790.0
Via: SIP/2.0/UDP 217.10.77.57:5060;branch=z9hG4bK0a47daf6
Max-Forwards: 67
From: "01733667800" <sip:01733667800@sipgate.co.uk>;tag=as14788da0
To: <sip:00441733807888@sipgate.co.uk>
Contact: <sip:01733667800@217.10.77.57:5060>
Call-ID: 40e359664d5435e76f02734a218a2ada@sipgate.co.uk
CSeq: 103 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces
Content-Type: application/sdp
Content-Length: 441

v=0
o=root 684692663 684692664 IN IP4 217.10.77.57
s=sipgate VoIP GW
c=IN IP4 217.10.77.241
t=0 0
m=audio 27202 RTP/AVP 8 0 3 97 18 112 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:112 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
a=rtcp:27203

May 9 09:57:52.145: //8669/45A6D32F825A/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.10.79.23;branch=z9hG4bKa20a.1ea5fd971c071e41a5742f1b0c482965.0,SIP/2.0/UDP 172.20.40.8;branch=z9hG4bKa20a.cc29b1f0396473acb9e99cb06a02b502.0,SIP/2.0/UDP 217.10.68.137;branch=z9hG4bKa20a.ea2e344cbcf67773d8b4f7c6bbbba790.0,SIP/2.0/UDP 217.10.77.57:5060;branch=z9hG4bK0a47daf6
From: "01733667800" <sip:01733667800@sipgate.co.uk>;tag=as14788da0
To: <sip:00441733807888@sipgate.co.uk>
Date: Wed, 09 May 2018 11:57:52 GMT
Call-ID: 40e359664d5435e76f02734a218a2ada@sipgate.co.uk
CSeq: 103 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.5.3.S4b
Content-Length: 0


May 9 09:57:52.145: //8669/45A6D32F825A/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP 217.10.79.23;branch=z9hG4bKa20a.1ea5fd971c071e41a5742f1b0c482965.0,SIP/2.0/UDP 172.20.40.8;branch=z9hG4bKa20a.cc29b1f0396473acb9e99cb06a02b502.0,SIP/2.0/UDP 217.10.68.137;branch=z9hG4bKa20a.ea2e344cbcf67773d8b4f7c6bbbba790.0,SIP/2.0/UDP 217.10.77.57:5060;branch=z9hG4bK0a47daf6
From: "01733667800" <sip:01733667800@sipgate.co.uk>;tag=as14788da0
To: <sip:00441733807888@sipgate.co.uk>;tag=84ECCDFC-1BDA
Date: Wed, 09 May 2018 11:57:52 GMT
Call-ID: 40e359664d5435e76f02734a218a2ada@sipgate.co.uk
CSeq: 103 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.5.3.S4b
Reason: Q.850;cause=28
Content-Length: 0


May 9 09:57:52.175: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:3807888e0@10.1.146.1:5060 SIP/2.0
Via: SIP/2.0/UDP 217.10.79.23;branch=z9hG4bKa20a.1ea5fd971c071e41a5742f1b0c482965.0
Via: SIP/2.0/UDP 172.20.40.8;branch=z9hG4bKa20a.cc29b1f0396473acb9e99cb06a02b502.0
Max-Forwards: 67
From: "01733667800" <sip:01733667800@sipgate.co.uk>;tag=as14788da0
To: <sip:00441733807888@sipgate.co.uk>;tag=84ECCDFC-1BDA
Call-ID: 40e359664d5435e76f02734a218a2ada@sipgate.co.uk
CSeq: 103 ACK
Content-Length: 0
X-hint: rr-enforced

 

Can you share the complete logs ? For the outbound call I see your ITSP requesting for a correct username in the FROM header which what your ITSP might be expecting is your DID rather than the internal extension. Correct that through a translation.

For inbound calls, the IOS is rejecting the call with CV=28. It does not have enough digits to match a DP.

I requested a ccapi inout debug as well but I don't see that here.

Thanks again.

I can't seem to enable ccapi messages? is it debug ccapi ? It's not correct?

 

Second outbound call

 

May 9 14:14:45.892: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
...
May 9 14:15:00.142: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
...
May 9 14:15:07.222: //8712/2EDF543C8282/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:0800500005@sipgate.co.uk:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.146.1:5060;branch=z9hG4bK27C24CD
Remote-Party-ID: "Test Phone 3" <sip:202@10.1.146.1>;party=calling;screen=no;privacy=off
From: "Test Phone 3" <sip:202@sipgate.co.uk>;tag=85D85341-1DAD
To: <sip:0800500005@sipgate.co.uk>
Date: Wed, 09 May 2018 16:15:07 GMT
Call-ID: 35ACAA2D-52CA11E8-8287EFC5-A22B771E@10.1.146.1
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 0786388028-1388974568-2189619141-2720757534
User-Agent: Cisco-SIPGateway/IOS-15.5.3.S4b
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1525875307
Contact: <sip:202@10.1.146.1:5060>
Call-Info: <sip:10.1.146.1:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
Cisco-Gcid: 2EDF543C-52CA-11E8-8282-EFC5A22B771E
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 184

v=0
o=CiscoSystemsSIP-GW-UserAgent 7969 2246 IN IP4 10.1.146.1
s=SIP Call
c=IN IP4 10.1.146.1
t=0 0
m=audio 8192 RTP/AVP 8
c=IN IP4 10.1.146.1
a=rtpmap:8 PCMA/8000
a=ptime:20

May 9 14:15:07.257: //8712/2EDF543C8282/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Username in From Field required
Via: SIP/2.0/UDP 10.1.146.1:5060;branch=z9hG4bK27C24CD;rport=6916;received=194.168.11.182
From: "Test Phone 3" <sip:202@sipgate.co.uk>;tag=85D85341-1DAD
To: <sip:0800500005@sipgate.co.uk>;tag=ade4fa2b884c8263d9114cf9f0febf3f.ee94
Call-ID: 35ACAA2D-52CA11E8-8287EFC5-A22B771E@10.1.146.1
CSeq: 101 INVITE
Content-Length: 0


May 9 14:15:07.259: //8712/2EDF543C8282/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:0800500005@sipgate.co.uk:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.146.1:5060;branch=z9hG4bK27C24CD
From: "Test Phone 3" <sip:202@sipgate.co.uk>;tag=85D85341-1DAD
To: <sip:0800500005@sipgate.co.uk>;tag=ade4fa2b884c8263d9114cf9f0febf3f.ee94
Date: Wed, 09 May 2018 16:15:07 GMT
Call-ID: 35ACAA2D-52CA11E8-8287EFC5-A22B771E@10.1.146.1
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


May 9 14:15:14.393: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:

It's "debug voice ccapi inout".

Inbound Call CCAPI test

CMETEST#
May 9 14:25:41.927: //-1/AFFD6A4D828E/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=01733667800
----- ccCallInfo IE subfields -----
cisco-ani=01733667800
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=3807888e0
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFFFFFFFFFF
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

May 9 14:25:41.928: //-1/AFFD6A4D828E/CCAPI/cc_api_call_setup_ind_common:
Interface=0x7FA878128E88, Call Info(
Calling Number=01733667800,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=3807888e0(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=9000, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=8717
May 9 14:25:41.928: //-1/AFFD6A4D828E/CCAPI/ccCheckClipClir:
In: Calling Number=01733667800(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:25:41.928: //-1/AFFD6A4D828E/CCAPI/ccCheckClipClir:
Out: Calling Number=01733667800(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:25:41.928: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:25:41.928: :cc_get_feature_vsa malloc success
May 9 14:25:41.928: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:25:41.928: cc_get_feature_vsa count is 1
May 9 14:25:41.928: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:25:41.928: :FEATURE_VSA attributes are: feature_name:0,feature_time:140361778598420,feature_id:171
May 9 14:25:41.928: //8717/AFFD6A4D828E/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=01733667800(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=3807888e0(TON=Unknown, NPI=Unknown))
May 9 14:25:41.928: //8717/AFFD6A4D828E/CCAPI/cc_process_call_setup_ind:
Event=0x7FA885F63D70
May 9 14:25:41.928: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 3807888e0
May 9 14:25:41.928: //8717/AFFD6A4D828E/CCAPI/ccCallSetContext:
Context=0x7FA88A7C95C8
May 9 14:25:41.928: //8717/AFFD6A4D828E/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 8717 with tag 9000 to app "_ManagedAppProcess_Default"
May 9 14:25:41.929: //8717/AFFD6A4D828E/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
May 9 14:25:41.929: //8717/AFFD6A4D828E/CCAPI/ccCallDisconnect:
Cause Value=28, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
May 9 14:25:41.929: //8717/AFFD6A4D828E/CCAPI/ccCallDisconnect:
Cause Value=28, Call Entry(Responsed=TRUE, Cause Value=28)
May 9 14:25:41.961: //8717/AFFD6A4D828E/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x7FA878128E88, Tag=0x0, Call Id=8717,
Call Entry(Disconnect Cause=28, Voice Class Cause Code=0, Retry Count=0)
May 9 14:25:41.961: //8717/AFFD6A4D828E/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
May 9 14:25:41.961: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:25:41.961: :cc_free_feature_vsa freeing 7FA885F41208
May 9 14:25:41.961: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:25:41.961: vsacount in free is 0

 

*******************************************************************

Outbound Call CCAPI

CMETEST#debug voice ccapi inout
voip ccapi inout debugging is on
CMETEST#
CMETEST#
CMETEST#
May 9 14:23:58.342: //-1/723FC17F8288/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=202
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFFFFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

May 9 14:23:58.343: //-1/723FC17F8288/CCAPI/cc_api_call_setup_ind_common:
Interface=0x7FA889F20D00, Call Info(
Calling Number=202,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE,
Incoming Dial-peer=20003, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
May 9 14:23:58.343: //-1/723FC17F8288/CCAPI/ccCheckClipClir:
In: Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:23:58.343: //-1/723FC17F8288/CCAPI/ccCheckClipClir:
Out: Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:23:58.343: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:23:58.343: :cc_get_feature_vsa malloc success
May 9 14:23:58.343: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:23:58.343: cc_get_feature_vsa count is 1
May 9 14:23:58.343: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:23:58.343: :FEATURE_VSA attributes are: feature_name:0,feature_time:140361778598420,feature_id:169
May 9 14:23:58.343: //8714/723FC17F8288/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown))
May 9 14:23:58.343: //8714/723FC17F8288/CCAPI/cc_process_call_setup_ind:
Event=0x7FA885F63D70
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccCallSetContext:
Context=0x7FA88A7CAC70
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 8714 with tag 20003 to app "_ManagedAppProcess_Default"
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccCallSetupAck:
Call Id=8714
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/cc_api_set_transfer_info:
Transfer Number=, Transfer Reason=0x0
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=TRUE, Tone=Dial Tone,
Tone Direction=Network, Params=0x0, Call Id=8714
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=-1000(ms), Inter Digit Timeout=-1000(ms)
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=10000(ms))
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccCallReportDigits:
(callID=0x220A, digit_event=0x1, enable=TRUE, consume=FALSE)
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=8714
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x7FA889F20D00, callID=0x220A, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x7FA889F20D00, Call Id=8714
May 9 14:23:58.344: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))
May 9 14:23:58.851: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x129FD28, Rtp Expiration=0x0
May 9 14:23:58.852: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:58.852: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:58.952: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=8, DigitBeginFlags=0x0,
Rtp Timestamp=0x12A7A28, Rtp Expiration=0x0
May 9 14:23:58.952: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=8, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:58.952: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.051: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12AF728, Rtp Expiration=0x0
May 9 14:23:59.052: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.052: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.151: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12B7428, Rtp Expiration=0x0
May 9 14:23:59.152: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.152: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.252: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=5, DigitBeginFlags=0x0,
Rtp Timestamp=0x12BF128, Rtp Expiration=0x0
May 9 14:23:59.252: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=5, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.252: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.351: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12C6E28, Rtp Expiration=0x0
May 9 14:23:59.352: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.352: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.452: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12CEB28, Rtp Expiration=0x0
May 9 14:23:59.452: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.452: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.552: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12D6828, Rtp Expiration=0x0
May 9 14:23:59.552: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.552: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.651: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, DigitBeginFlags=0x0,
Rtp Timestamp=0x12DE528, Rtp Expiration=0x0
May 9 14:23:59.652: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=0, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.652: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:23:59.751: //8714/723FC17F8288/CCAPI/cc_api_call_digit_begin:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=5, DigitBeginFlags=0x0,
Rtp Timestamp=0x12E6228, Rtp Expiration=0x0
May 9 14:23:59.752: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Destination Interface=0x0, Destination Mask=0x3, Destination Call Id=-1,
Source Call Id=8714, Digit=5, Duration=100,
Xrule Calling Tag=0, Xrule Called Tag=0, Digit Tone Mode=DTMF
May 9 14:23:59.752: //8714/723FC17F8288/CCAPI/cc_api_call_digit_end:
Call Entry(Handoff Depth=0)
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/cc_handle_inter_digit_timer:
Generate inter-digit timeout CC_EV_CALL_DIGIT_END event
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/cc_handle_inter_digit_timer:
Generate inter-digit timeout CC_EV_CALL_DIGIT_END event
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/ccCallReportDigits:
(callID=0x220A, digit_event=0x0, enable=FALSE, consume=FALSE)
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=8714
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x7FA889F20D00, callID=0x220A, disp=0, digit_event=0x0, enable=FALSE, consume=FALSE)
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x7FA889F20D00, Call Id=8714
May 9 14:24:09.752: //8714/723FC17F8288/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=9000, Params=0x7FA88A7C5250, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCheckClipClir:
In: Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCheckClipClir:
Out: Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCallSetupRequest:
Destination Pattern=0T, Called Number=0800500005, Digit Strip=FALSE
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccCallSetupRequest:
Calling Number=202(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=0800500005(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=Test Phone 3
Account Number=, Final Destination Flag=FALSE,
Guid=723FC17F-52CB-11E8-8288-EFC5A22B771E, Outgoing Dial-peer=9000
May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=202
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=0800500005
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFFFFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

May 9 14:24:09.753: //8714/723FC17F8288/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x7FA878128E88, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=202,(Calling Name=Test Phone 3)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=All owed),
Called Number=0800500005(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE, Outgoing Dial-peer=9000, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
May 9 14:24:09.753: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:24:09.753: :cc_get_feature_vsa malloc success
May 9 14:24:09.753: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:24:09.753: cc_get_feature_vsa count is 2
May 9 14:24:09.754: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 9 14:24:09.754: :FEATURE_VSA attributes are: feature_name:0,feature_time:140361778598196,feature_id:170
May 9 14:24:09.754: //8715/723FC17F8288/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
May 9 14:24:09.754: //8715/723FC17F8288/CCAPI/ccCallSetContext:
Context=0x7FA88A7C51D0
May 9 14:24:09.754: //8714/723FC17F8288/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=9000
May 9 14:24:09.755: //8715/723FC17F8288/CCAPI/cc_api_call_proceeding:
Interface=0x7FA878128E88, Progress Indication=NULL(0)
May 9 14:24:09.758: //8715/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

May 9 14:24:09.758: cc_api_get_xcode_stream : 4983
May 9 14:24:09.794: //8715/723FC17F8288/CCAPI/cc_api_call_disconnected:
Cause Value=57, Interface=0x7FA878128E88, Call Id=8715
May 9 14:24:09.794: //8715/723FC17F8288/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=57, Retry Count=0)
May 9 14:24:09.794: //8714/723FC17F8288/CCAPI/ccCallReleaseResources:
release reserved xcoding resource.
May 9 14:24:09.794: //8715/723FC17F8288/CCAPI/ccCallSetAAA_Accounting:
Accounting=0, Call Id=8715
May 9 14:24:09.794: //8715/723FC17F8288/CCAPI/ccCallDisconnect:
Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=57)
May 9 14:24:09.794: //8715/723FC17F8288/CCAPI/ccCallDisconnect:
Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
May 9 14:24:09.795: //8715/723FC17F8288/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x7FA878128E88, Tag=0x0, Call Id=8715,
Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
May 9 14:24:09.795: //8715/723FC17F8288/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
May 9 14:24:09.795: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:24:09.795: :cc_free_feature_vsa freeing 7FA885F41128
May 9 14:24:09.795: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:24:09.795: vsacount in free is 1
May 9 14:24:09.795: //8714/723FC17F8288/CCAPI/ccCallDisconnect:
Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
May 9 14:24:09.795: //8714/723FC17F8288/CCAPI/ccCallDisconnect:
Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
May 9 14:24:09.795: //8714/723FC17F8288/CCAPI/cc_api_get_transfer_info:
Transfer Number=NULL
May 9 14:24:14.473: //8714/723FC17F8288/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x7FA889F20D00, Tag=0x0, Call Id=8714,
Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
May 9 14:24:14.473: //8714/723FC17F8288/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
May 9 14:24:14.473: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:24:14.473: :cc_free_feature_vsa freeing 7FA885F41208
May 9 14:24:14.473: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 9 14:24:14.473: vsacount in free is 0

 

I wanted both the SIP and CCAPI enabled at the same time and logs collected.
Never mind. This is what I see -

Why does the DNIS has an "e" in there ? "dest=3807888e0". That is why the IOS is not able to match an outgoing dial-peer.

For your outbound calls, you are sending ANI as your internal 3 digit extension. That is why the calls are being rejected. You would need to configure translation rules/profile and apply it to your outbound dial-peers to translate your 3 digit ANI to your DID. Go through the following -
https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

Hi,

Thank you again. I will check the information for the outbound calls. The e in the 3807888e0 is the Sipgate registration name they don't just use numbers, I have seen some other information on this.

 

 

For the inbound calls, the request URI should be the destination. Router won't be able to route calls since your dial-plan does not accomodate alphanumeric strings. You can tweak this with a inbound sip profile but I would ask you to get this corrected through your ITSP.

Ok, I did see some information on the Sipgate blog for this. I will give this a try.

 

Thanks