cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3398
Views
0
Helpful
7
Replies

CME with SIP Trunk

alap84
Level 1
Level 1

Hi Experts

i am facing problem when calling outside using my SIP trunk from ITSP. i am calling from my gateway using csim start number it shows folloing messages

csim start 38880951

May 18 16:57:58.887: csim: called number = 38880951, loop count = 1 ping count =

0

May 18 16:57:58.887: csimSetupPeer peer type(2), destPat(38880951), matched(0),

target()

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=FALSE, Mode=0,

   Outgoing Dial-peer=100, Params=0x4B67766C, Progress Indication=NULL(0)

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Present

ation=Allowed)

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   Out: Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presen

tation=Allowed)

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination Pattern=.T, Called Number=38880951, Digit Strip=FALSE

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccCal

fakhro#lSetupRequest:

   Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presentatio

n=Allowed),

   Called Number=38880951(TON=Unknown, NPI=Unknown),

   Redirect Number=, Display Info=

   Account Number=, Final Destination Flag=FALSE,

   Guid=ED774BF1-BF12-11E2-888F-A62C964BFFF3, Outgoing Dial-peer=100

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=13666667

   cisco-anitype=0

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=3

   dest=38880951

   cisco-desttype=0

   cisco-destplan=0

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-lastrdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x48B01490, Interface Type=3, Destination=, Mode=0x0,

   Call Params(Calling Number=13666667,(Calling Name=)(TON=Unknown, NPI=ISDN, Sc

reening=Network, Presentation=Allowed),

   Called Number=38880951(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=100, Cal

l Count On=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl

ication Call Id=)

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 16:57:58.887: :cc_get_feature_vsa malloc success

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 16:57:58.887:  cc_get_feature_vsa count is 1

May 18 16:57:58.887: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 16:57:58.887: :FEATURE_VSA attributes are: feature_name:0,feature_time:12

66272040,feature_id:454

May 18 16:57:58.891: //6427/ED774BF1888F/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1

May 18 16:57:58.891: //6427/ED774BF1888F/CCAPI/ccCallSetContext:

   Context=0x47DB8150

May 18 16:57:58.891: //6427/ED774BF1888F/CCAPI/cc_api_call_proceeding:

   Interface=0x48B01490, Progress Indication=NULL(0)

May 18 16:57:58.891: csim_do_test: cid(6427), ev(22), disp(0)

May 18 16:57:58.891: csimTraceSct: cid(6427),st(0),oldst(0)

May 18 16:57:58.891: csimIgnore  cid(6427), st(0),oldst(0), ev(22)

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/cc_api_call_disconnected:

   Cause Value=47, Interface=0x48B01490, Call Id=6427

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/cc_api_call_disconnected:

   Call Entry(Responsed=TRUE, Cause Value=47, Retry Count=0)

May 18 16:57:58.895: csim_do_test: cid(6427), ev(12), disp(0)

May 18 16:57:58.895: csimTraceSct: cid(6427),st(0),oldst(0)

May 18 16:57:58.895: csim err csimDisconnected recvd DISC cid(6427)

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/ccCallDisconnect:

   Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect C

ause=47)

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/ccCallDisconnect:

   Cause Value=47, Call Entry(Responsed=TRUE, Cause Value=47)

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/cc_api_call_disconnect_done:

   Disposition=-11, Interface=0x48B01490, Tag=0x0, Call Id=6427,

   Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)

May 18 16:57:58.895: //6427/ED774BF1888F/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

May 18 16:57:58.895: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 16:57:58.895: :cc_free_feature_vsa freeing 4B79C720

May 18 16:57:58.899: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 16:57:58.899:  vsacount in free is 0

May 18 16:57:58.899: //6427/ED774BF1888F/SIP/Call/sipSPICallInfo:

The Call Setup Information is:

Call Control Block (CCB) : 0x4B78DA84

State of The Call        : STATE_DEAD

TCP Sockets Used         : NO

Calling Number           : 13666667

Called Number            : 38880951

Source IP Address (Sig  ): 172.26.2.58

Destn SIP Req Addr:Port  : :5060

Destn SIP Resp Addr:Port : :5060

Destination Name         : voice.server.com

May 18 16:57:58.899: //6427/ED774BF1888F/SIP/Call/sipSPICallInfo:

Disconnect Cause (CC)    : 47

Disconnect Cause (SIP)   : 200

May 18 16:57:58.899: csim_do_test: cid(6427), ev(13), disp(-11)

May 18 16:57:58.899: csimTraceSct: cid(6427),st(2),oldst(0)

May 18 16:57:59.399: csim: loop = 1, failed = 1

May 18 16:57:59.399: csim: call attempted = 1, setup failed = 1, tone failed = 0

May 18 16:57:59.399: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:

   ccAppShutdownMode: remove it from the queue

2 Accepted Solutions

Accepted Solutions

Never use "csim start" as a troubleshooting method, it is unreliable, if you want to address the problem, you better use real phone, and make test calls. It is an advise from my troubleshooting experience

--
Jorge Armijo

Please remember to rate helpful responses and identify helpful or correct answers.

-- Jorge Armijo Please remember to rate helpful responses and identify helpful or correct answers.

View solution in original post

absolutely..Jorge spot on. I hate that command as unreliable as anything..

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

View solution in original post

7 Replies 7

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

You are getting a cause code of 47.which usually points to a capability issue. Can you send a sh run. Can you also do another test call with a phone and send debug ccsip messages and debug voip ccapi inout

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

hi bro ...

at this moment i cant do the call from hardphone

Current configuration : 10290 bytes

!

!

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname fakhro

!

boot-start-marker

boot system flash c2800nm-adventerprisek9-mz.124-24.T8.bin

boot-end-marker

!

logging message-counter syslog

logging buffered 52000

enable secret

!

no aaa new-model

clock timezone UTC 3

network-clock-participate wic 1

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

ip domain lookup source-interface GigabitEthernet0/1.2374

ip name-server x.x.x.x

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

supplementary-service h450.12

fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none

sip

  bind control source-interface GigabitEthernet0/1.2374

  bind media source-interface GigabitEthernet0/1.2374

  header-passing

  error-passthru

  registrar server expires max 250 min 200

  early-offer forced

!

!

!

voice class codec 99

codec preference 1 g729r8

codec preference 2 g729br8

codec preference 3 g711alaw

!

!

!

!

!

!

!

!

!

!

!

!

!

!

voice translation-rule 900

rule 1 /^550/ /13699550/

rule 2 /^551/ /13699551/

rule 3 /^552/ /13699552/

rule 4 /^553/ /13699553/

rule 5 /^554/ /13699554/

rule 6 /^558/ /13699558/

!

voice translation-rule 901

rule 1 /^13699550$/ /550/

rule 2 /^13699551$/ /551/

rule 3 /^13699552$/ /552/

rule 4 /^13699553$/ /553/

rule 5 /^13699554$/ /554/

rule 6 /^13699558$/ /558/

!

voice translation-rule 920

rule 1 /^9/ //

!

!

voice translation-profile 900-Incoming

translate calling 901

translate called 901

!

voice translation-profile Add-13699

translate calling 900

translate called 920

!

voice translation-profile block

translate called 987

!

voice translation-profile test

translate called 910

!

!

voice-card 0

!

fax interface-type fax-mail

!

crypto pki trustpoint TP-self-signed-289312270

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-289312270

revocation-check none

rsakeypair TP-self-signed-289312270

!

!

crypto pki certificate chain TP-self-signed-289312270

certificate self-signed 02

  30820247 308201B0 A0030201 02020102 300D0609 2A864886 F70D0101 04050030

  30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274

  69666963 6174652D 32383933 31323237 30301E17 0D313330 35303930 37343535

  325A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F

  532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3238 39333132

  32373030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100

  E4069769 9B047A5C 5F97F82F C71AAA58 BDA620AB CB97CA2B 1001F16F 733C928B

  CFABD8E2 2E567FCB 74940E22 24E556D5 63F4633F 7233E71E FF66763A 62D65BE6

  73CBD340 C76D4213 1A51D343 C06E64F0 2418FBC5 8C785D8E 2AE76906 3250E22A

  3B78EA20 CCD1A691 CB4AFE89 7401D0B3 842FBB5D A7949301 6ADD574E F4D67215

  02030100 01A37130 6F300F06 03551D13 0101FF04 05300301 01FF301C 0603551D

  11041530 13821166 616B6872 6F2E6661 6B68726F 2E636F6D 301F0603 551D2304

  18301680 14F9AB29 D697552C 412C9422 B60F333C 281B7256 D3301D06 03551D0E

  04160414 F9AB29D6 97552C41 2C9422B6 0F333C28 1B7256D3 300D0609 2A864886

  F70D0101 04050003 8181007E 6FCE2BB0 B37FB086 493FDDBA CA5A1123 57369A0C

  485100B2 7BBB51F8 82A7AE97 A1C2D616 7FE91D44 1EC4925A E7994D25 44DB2D72

  004E6994 72DFC02C 8C501C2C D6C2942A 6E60B4F6 507C70E3 2DAF15F5 0F5F4589

  BA0175D9 B24AB63C 77AEFEB3 5038B431 BC5FA26B 8B748BE9 8A9782BC C6E376C2

  E0F7BAA0 4B33A8B5 911297

        quit

!

!

username xxx privilege 15 password 0 xxx

archive

log config

  hidekeys

!

!

crypto isakmp policy 2

hash md5

authentication pre-share

!

crypto isakmp policy 10

encr 3des

hash md5

authentication pre-share

group 2

crypto isakmp key KCC-BH123 address x.x.x.x

!

!

crypto ipsec transform-set ASA-IPSEC esp-des esp-sha-hmac

crypto ipsec transform-set KCC esp-3des esp-md5-hmac

!

crypto map SDM_CMAP_1 1 ipsec-isakmp

description Tunnel to x.x.x.x

set peer x.x.x.x

set transform-set KCC

set pfs group2

match address 100

qos pre-classify

!

!

!

controller E1 0/1/0

framing NO-CRC4

!

!

translation-rule 1

!

!

!

!

!

interface GigabitEthernet0/0

description *** lAN Interface ***

ip address 10.190.10.2 255.255.255.0

ip nat inside

ip virtual-reassembly

duplex auto

speed auto

!

interface GigabitEthernet0/1

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/1.2373

description ***  Internet 1Mb ***

encapsulation dot1Q 2373

ip address x.x.x.x x.x.x.x

ip nat outside

ip virtual-reassembly

crypto map SDM_CMAP_1

!

interface GigabitEthernet0/1.2374

description *** VOIP Link 1280 Kbps ***

encapsulation dot1Q 2374

ip address 172.26.2.58 255.255.255.252

!

interface FastEthernet0/0/0

!

interface FastEthernet0/0/1

!

interface FastEthernet0/0/2

!

interface FastEthernet0/0/3

!

interface Vlan1

description $ES_LAN$

no ip address

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 x.x.x.x

ip route 172.26.0.0 255.255.0.0 GigabitEthernet0/1.2374

ip http server

ip http authentication local

ip http secure-server

!

!

ip nat inside source route-map SDM_RMAP_1 interface GigabitEthernet0/1.2373 overload

!

access-list 1 remark SDM_ACL Category=16

access-list 1 permit 10.190.10.0 0.0.0.255

access-list 100 remark SDM_ACL Category=4

access-list 100 remark IPSec Rule

access-list 100 permit ip 10.190.10.0 0.0.0.255 192.168.10.0 0.0.0.255

access-list 100 permit ip 10.190.10.0 0.0.0.255 192.168.0.0 0.0.255.255

!

!

!

!

route-map SDM_RMAP_1 permit 1

match ip address 101

!

!

tftp-server flash:apps37sccp.1-2-1-0.tar

tftp-server flash:CP7902080002SCCP060817A.sbin

tftp-server flash:CP7905080002SCCP060817A.sbin

tftp-server flash:term11.default.loads

tftp-server flash:B015-1-0-3.SBN

tftp-server flash:B016-1-0-3.SBN

tftp-server flash:apps11.8-4-1-23.sbn

tftp-server flash:cnu11.8-4-1-23.sbn

tftp-server flash:cvm11sccp.8-4-1-23.sbn

tftp-server flash:dsp11.8-4-1-23.sbn

tftp-server flash:jar11sccp.8-4-1-23.sbn

tftp-server flash:SCCP11.8-4-2S.loads

tftp-server flash:term06.default.loads

!

control-plane

!

!

!

!

!

!

sccp ccm group 1

!

dspfarm profile 10 conference

maximum conference-participants 0

!

!

dial-peer voice 100 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

destination-pattern .T

session protocol sipv2

session target dns:voice.bb.zain.com

dtmf-relay sip-kpml sip-notify

no fax-relay sg3-to-g3

clid network-number 13666667

no vad

!

dial-peer voice 101 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

voice-class codec 99

session protocol sipv2

session target sip-server

incoming called-number .T

dtmf-relay sip-notify sip-kpml

!

!

sip-ua

credentials username xxxxxxx password 7 xxxxxxx realm voice.server.com

retry options 1

registrar dns:voice.server.com:5060 expires 1800

sip-server dns:voice.server.com:5060

permit hostname dns:voice.server.com

!

!

!

telephony-service

authentication credential name name

em keep-history

xml user namer password name 15

max-ephones 110

max-dn 288

ip source-address 10.190.10.2 port 2000

service phone webAccess 0

timeouts interdigit 3

timeouts ringing 20

system message message

url services http://10.190.10.2/voiceview/common/login.do

url authentication http://10.190.10.2/CCMIP/authenticate.asp

load 7911 SCCP11.8-4-2S

time-zone 31

max-conferences 8 gain -6

web admin system name name password passowrd

dn-webedit

transfer-system full-consult

secondary-dialtone 9

create cnf-files version-stamp 7960 May 17 2013 15:13:16

!

!

ephone-dn  1

number 550 no-reg both

description Test

name Test

!

!

ephone-dn  2

number 551 no-reg primary

description

name

!

!

ephone-dn  3

number 552 no-reg primary

description

name

!

!

ephone-dn  4

number 553

description

name

!

!

ephone-dn  5

number 554

description

name

!

!

ephone-dn  6

number 558

description

name

!

!

ephone  1

device-security-mode none

mac-address 0023.EBC8.7818

type 7911

button  1:1

!

!

!

ephone  2

device-security-mode none

mac-address 0023.EBC8.756E

type 7911

button  1:2

!

!

!

ephone  3

device-security-mode none

mac-address 0023.EBC8.7281

type 7911

button  1:3

!

!

!

ephone  4

device-security-mode none

mac-address 0023.EBC8.DDCE

type 7911

button  1:4

!

!

!

ephone  5

device-security-mode none

mac-address 0023.EBC8.E655

type 7911

button  1:5

!

!

!

ephone  6

device-security-mode none

mac-address 0023.EBC8.7372

type 7911

button  1:6

!

!

!

ephone  7

device-security-mode none

!

!

!

line con 0

line aux 0

csim start 36613334

May 18 23:07:48.845: csim: called number = 36613334, loop count = 1 ping count =

0

May 18 23:07:48.845: csimSetupPeer peer type(2), destPat(36613334), matched(0),

target()

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=FALSE, Mode=0,

   Outgoing Dial-peer=100, Params=0x4B766AC4, Progress Indication=NULL(0)

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Present

ation=Allowed)

May 18

fakhro#23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   Out: Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presen

tation=Allowed)

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination Pattern=.T, Called Number=36613334, Digit Strip=FALSE

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presentatio

n=Allowed),

   Called Number=36613334(TON=Unknown, NPI=Unknown),

   Redirect Number=, Display Info=

   Account Number=, Final Destination Flag=FALSE,

   Guid=97B64097-BF46-11E2-89C0-A62C964BFFF3, Outgoing Dial-peer=100

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=13666667

   cisco-anitype=0

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=3

   dest=36613334

   cisco-desttype=0

   cisco-destplan=0

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-lastrdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x48B01490, Interface Type=3, Destination=, Mode=0x0,

   Call Params(Calling Number=13666667,(Calling Name=)(TON=Unknown, NPI=ISDN, Sc

reening=Network, Presentation=Allowed),

   Called Number=36613334(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=100, Cal

l Count On=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl

ication Call Id=)

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:07:48.845: :cc_get_feature_vsa malloc success

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:07:48.845:  cc_get_feature_vsa count is 1

May 18 23:07:48.845: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:07:48.845: :FEATURE_VSA attributes are: feature_name:0,feature_time:12

66651352,feature_id:533

May 18 23:07:48.845: //6971/97B6409789C0/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1

May 18 23:07:48.845: //6971/97B6409789C0/CCAPI/ccCallSetContext:

   Context=0x47DB8200

May 18 23:07:48.849: //6971/97B6409789C0/CCAPI/cc_api_call_proceeding:

   Interface=0x48B01490, Progress Indication=NULL(0)

May 18 23:07:48.849: csim_do_test: cid(6971), ev(22), disp(0)

May 18 23:07:48.849: csimTraceSct: cid(6971),st(0),oldst(0)

May 18 23:07:48.849: csimIgnore  cid(6971), st(0),oldst(0), ev(22)

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/cc_api_call_disconnected:

   Cause Value=47, Interface=0x48B01490, Call Id=6971

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/cc_api_call_disconnected:

   Call Entry(Responsed=TRUE, Cause Value=47, Retry Count=0)

May 18 23:07:48.853: csim_do_test: cid(6971), ev(12), disp(0)

May 18 23:07:48.853: csimTraceSct: cid(6971),st(0),oldst(0)

May 18 23:07:48.853: csim err csimDisconnected recvd DISC cid(6971)

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/ccCallDisconnect:

   Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect C

ause=47)

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/ccCallDisconnect:

   Cause Value=47, Call Entry(Responsed=TRUE, Cause Value=47)

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/cc_api_call_disconnect_done:

   Disposition=-11, Interface=0x48B01490, Tag=0x0, Call Id=6971,

   Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)

May 18 23:07:48.853: //6971/97B6409789C0/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

May 18 23:07:48.853: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 23:07:48.853: :cc_free_feature_vsa freeing 4B7F90D0

May 18 23:07:48.853: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 23:07:48.853:  vsacount in free is 0

May 18 23:07:48.853: csim_do_test: cid(6971), ev(13), disp(-11)

May 18 23:07:48.853: csimTraceSct: cid(6971),st(2),oldst(0)

May 18 23:07:49.353: csim: loop = 1, failed = 1

May 18 23:07:49.353: csim: call attempted = 1, setup failed = 1, tone failed = 0

May 18 23:07:49.353: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:

   ccAppShutdownMode: remove it from the queue

Please capture:

deb voice ccapi inout

deb ccsip messages

Those debugs will give us a better idea of the issue.

Please avoid using the same pattern for incoming and outgoing calls, it can cause call routing loops:

dial-peer voice 100 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

destination-pattern .T <-----------------------------

session protocol sipv2

session target dns:voice.bb.zain.com

dtmf-relay sip-kpml sip-notify

no fax-relay sg3-to-g3

clid network-number 13666667

no vad

!

dial-peer voice 101 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

voice-class codec 99

session protocol sipv2

session target sip-server

incoming called-number .T <-----------------------------

dtmf-relay sip-notify sip-kpml

Please use something more specific to match outgoing calls.

--
Jorge Armijo

Please remember to rate helpful responses and identify helpful or correct answers.

-- Jorge Armijo Please remember to rate helpful responses and identify helpful or correct answers.

is that ok ?

dial-peer voice 100 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

destination-pattern [1,3,8,9].......

voice-class codec 99

session protocol sipv2

session target dns:voice.bb.zain.com

session transport udp

dtmf-relay sip-kpml sip-notify

no fax-relay sg3-to-g3

clid network-number 13666667

no vad

!

dial-peer voice 101 voip

tone ringback alert-no-PI

translation-profile incoming 900-Incoming

translation-profile outgoing Add-13699

voice-class codec 99

session protocol sipv2

session target sip-server

incoming called-number .T

dtmf-relay sip-notify sip-kpml

!

deb voice ccapi inout

deb ccsip messages

router#csim start 36613334

May 18 23:50:47.289: csim: called number = 36613334, loop count = 1 ping count =

0

May 18 23:50:47.289: csimSetupPeer peer type(2), destPat(36613334), matched(1),

target()

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=FALSE, Mode=0,

   Outgoing Dial-peer=100, Params=0x4B792D60, Progress Indication=NULL(0)

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Present

ation=Allowed)

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/ccCheckClipClir:

   Out: Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presen

tation=Allowed)

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Destination Pattern=[1,3,8,9]......., Called Number=36613334, Digit Strip=FAL

SE

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/ccCallSetupRequest:

   Calling Number=13666667(TON=Unknown, NPI=ISDN, Screening=Network, Presentatio

n=Allowed),

   Called Number=36613334(TON=Unknown, NPI=Unknown),

   Redirect Number=, Display Info=

   Account Number=, Final Destination Flag=FALSE,

   Guid=98958FEA-BF4C-11E2-89CC-A62C964BFFF3, Outgoing Dial-peer=100

May 18 23:50:47.289: //-1/xxxxxxxxxxxx/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=13666667

   cisco-anitype=0

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=3

   dest=36613334

   cisco-desttype=0

   cisco-destplan=0

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-lastrdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

May 18 23:50:47.293: //-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x48B01490, Interface Type=3, Destination=, Mode=0x0,

   Call Params(Calling Number=13666667,(Calling Name=)(TON=Unknown, NPI=ISDN, Sc

reening=Network, Presentation=Allowed),

   Called Number=36613334(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=100, Cal

l Count On=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Appl

ication Call Id=)

May 18 23:50:47.293: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:50:47.293: :cc_get_feature_vsa malloc success

May 18 23:50:47.293: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:50:47.293:  cc_get_feature_vsa count is 1

May 18 23:50:47.293: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

May 18 23:50:47.293: :FEATURE_VSA attributes are: feature_name:0,feature_time:12

66699104,feature_id:536

May 18 23:50:47.293: //6988/98958FEA89CC/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1

May 18 23:50:47.293: //6988/98958FEA89CC/CCAPI/ccCallSetContext:

   Context=0x47DB95F0

May 18 23:50:47.293: //6988/98958FEA89CC/CCAPI/cc_api_call_proceeding:

   Interface=0x48B01490, Progress Indication=NULL(0)

May 18 23:50:47.293: csim_do_test: cid(6988), ev(22), disp(0)

May 18 23:50:47.293: csimTraceSct: cid(6988),st(0),oldst(0)

May 18 23:50:47.293: csimIgnore  cid(6988), st(0),oldst(0), ev(22)

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/cc_api_call_disconnected:

   Cause Value=47, Interface=0x48B01490, Call Id=6988

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/cc_api_call_disconnected:

   Call Entry(Responsed=TRUE, Cause Value=47, Retry Count=0)

May 18 23:50:47.301: csim_do_test: cid(6988), ev(12), disp(0)

May 18 23:50:47.301: csimTraceSct: cid(6988),st(0),oldst(0)

May 18 23:50:47.301: csim err csimDisconnected recvd DISC cid(6988)

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/ccCallDisconnect:

   Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect C

ause=47)

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/ccCallDisconnect:

   Cause Value=47, Call Entry(Responsed=TRUE, Cause Value=47)

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/cc_api_call_disconnect_done:

   Disposition=-11, Interface=0x48B01490, Tag=0x0, Call Id=6988,

   Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)

May 18 23:50:47.301: //6988/98958FEA89CC/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

May 18 23:50:47.301: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 23:50:47.301: :cc_free_feature_vsa freeing 4B804B58

May 18 23:50:47.301: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

May 18 23:50:47.301:  vsacount in free is 0

May 18 23:50:47.301: csim_do_test: cid(6988), ev(13), disp(-11)

May 18 23:50:47.301: csimTraceSct: cid(6988),st(2),oldst(0)

May 18 23:50:47.801: csim: loop = 1, failed = 1

May 18 23:50:47.801: csim: call attempted = 1, setup failed = 1, tone failed = 0

May 18 23:50:47.801: //-1/xxxxxxxxxxxx/CCAPI/ccAppShutdownMode:

   ccAppShutdownMode: remove it from the queue

Never use "csim start" as a troubleshooting method, it is unreliable, if you want to address the problem, you better use real phone, and make test calls. It is an advise from my troubleshooting experience

--
Jorge Armijo

Please remember to rate helpful responses and identify helpful or correct answers.

-- Jorge Armijo Please remember to rate helpful responses and identify helpful or correct answers.

absolutely..Jorge spot on. I hate that command as unreliable as anything..

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts

HI Experts ....

absolutely right ... never trust on this command ... all was working ..... this command only give me headache ...