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

CME IVR Application

mbufatihcisco
Level 1
Level 1

Hi All,

I've been working on an isssue but can't even understand where the problem is arising from. Please share comments.

I've configured CME with voice ports as FXO. To make the IVR working, I configured the application as in below:

!

application

service anons flash:/anons.tcl

!

session

   start anons_ins anons

!

Then I added "service anons" line under all of the dial-peers.

When I check "show call application sessions", It shows me following:

VG#sho call application sessions    

Stopped Sessions

   Instance Name        App Name             State              

   anons_ins            anons                waiting for app to load

Besides, I enabled debug and here is the result:

VG#debug voice application states
voip application state transitions debugging is on
VG#term mon
VG#
VG#call application voice load anons

May  8 08:34:21.934: //-1//SCRI:/ScriptList_ScriptLoad: Attempting to Load Script: anons
May  8 08:34:21.934: //-1//SCRI:/ScriptList_BackgroundProc: we were kicked
May  8 08:34:21.934: //-1//SCRI:/ScriptList_Reload:  Attempting to Reload Script: anons, state:2
May  8 08:34:21.934: //-1//SCRI:/ScriptList_Reload:  List_Reload pScript is locked, let's dupe it: anons
May  8 08:34:21.934: //-1//SCRI:/AFW_M_Script_NewDup: 
May  8 08:34:21.934: //-1//SCRI:/AFW_Script_Load: Trying to load script :anons:
May  8 08:34:21.934: //-1//SCRI:/AFW_Script_Load:  Acquired read lock :anons:
May  8 08:34:21.938: //-1//HIFS:/hifs_ifs_cb: hifs ifs file read succeeded. size=9264, url=flash:/anons.tcl
May  8 08:34:21.938: //-1//HIFS:/hifs_free_idata: hifs_free_idata: 0x4AC2B448
May  8 08:34:21.938: //-1//HIFS:/hifs_hold_idata: hifs_hold_idata: 0x4AC2B448
May  8 08:34:21.938: //-1//SCRI:/AFW_Script_Load:  Loaded the script :anons:
May  8 08:34:21.942: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:21.942: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:21.942: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:21.946: //-1//ACPK:EE48B6002C000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:21.946: //-1//ACPK:EE48B6002C000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:21.950: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:21.950: //-1//AFW_:EE48B6002C000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:21.950: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:21.950: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B6002C
May  8 08:34:21.950: //-1//AFW_:HN000B2EF8:/AFW_M_TclModule_Free:  MOD[TclModule_48F8B858_0_732920]     ( )
May  8 08:34:21.958: //-1//SCRI:/ScriptList_BackgroundLoad:  Script: anons, statusTemp:-12, status:-12
May  8 08:34:21.958: //-1//SCRI:/ScriptList_BackgroundLoad:  status:-12
May  8 08:34:21.958: //-1//SCRI:/ScriptList_BackgroundLoad: Registration failed for at least one script,
May  8 08:34:21.958: //-1//SCRI:/ScriptList_BackgroundLoad:    going through 5 passes
May  8 08:34:21.958: //-1//SCRI:/ScriptList_BackgroundLoad:  Registration pass 1
May  8 08:34:21.958: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:21.958: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:21.958: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:21.962: //-1//ACPK:EE48B60114000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:21.962: //-1//ACPK:EE48B60114000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:21.966: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:21.966: //-1//AFW_:EE48B60114000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:21.966: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:21.970: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B60114
May  8 08:34:21.970: //-1//AFW_:HN000B2F0C:/AFW_M_TclModule_Free:  MOD[TclModule_48F8B9C8_0_732940]     ( )
May  8 08:34:21.974: //-1//SCRI:/ScriptList_BackgroundLoad:  Registration pass 2
May  8 08:34:21.974: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:21.974: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:21.974: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:21.978: //-1//ACPK:EE48B601FC000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:21.978: //-1//ACPK:EE48B601FC000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:21.982: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:21.986: //-1//AFW_:EE48B601FC000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:21.986: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:21.986: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B601FC
May  8 08:34:21.986: //-1//AFW_:HN000B2F1C:/AFW_M_TclModule_Free:  MOD[TclModule_48F8BB38_0_732956]     ( )
May  8 08:34:21.990: //-1//SCRI:/ScriptList_BackgroundLoad:  Registration pass 3
May  8 08:34:21.990: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:21.990: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:21.990: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:21.994: //-1//ACPK:EE48B602E4000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:21.998: //-1//ACPK:EE48B602E4000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:21.998: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:22.002: //-1//AFW_:EE48B602E4000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:22.002: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:22.002: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B602E4
May  8 08:34:22.002: //-1//AFW_:HN000B2F2C:/AFW_M_TclModule_Free:  MOD[TclModule_48F8BCA8_0_732972]     ( )
May  8 08:34:22.006: //-1//SCRI:/ScriptList_BackgroundLoad:  Registration pass 4
May  8 08:34:22.006: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:22.006: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:22.010: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:22.014: //-1//ACPK:EE48B603CC000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:22.014: //-1//ACPK:EE48B603CC000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:22.014: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:22.018: //-1//AFW_:EE48B603CC000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:22.018: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:22.018: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B603CC
May  8 08:34:22.018: //-1//AFW_:HN000B2F3C:/AFW_M_TclModule_Free:  MOD[TclModule_48F8BE18_0_732988]     ( )
May  8 08:34:22.022: //-1//SCRI:/ScriptList_BackgroundLoad:  Registration pass 5
May  8 08:34:22.022: //-1//SCRI:/AFW_M_Script_Register: Registering :anons:,
May  8 08:34:22.026: //-1//SCRI:/AFW_M_Script_Register:    url:flash:/anons.tcl:
May  8 08:34:22.026: //-1//AFW_:/AFW_TclModule_New: 
May  8 08:34:22.030: //-1//ACPK:EE48B604B4000:/AppCommon_SetSecurity: security = undefined
May  8 08:34:22.030: //-1//ACPK:EE48B604B4000:/AppCommon_SetEventLog: event-log = unconfigured
May  8 08:34:22.030: //-1//PACK:/LoadAllLanguageInGlobalList: Load All configured languages
May  8 08:34:22.034: //-1//AFW_:EE48B604B4000:/AFW_ExecEnv_SetScript: Num of packTable entries: 25
May  8 08:34:22.034: //-1//AFW_:/AFW_ExecEnv_CallClose:  Exec Env state: 0
May  8 08:34:22.034: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x48B604B4
May  8 08:34:22.034: //-1//AFW_:HN000B2F4C:/AFW_M_TclModule_Free:  MOD[TclModule_48F8BF88_0_733004]     ( )
May  8 08:34:22.038: //-1//SCRI:/ScriptList_BackgroundLoad:  StatusReg:0
May  8 08:34:22.038: //-1//SCRI:/ScriptList_BackgroundLoad:  returning status:-1
May  8 08:34:22.042: //-1//SCRI:/ScriptList_BackgroundProc: ScriptList_BackgroundLoad FAILED, new reload time: 300000
VG#

Does anybody have any idea how I can fix this and make the IVR working?

Best regards!

4 Replies 4

mbufatihcisco
Level 1
Level 1

Please ignore the attached "show run" output!!

When using custom script, you can only get support from who wrote it, or learn TCL/IVR yourself.

Do you think this issue is related to the script? I think it is about misconfiguration. This is why I wrote it down here!

mbufatihcisco
Level 1
Level 1

Hi again,

I am calling 02222210128 from my cell phone 0535687xxxx and I enable dialpeer inout debug. What I see on the terminal output is below. Called Number is empty and Calling number is actually what I am "calling". Do I need to talk with Telco? Or, should I check my configuratiın again? Also, there is no match for any dial-peer.

VG#debug voice dialpeer inout

voip dialpeer inout debugging is on

VG#

VG#term mon

May  8 13:46:50.572: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

    Calling Number=02222210128, Called Number=, Voice-Interface=0x4918026C,

    Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

    Peer Info Type=DIALPEER_INFO_SPEECH

May  8 13:46:50.572: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

    Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20

May  8 13:46:50.572: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

    dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

May  8 13:46:50.580: //-1/18E92805816E/DPM/dpMatchPeersCore:

    Calling Number=, Called Number=, Peer Info Type=DIALPEER_INFO_SPEECH

May  8 13:46:50.580: //-1/18E92805816E/DPM/dpMatchPeersCore:

    No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: