Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

csim does not work

Hi everybody. Thanks in advance for your help.

I am having problems with my router. The "csim start num" command does not work in it.

I am attaching the output from that command:

csim start 1584

csim: called number = 1584, loop count = 1 ping count = 0

csim err:csim_do_test invalid major major(16) minor(0)

csim: loop = 1, failed = 0

csim: call attempted = 1, setup failed = 0, tone failed = 0

As you can see, i got an error message, and the phone does not ring.

Normal telephone calls from the remote sides to the phone number 1584 work properly. Only the test does not work.

Does anybody know how can i solve it in my router?

The router is:

sh ver

Cisco IOS Software, 3800 Software (C3845-SPSERVICESK9-M), Version 12.4(5a), RELEASE SOFTWARE (fc3)

Technical Support:

Copyright (c) 1986-2006 by Cisco Systems, Inc.

Compiled Sat 14-Jan-06 02:38 by alnguyen

ROM: System Bootstrap, Version 12.3(11r)T2, RELEASE SOFTWARE (fc1)

System image file is "flash:c3845-spservicesk9-mz.124-5a.bin"

Thanks again.

Have a nice day

Cisco Employee

Re: csim does not work

Hello Damaso,

If you have the output of 'show dialplan number 1584', as well as the pertinent dial-peer configurations could you post those here?



New Member

Re: csim does not work

Thanks Michael.

Of course. Follows the output:

R_SALAMANCA#sh dialplan num 1584

Macro Exp.: 1584


peer type = voice, information type = voice,

description = `',

tag = 1000, destination-pattern = `1...',

answer-address = `', preference=1,

CLID Restriction = None

CLID Network Number = `'

CLID Second Number sent

CLID Override RDNIS = disabled,

source carrier-id = `', target carrier-id = `',

source trunk-group-label = `', target trunk-group-label = `',

numbering Type = `unknown'

group = 1000, Admin state is up, Operation state is up,

Outbound state is up,

incoming called-number = `', connections/maximum = 24/unlimited,

DTMF Relay = disabled,

URI classes:

Destination =

huntstop = disabled,

in bound application associated: 'DEFAULT'

out bound application associated: ''

dnis-map =

permission :both

incoming COR list:maximum capability

outgoing COR list:minimum requirement

Translation profile (Incoming):

Translation profile (Outgoing):

incoming call blocking:

translation-profile = `'

disconnect-cause = `no-service'

advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4

type = pots, prefix = `',

forward-digits all

session-target = `', voice-port = `1/1:0',

direct-inward-dial = disabled,

digit_strip = enabled,

register E.164 number with H323 GK and/or SIP Registrar = TRUE

fax rate = system, payload size = 20 bytes

supported-language = ''

Time elapsed since last clearing of voice call statistics never

Connect Time = 211002002, Charged Units = 0,

Successful Calls = 1167, Failed Calls = 247, Incomplete Calls = 0

Accepted Calls = 18606, Refused Calls = 17,

Last Disconnect Cause is "10 ",

Last Disconnect Text is "normal call clearing (16)",

Last Setup Time = 263461938.

Matched: 1584 Digits: 1



R_SALAMANCA#sh runn | b dial-peer

dial-peer voice 1000 pots

preference 1

destination-pattern 1...

port 1/1:0

forward-digits all


As i mentioned before, everything is working properly but the "csim start ..." command does not work for any number. I put the telephone number 1584 (a local telephone number)only as an example. But it happens for any configured number in the network (local or remote). The voice communications is working properly. The problem is I can not test via this command.

Thanks again for your help.

Best regards.

Cisco Employee

Re: csim does not work

Hi Damaso,

Thanks for the information. Just some follow-up questions to hopefully shed some clarifying light on why csim is failing:

- dial-peer 1000 is configured to send calls out of port 1/1:0. Is that the expected intent with the csim test?

- what does the complete topology here look like? Where is phone 1584 in this scenario. Is it an IP phone or an analog phone?



New Member

Re: csim does not work

Hello again Michael:

question #1: Yes.

Question #2: I will try to describe it:

- The router where i am trying to run the test from is equipped with a E1 connected to a PBX. Behind this PBX is the subscriber 1584 (port 1/1:0)

- Via interface Gi0/0, this router is connected to the internal network. Through other devices, the network connects to several places in different points in the country. Via MPLS.

- In some other sites we have the same local topology: a router connected to a PBX's via a E1 connection

The tepephone network is working normally. Users can set up telephone conversations with any other users in the network.

Also, I can run the test from some other routers to any subscriber without any problem. Only I have the problem in this router. Also, if i run the test from another router in the network, to the same subscriber 1584, the subset rings.

I hope this answer your question.

Thanks for your help Michael.

Best regards

Cisco Employee

Re: csim does not work

Hi Damaso,

Sounds like you may be running into a defect on this particular gateway. Is the version of IOS on it different or similar to the one on the gateways that work?

Could you send a test call with the csim command while running these two debugs - debug voip ccapi inout and debug vpm signal?

Then while still running these two debugs, send a successful network call to the same number. Post the output of these two tests here.