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

fax detection script doesn't play the prompts

I have 3825 Cisco router and RighFax server for FOIP

I need to detect the fax calls using the fax detection script, i tried the listen-first mode but it's not working the only working scenario is connect-first which i don't prefer

the show version

Cisco IOS Software, 3800 Software (C3825-IPVOICEK9-M), Version 15.1(1)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Mon 22-Mar-10 03:30 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

BTHQ-Gateway uptime is 5 weeks, 5 days, 14 hours, 39 minutes
System returned to ROM by reload at 10:09:21 JED Mon Oct 18 2010
System image file is "flash:c3825-ipvoicek9-mz.151-1.T.bin"
Last reload type: Normal Reload


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco 3825 (revision 1.2) with 220160K/41984K bytes of memory.
Processor board ID FHK1208F08Y
2 Gigabit Ethernet interfaces
4 Channelized E1/PRI ports
16 Voice FXO interfaces
DRAM configuration is 64 bits wide with parity enabled.
479K bytes of NVRAM.
62720K bytes of ATA System CompactFlash (Read/Write)

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

SHOW RUN

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

application
service fax_detect flash:app_fax_detect.2.1.2.3.tcl
  param fax-dtmf 2
  param mode listen-first
  param prompt flash:en_listen_first.au ( I CAN'T LISTEN TO THE FILE)
  param voice-dtmf 1
  param fax-prefix 9

!
dial-peer voice 69009 pots
description Test for Fax Detect
service fax_detect
incoming called-number 6992
direct-inward-dial

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

SCRIPT DEBUG

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

*Nov 27 21:55:14.002: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Setting-up incoming call (Script version: fax_detect_2.1.2.0.tcl February 1st 2001)
*Nov 27 21:55:14.002:
*Nov 27 21:55:14.002: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] CLI parameters: mode=listen-first
*Nov 27 21:55:14.002: //76118//TCL :/tcl_PutsObjCmd:  prompt=flash:en_listen_first.au
*Nov 27 21:55:14.002: //76118//TCL :/tcl_PutsObjCmd:  x-account-id method=none
*Nov 27 21:55:14.002:
*Nov 27 21:55:14.006: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Start PROMPT: flash:en_listen_first.au
*Nov 27 21:55:14.006:
*Nov 27 21:55:14.006: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Start CNG detection
*Nov 27 21:55:14.006:
*Nov 27 21:55:14.006: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Start TIMER for 9 seconds
*Nov 27 21:55:14.006:
*Nov 27 21:55:14.006: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Start DTMF-DETECTION
*Nov 27 21:55:14.006:
*Nov 27 21:55:16.206: //76118//TCL :/tcl_PutsObjCmd: [Call 76118] Cleaning-up - Call finished
*Nov 27 21:55:16.206:
*Nov 27 21:55:20.730: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Setting-up incoming call (Script version: fax_detect_2.1.2.0.tcl February 1st 2001)
*Nov 27 21:55:20.734:
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] CLI parameters: mode=listen-first
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd:  prompt=flash:en_listen_first.au
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd:  x-account-id method=none
*Nov 27 21:55:20.734:
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Start PROMPT: flash:en_listen_first.au
*Nov 27 21:55:20.734:
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Start CNG detection
*Nov 27 21:55:20.734:
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Start TIMER for 9 seconds
*Nov 27 21:55:20.734:
*Nov 27 21:55:20.734: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Start DTMF-DETECTION
*Nov 27 21:55:20.734:
*Nov 27 21:55:23.006: //76121//TCL :/tcl_PutsObjCmd: [Call 76121] Cleaning-up - Call finished
*Nov 27 21:55:23.006:
*Nov 27 21:55:27.514: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Setting-up incoming call (Script version: fax_detect_2.1.2.0.tcl February 1st 2001)
*Nov 27 21:55:27.514:
*Nov 27 21:55:27.514: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] CLI parameters: mode=listen-first
*Nov 27 21:55:27.514: //76124//TCL :/tcl_PutsObjCmd:  prompt=flash:en_listen_first.au
*Nov 27 21:55:27.514: //76124//TCL :/tcl_PutsObjCmd:  x-account-id method=none
*Nov 27 21:55:27.514:
*Nov 27 21:55:27.514: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Start PROMPT: flash:en_listen_first.au
*Nov 27 21:55:27.514:
*Nov 27 21:55:27.518: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Start CNG detection
*Nov 27 21:55:27.518:
*Nov 27 21:55:27.518: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Start TIMER for 9 seconds
*Nov 27 21:55:27.518:
*Nov 27 21:55:27.518: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Start DTMF-DETECTION
*Nov 27 21:55:27.518:
*Nov 27 21:55:29.810: //76124//TCL :/tcl_PutsObjCmd: [Call 76124] Cleaning-up - Call finished
*Nov 27 21:55:29.810:

5 REPLIES
Hall of Fame Super Gold

Re: fax detection script doesn't play the prompts

I think you need the "paramspace english" commands, and reference the audio file without en_,

To verify, take "debug voice application media state".

New Member

Re: fax detection script doesn't play the prompts

I changed it and remove the en_ from prompt but still the prompt is not working also the script doesn't wait the 9 seconds to detect the tone to forward the message

if there is any one did these configurations please share it

Hall of Fame Super Gold

Re: fax detection script doesn't play the prompts

As indicated above. If you take "debug voice application media state" you will see that the prompt is not loading, due to lack of "paramspace english" commands.

New Member

Re: fax detection script doesn't play the prompts

Dear Paolo, Here is the debug, I can't find what is the problem

New Member

Re: fax detection script doesn't play the prompts

it is working now

replace the configuration under the controller from r2-semi-compelled to r2-compelled

405
Views
0
Helpful
5
Replies
CreatePlease to create content