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

Config FXO failover (after call is routed via an" UP" fxo port and returns error tone)

delr
Level 1
Level 1

Hello CSC

 

Problem Description

  • I have a C2811 GW with c2800nm-adventerprisek9-mz.151-4.M12a.bin and one VIC2-4FXO connected to a legacy 4xSIMs GSM GW for outbound calls to cel numbers. Each GSM GW FXS port is a SIM card, and each one is connected to a VIC2 FXO port
  • To avoid future user complains when one SIM card is blocked by provider, I’m trying to setup a trunkgroup/dial-peer path selection config to automatically change outbound call to other SIM when this happens.
  • However, when one SIM card fail, the FXO port is always up and there is no way to distinguish between a OK/Blocked SIM from 2811 FXO port up/down state to make desired path selection working. To make trunkgroup/dial-peer path selection work,  I have to either manually shutdown the FXO port with Blocked SIM, or set it in busy forced mode
  • I captured the error tone (attach audio) from a CUCM ext when call is routed to a blocked SIM FXO port and configured the corresponding custom cptone for disconnect, but 2811 still not detect error to pass to other FXO-SIM working:

 

voice-port 0/1/3

 trunk-group CELUFIJO_4FXO

 supervisory disconnect dualtone mid-call

 supervisory custom-cptone SIM_BLOCKED

 signal groundStart

 cptone CO

 timeouts call-disconnect 1

 timeouts wait-release 1

 timing hookflash-out 500

 timing guard-out 1000

 

voice class custom-cptone SIM_BLOCKED

 dualtone disconnect

  frequency 419

  cadence 342 476 395 470 395 476 395 464

 

dial-peer voice 3020 pots

 description TEST_SIM_04

 preference 5

 service sequence-numbers

 destination-pattern 00331XXXXXXXX

 port 0/1/3

 forward-digits 10

 

dial-peer voice 3019 pots

 description TEST_SIM_03

 preference 10

 destination-pattern 00331XXXXXXXX

 port 0/1/2

 forward-digits 10

 

  • I captured the following debug vpm signal output excerpt of an outbound call with preference a FXO with blocked SIM (and a working SIM as reference):

 

Blocked SIM:

007183: Jun 12 16:52:14.950: htsp_process_event: [0/1/3, FXOLS_ONHOOK, E_HTSP_SETUP_REQ]fxols_onhook_setup

007184: Jun 12 16:52:14.950: [0/1/3] set signal state = 0xC timestamp = 0

007188: Jun 12 16:52:15.226: htsp_process_event: [0/1/3, FXOLS_WAIT_DIAL_TONE, E_DSP_SIG_0110]fxols_disc_clear

007225: Jun 12 16:52:16.526: htsp_process_event: [0/1/3, FXOLS_WAIT_DIAL_TONE, E_HTSP_EVENT_TIMER]fxols_wait_dial_timer  htsp_dial

007226: Jun 12 16:52:18.578: htsp_process_event: [0/1/3, FXOLS_WAIT_DIAL_DONE, E_DSP_DIALING_DONE]fxols_wait_dial_done htsp_progress

007255: Jun 12 16:52:18.622: htsp_process_event: [0/1/3, FXOLS_WAIT_CUT_THRU, E_HTSP_VOICE_CUT_THROUGH]fxols_handle_cut_thru

007313: Jun 12 16:52:26.170: htsp_process_event: [0/1/3, FXOLS_OFFHOOK, E_HTSP_RELEASE_REQ]fxols_offhook_release

007317: Jun 12 16:52:26.174: [0/1/3] set signal state = 0x4 timestamp = 0

007326: Jun 12 16:52:26.442: htsp_process_event: [0/1/3, FXOLS_GUARD_OUT, E_DSP_SIG_0110]

007327: Jun 12 16:52:27.174: htsp_process_event: [0/1/3, FXOLS_GUARD_OUT, E_HTSP_EVENT_TIMER]fxols_guard_out_timeout

007329: Jun 12 16:52:27.174: htsp_process_event: [0/1/3, FXOLS_ONHOOK, E_DSP_SIG_0100]

 

OK SIM:

007366: Jun 12 17:06:58.975: htsp_process_event: [0/1/2, FXOLS_ONHOOK, E_HTSP_SETUP_REQ]fxols_onhook_setup

007367: Jun 12 17:06:58.979: [0/1/2] set signal state = 0xC timestamp = 0

007371: Jun 12 17:06:59.251: htsp_process_event: [0/1/2, FXOLS_WAIT_DIAL_TONE, E_DSP_SIG_0110]fxols_disc_clear

007374: Jun 12 17:07:00.551: htsp_process_event: [0/1/2, FXOLS_WAIT_DIAL_TONE, E_HTSP_EVENT_TIMER]fxols_wait_dial_timer  htsp_dial

007375: Jun 12 17:07:02.603: htsp_process_event: [0/1/2, FXOLS_WAIT_DIAL_DONE, E_DSP_DIALING_DONE]fxols_wait_dial_done htsp_progress

007404: Jun 12 17:07:02.643: htsp_process_event: [0/1/2, FXOLS_WAIT_CUT_THRU, E_HTSP_VOICE_CUT_THROUGH]fxols_handle_cut_thru

007414: Jun 12 17:07:22.511: htsp_process_event: [0/1/2, FXOLS_OFFHOOK, E_DSP_SIG_0100]fxols_offhook_clear

007417: Jun 12 17:07:26.307: htsp_process_event: [0/1/2, FXOLS_OFFHOOK, E_DSP_SIG_0110]

007439: Jun 12 17:07:31.535: htsp_process_event: [0/1/2, FXOLS_CONNECT, E_HTSP_RELEASE_REQ]fxols_offhook_release

007443: Jun 12 17:07:31.535: [0/1/2] set signal state = 0x4 timestamp = 0

007452: Jun 12 17:07:31.807: htsp_process_event: [0/1/2, FXOLS_GUARD_OUT, E_DSP_SIG_0110]

007453: Jun 12 17:07:33.535: htsp_process_event: [0/1/2, FXOLS_GUARD_OUT, E_HTSP_EVENT_TIMER]fxols_guard_out_timeout

007455: Jun 12 17:07:33.539: htsp_process_event: [0/1/2, FXOLS_ONHOOK, E_DSP_SIG_0100]

 

 

I don’t know if I can do anything else from FXO ports/tones config, or should I look other options like i.e: make an EEM script to constantly test FXO ports and shut/busyforced when SIM is blocked according to htsp_process_event above (if its possible)

 

Thanks in advance

 

Regards

0 Replies 0