cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
3123
Views
5
Helpful
8
Replies

Cas 0 - collect-call-enable command, ios15

Hi, all,

I've havving problems with mi E1 R2_Digital voice port, the problem is that the calls cannot go in, but calls from IP Phones to PSTN can go out,

I wrote some debugs commands, with this error on the VMP command.

Jan  3 17:46:26.643: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:26.643: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:26.743: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='5'

Jan  3 17:46:26.743: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 5

Jan  3 17:46:26.743: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 17:46:26.835: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:26.835: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:26.835: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:26.923: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='1'

Jan  3 17:46:26.923: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 1

Jan  3 17:46:26.923: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 17:46:27.015: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:27.015: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:27.015: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.103: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='3'

Jan  3 17:46:27.103: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 3

Jan  3 17:46:27.103: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 17:46:27.195: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:27.195: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:27.195: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.283: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 17:46:27.283: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 17:46:27.283: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 17:46:27.375: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:27.375: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:27.375: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.463: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 17:46:27.463: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 17:46:27.463: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 17:46:27.555: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:27.555: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 17:46:27.555: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.643: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 17:46:27.643: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 17:46:27.643: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '5'

Jan  3 17:46:27.735: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 17:46:27.735: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_COLLECT_DNIS R2 Got Event R2_TONE_OFF

Jan  3 17:46:27.735: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.859: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_WAIT_ANSWER, E_DSP_SIG_1000]

Jan  3 17:46:27.859: r2_q421_ic_clr_fwd_idle(0/0/0:0(1)) Rx CLEAR FWD

Jan  3 17:46:27.859: r2_reg_channel_disconnected(0/0/0:0(1))

Jan  3 17:46:27.859: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_COLLECT_DNIS R2 Got Event R2_STOP

Jan  3 17:46:27.859: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 17:46:27.859: htsp_timer - 2000 msec

Jan  3 17:46:27.859: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_CLR_FWD, E_HTSP_RELEASE_REQ]

Jan  3 17:46:27.859: r2_q421_null_release(0/0/0:0(1)) E_HTSP_RELEASE_REQ

Jan  3 17:46:27.859: r2_reg_process_event: [0/0/0:0(1), R2_REG_COLLECTING, E_R2_REG_DISCONNECT(91)]

Jan  3 17:46:27.859: r2_reg_disconnect_collect(0/0/0:0(1))

Jan  3 17:46:27.859: r2_reg_timer_stop(0/0/0:0(1))

Jan  3 17:46:29.859: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_CLR_FWD, E_HTSP_EVENT_TIMER]

Jan  3 17:46:29.859: htsp_timer_stop

Jan  3 17:46:29.859: r2_q421_clr_fwd_idle(0/0/0:0(1)) Tx IDLEvnm_dsp_set_sig_state:[R2 Q.421 0/0/0:0(1)] set signal state = 0x8

Jan  3 17:46:29.859: r2_reg_channel_disconnected(0/0/0:0(1))

Jan  3 17:46:29.859: r2_reg_process_event: [0/0/0:0(1), R2_REG_IDLE, E_R2_REG_DISCONNECT(91)]

Jan  3 17:46:29.859: r2_reg_disconnect_idle(0/0/0:0(1))

Jan  3 17:46:29.859: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_IDLE R2 Got Event R2_STOP

This is mi conf from the controller e1:

controller E1 0/0/0

framing NO-CRC4

line-termination 75-ohm

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

  invert-abcd 0 0 1 1

  country telmex

  category 2

  answer-signal group-b 1

  ani-digits min 0 max 10

I've searching for thi error and in some post from cisco, the aswer to solve this was implement this command:

(config)#controller e1 0/0/0
 (config-controller)#cas-custom 0
 (config-ctrl-cas)#collect-call-enable

But it is not under the CAS custom 0.

vpn(config-controller)#cas-custom 0

gwpitvpn(config-ctrl-cas)#co?

country 

vpn(config-ctrl-cas)#collect-call-enable

                            ^

% Invalid input detected at '^' marker.

vpn(config-ctrl-cas)#

show you please help me with my problem?

Mi IOS version is:

flash0:c3900e-universalk9-mz.SPA.151-4.M4.bin

reggards

P.D. This is the link with the answer of the "collect-call-enable" command.

https://supportforums.cisco.com/thread/2127105

8 Replies 8

jorgmar2
Level 1
Level 1

Hello Gerardo,

can you please try the next configuration?

!

controller E1 1/0

framing NO-CRC4

ds0-group 0 timeslots 1-3 type r2-digital r2-semi-compelled ani

cas-custom 0

  country telmex

  category 2

  answer-signal group-b 1

  dnis-digits min 3 max 13

  ani-digits min 1 max 10

  groupa-callerid-end

!

!

voice-port 1/0:0

cptone MX

!

!

!

dial-peer voice 34 pots

destination-pattern .T

direct-inward-dial

port 1/0:0

Please let us know how it goes,

Hi jogmar,

I tried but it did't work,

Here is the configuration.

controller E1 0/0/0

framing NO-CRC4

line-termination 75-ohm

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

  country telmex

  category 2

  answer-signal group-b 1

  dnis-digits min 3 max 13

  ani-digits min 1 max 10

  groupa-callerid-end

description "Enlace E1 PSTN AXTEL"

voice-port 0/0/0:0

cptone MX

!

dial-peer voice 1000 pots

destination-pattern .T

incoming called-number .

direct-inward-dial

port 0/0/0:0

no register e164

PORT           CODEC     VAD VTSP STATE            VPM STATE

============== ========= === ==================== ======================

0/0/0:0.1       -          -  -                     R2_Q421_IDLE            

0/0/0:0.2       -          -  -                     R2_Q421_IDLE            

0/0/0:0.3       -          -  -                     R2_Q421_IDLE            

0/0/0:0.4       -          -  -                     R2_Q421_IDLE            

0/0/0:0.5       -          -  -                     R2_Q421_IDLE            

0/0/0:0.6       -          -  -                     R2_Q421_IDLE            

0/0/0:0.7       -          -  -                     R2_Q421_IDLE            

0/0/0:0.8       -          -  -                     R2_Q421_IDLE            

0/0/0:0.9       -          -  -                     R2_Q421_IDLE            

0/0/0:0.10      -          -  -                     R2_Q421_IDLE            

0/0/0:0.11      -          -  -                     R2_Q421_IDLE            

0/0/0:0.12      -          -  -                     R2_Q421_IDLE            

0/0/0:0.13      -          -  -                     R2_Q421_IDLE            

0/0/0:0.14      -          -  -                     R2_Q421_IDLE            

0/0/0:0.15      -          -  -                     R2_Q421_IDLE            

0/0/0:0.17      -          -  -                     R2_Q421_IDLE            

0/0/0:0.18      -          -  -                     R2_Q421_IDLE            

0/0/0:0.19      -          -  -                     R2_Q421_IDLE            

0/0/0:0.20      -          -  -                     R2_Q421_IDLE            

0/0/0:0.21      -          -  -                     R2_Q421_IDLE            

0/0/0:0.22      -          -  -                     R2_Q421_IDLE            

0/0/0:0.23      -          -  -                     R2_Q421_IDLE            

0/0/0:0.24      -          -  -                     R2_Q421_IDLE            

0/0/0:0.25      -          -  -                     R2_Q421_IDLE            

0/0/0:0.26      -          -  -                     R2_Q421_IDLE            

0/0/0:0.27      -          -  -                     R2_Q421_IDLE            

0/0/0:0.28      -          -  -                     R2_Q421_IDLE            

0/0/0:0.29      -          -  -                     R2_Q421_IDLE            

0/0/0:0.30      -          -  -                     R2_Q421_IDLE            

0/0/0:0.31      -          -  -                     R2_Q421_IDLE            

dial-peer hunt 0

             AD                                    PRE PASS                OUT

TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT    KEEPALIVE

3000   voip  up   up             81272....          1  syst ipv4:10.2   

3001   voip  up   up             81272....          2  syst ipv4:10.2  

1000   pots  up   up             .T                 0                      up   0/0/0:0

E1 0/0/0 is up.

  Applique type is Channelized E1 - unbalanced

  Description: "Enlace E1 PSTN AXTEL"

  No alarms detected.

  alarm-trigger is not set

  Version info FPGA Rev: 08121917, FPGA Type: PRK4

  Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.

  International Bit: 1, National Bits: 11111

  Data in current interval (838 seconds elapsed):

     0 Line Code Violations, 0 Path Code Violations

     132 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

     132 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs

  Total Data (last 24 hours)

     0 Line Code Violations, 0 Path Code Violations,

     13432 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,

     13432 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs

I am still getting that error:

Jan  3 21:15:50.720: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 21:15:50.720: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 21:15:50.720: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:50.820: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='3'

Jan  3 21:15:50.820: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 3

Jan  3 21:15:50.820: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 21:15:50.920: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 21:15:50.920: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 21:15:50.920: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:51.020: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 21:15:51.020: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 21:15:51.020: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 21:15:51.120: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 21:15:51.120: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 21:15:51.120: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:51.220: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 21:15:51.220: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 21:15:51.220: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '1'

Jan  3 21:15:51.320: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 21:15:51.320: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event R2_TONE_OFF

Jan  3 21:15:51.320: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:51.420: htsp_digit_ready_up(0/0/0:0(1)): Rx digit='0'

Jan  3 21:15:51.420: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_CALLERID R2 Got Event 10

Jan  3 21:15:51.420: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '5'

Jan  3 21:15:51.508: htsp_digit_ready(0/0/0:0(1)): Rx digit='#'

Jan  3 21:15:51.508: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_COLLECT_DNIS R2 Got Event R2_TONE_OFF

Jan  3 21:15:51.508: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:51.636: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_WAIT_ANSWER, E_DSP_SIG_1000]

Jan  3 21:15:51.636: r2_q421_ic_clr_fwd_idle(0/0/0:0(1)) Rx CLEAR FWD

Jan  3 21:15:51.636: r2_reg_channel_disconnected(0/0/0:0(1))

Jan  3 21:15:51.636: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_COLLECT_DNIS R2 Got Event R2_STOP

Jan  3 21:15:51.636: r2_reg_generate_digits(0/0/0:0(1)): Tx digit '#'

Jan  3 21:15:51.636: htsp_timer - 2000 msec

Jan  3 21:15:51.636: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_CLR_FWD, E_HTSP_RELEASE_REQ]

Jan  3 21:15:51.636: r2_q421_null_release(0/0/0:0(1)) E_HTSP_RELEASE_REQ

Jan  3 21:15:51.636: r2_reg_process_event: [0/0/0:0(1), R2_REG_COLLECTING, E_R2_REG_DISCONNECT(91)]

Jan  3 21:15:51.636: r2_reg_disconnect_collect(0/0/0:0(1))

Jan  3 21:15:51.636: r2_reg_timer_stop(0/0/0:0(1))

Jan  3 21:15:53.636: htsp_process_event: [0/0/0:0(1), R2_Q421_IC_CLR_FWD, E_HTSP_EVENT_TIMER]

Jan  3 21:15:53.636: htsp_timer_stop

Jan  3 21:15:53.636: r2_q421_clr_fwd_idle(0/0/0:0(1)) Tx IDLEvnm_dsp_set_sig_state:[R2 Q.421 0/0/0:0(1)] set signal state = 0x8

Jan  3 21:15:53.636: r2_reg_channel_disconnected(0/0/0:0(1))

Jan  3 21:15:53.636: r2_reg_process_event: [0/0/0:0(1), R2_REG_IDLE, E_R2_REG_DISCONNECT(91)]

Jan  3 21:15:53.636: r2_reg_disconnect_idle(0/0/0:0(1))

Jan  3 21:15:53.636: R2 Incoming Voice(0/0): DSX (E1 0/0/0:0): STATE: R2_IN_IDLE R2 Got Event R2_STOP

Jan  3 21:15:53.636: r2_reg_timer_stop(0/0/0:0(1))

Regards

Hello Gerardo, there is a bug in some versions of IOS that repeats the last two digits of the DNIS and inserts them at the beginning of the stream, resulting in no matches for the call.

Could you please confirm that you are using an IOS that is also working on another router with the same provider, and that sucecesfully passing calls through? If that is the case please post or email me the complete config and I'll dig deeper into it. Otherwise, please use a version that you have tested somewhere else.

regards.

Hi  Marc, I have this IOS image:

c3845-spservicesk9-mz.151-4.M.bin

with this configuration

controller E1 0/0/1

framing NO-CRC4

line-termination 75-ohm

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

  invert-abcd 0 0 1 1

  country telmex

  category 2

  answer-signal group-b 1

  ani-digits min 0 max 10

  groupa-callerid-end

description "Enlace E1 PSTN AXTEL"

!

it works!

But now I have this image.

c3900e-universalk9-mz.SPA.151-4.M4.bin

with this configuration.

controller E1 0/0/0

framing NO-CRC4

line-termination 75-ohm

ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani

cas-custom 0

  invert-abcd 0 0 1 1

  country telmex

  category 2

  answer-signal group-b 1

  dnis-digits min 3 max 13

  ani-digits min 1 max 10

  groupa-callerid-end

description "Enlace E1 PSTN AXTEL"

And dows not work.

I cannot test the image file against another that works because we only have a 3900 router, The others routers are 3800.

I will e-mail you the configuration of both.

Regards.

Hi everyone,

 

Did you solve your problem?  I`m having a similar problem. Follow the descriptive below:

 

Hello, 

The client has 2 sites and there is a problem when Site A connects via PSTN to Site B. Site B The phone rings once and then the call is disconnected. 

         Site A                                              Site B 
        Extension                                      Extension 
          2573                                          001332138122 
PBX ---- ROUTER--------PSTN-------------ROUTER---------------PABX 

And when do I link from Site B to Site A call is connected normally. 


Colotei the log router Site A (Debug vpm signal). Follows the Annex to Debug.

I problem was solved, I was an issue with the clocking source of the E1. Support changed the configuration, sadly I don't have the changes I will post it If I can find some configuration.
 

Hi,

I do not know if the problem was resolved, so I seems that the inbound dial-peer is with plus config.

So, only remove the destination-pattern .T

dial-peer voice 1000 pots

destination-pattern .T

incoming called-number .

direct-inward-dial

port 0/0/0:0

no register e164

 

Best regards,

Daniel

Daniel Sobrinho

I had this issue, and due to the VPM debug also showed the message "R2_REG_IDLE, E_R2_REG_DISCONNECT(91)" solved it adding two commands under the voice-port interface (in my case):

voice-port 0/1/0:0
no vad  <--- To disable the the voice activity detection
cptone MX <--- to set the tone frequency used in my country