08-14-2014 01:06 AM
Hi All
I'm new in scipt and have problem about b-acd . I refer document from
After I configed everything look good but I have problem in hunt menu , I have cme with 1 fxo , 1 Analog phone line(027515577),connect to fxo port 0/0/0
Example .. I call from my mobile to analog line (027515577) and I have menu press 1 to Sale,Press 2 to customer service. When I press 1 or 2 the phone in hunt not work and not ring but display of ipphone 7965 show "1 call in queue" but if i use
"param dial-by-extension-option 5 1100 " to direct number they can ring.
Please help me
Sh run
application
service aa flash:app-b-acd-aa-2.1.2.3.tcl
paramspace english index 1
param number-of-hunt-grps 3
param menu-timeout 6
param dial-by-extension-option 5
param handoff-string aa
paramspace english language en
param max-time-vm-retry 2
param max-extension-length 4
param aa-pilot 027515577
paramspace english location flash:
param welcome-prompt _bacd_welcome.au
param call-retry-timer 15
param max-time-call-retry 600
param voice-mail 5000
param service-name queue
!
service queue flash:app-b-acd-2.1.2.3.tcl
param queue-len 15
param aa-hunt1 7777
param aa-hunt2 8888
param queue-manager-debugs 1
param number-of-hunt-grps 2
!
voice-port 0/0/0
cptone TH
timeouts initial 30
timeouts call-disconnect 3
timeouts wait-release 5
timing hookflash-out 50
caller-id enable
!
dial-peer voice 300 pots
service aa
destination-pattern 02.......
incoming called-number 027515577
port 0/0/0
forward-digits all
!
ephone-hunt 1 peer
pilot 7777
list 1100, 2100
!
!
ephone-hunt 2 peer
pilot 8888
Solved! Go to Solution.
08-14-2014 02:25 AM
looks like moh is not configured under telephony-service, please configure and try.
telephony-service
moh "flash:en_bacd_music_on_hold.au"
Thanks,
Raghavendra
08-14-2014 01:26 AM
Hi,
please collect logs with below debugs.
debug voip app
Thanks,
Raghavendra
08-14-2014 01:43 AM
Hi Raghavendra
debug voip app as below but it so many long if u want more pls tell me.
Thankyou
Aug 14 08:50:48.831: //-1//SERV:/AFW_Service_CCInterface: Received Event 26 for service aa modulehandle NULL
Aug 14 08:50:48.831: //-1//SERV:/AFW_Service_GetExecEnv: Script Name = aa
Aug 14 08:50:48.831: //-1//SERV:/AFW_Service_GetExecEnv: Using Cached ExecEnv
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_SetRoot: Execenv = 0x30EB7890
Aug 14 08:50:48.831: //-1//AFW_:/AFW_M_TclModule_NewDup:
Aug 14 08:50:48.831: //-1//AFW_:HN00D6C684:/AFW_M_TclModule_Free: MOD[TclModule_2B649CD8_0_140
VGTEST#70368] ( )
Aug 14 08:50:48.831: //-1//AFW_:/AFW_M_FSM_Free:
Aug 14 08:50:48.831: //-1//AFW_:/AFW_Process_Lock: pProcess(0x2B0D9E68)=1
Aug 14 08:50:48.831: //-1//AFW_:LP:EE30EB7890000:HN00D92CA4:/AFW_M_Object_SetExecEnv: ObjCount: 1, CmdPending 0
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_RestoreDataBackup: Restore DataArea from Script
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_RestoreDataBackup: Restore TokenTable from Script
Aug 14 08:50:48.831: //-1//AFW_:EE30EB789
VGTEST#0000:/AFW_ExecEnv_Initiate: Execenv = 0x30EB7890
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_SetCallCorID:
Aug 14 08:50:48.831: CallCorID is l o "F d 3qj< I
Aug 14 08:50:48.831: //-1//AFW_:/AFW_Leg_New:
Aug 14 08:50:48.831: //32//AFW_:/AFW_M_Leg_SetExecEnv:
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_IncrPendingCmd: PendingCmdCount: 1
Aug 14 08:50:48.831: //-1//AFW_:LP:EE30EB7890000:LG32:/AFW_M_Object_SetExecEnv: ObjCount: 2, CmdPending 1
Aug 14 08:50:48.831: //
VGTEST#32//AFW_:/AFW_Object_AddListener: adding Module TclModule as listener
Aug 14 08:50:48.831: //32//AFW_:/AFW_M_Leg_GetHandle: Leg handle: LEG_32
Aug 14 08:50:48.831: //-1//AFW_:EE30EB7890000:/AFW_ExecEnv_AssignCall: Execenv = 0x30EB7890, Leg = 32, Peer_Tag = 300
Aug 14 08:50:48.831: //32//AFW_:/AFW_ExecEnv_SetCallCorID:
Aug 14 08:50:48.831: CallCorID is l o "F d 3qj< I
Aug 14 08:50:48.831: //-1//AFW_:/AFW_Event_New: Event ID: ev_any_event
Aug 14 08:50:48.831: //32//AFW_:/AFW_Process_GetCcqEvent: Rec
VGTEST#eived
Aug 14 08:50:48.835: //-1//AFW_:/AFW_Process_GetCcqEvent: Event[CC_EV_CALL_SETUP_IND(34)] {
Aug 14 08:50:48.835: //-1//AFW_:/AFW_Process_GetCcqEvent: EXECENV[0x30EB7890][aa]
Aug 14 08:50:48.835: //-1//AFW_:/AFW_Process_GetCcqEvent: LEG[32][LEG_INIT(0)][Cause(0)]
Aug 14 08:50:48.835: //-1//AFW_:/AFW_Process_GetCcqEvent: }
Aug 14 08:50:48.835: //32//SSIN:/AFW_SS_MapEvent:
Aug 14 08:50:48.835: //32//AFW_:/AFW_Leg_GetTypeDetail: voice intf type = 2
Aug 14 08:50:48.835: //-1//SSIN:/A
VGTEST#FW_SS_Telephony_MapEvent:
Aug 14 08:50:48.835: //-1//AFW_:/AFW_Util_SaveRawMsg:
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Leg_UpdateStats: Updating stats for ID F type 0
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/incrementIncomingDialPeerCallStats: Incrementing call-stat to [0] for dial-peer [300]
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Object_WalkListeners:
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_M_Object_ShowListeners: START
Aug 14 08:50:48.835: //-1//AFW_:/AFW_M_Ob
VGTEST#ject_ShowListeners:
Aug 14 08:50:48.835: //32//AFW_:/AFW_M_Module_GetHandle: Module handle: TclModule_2B64A128_0_14232740MOD[TclModule_2B64A128_0_14232740] (
Aug 14 08:50:48.835: //-1//AFW_:/AFW_M_Object_ShowListeners: LEG[32][LEG_INCINIT(1)][Cause(0)]
Aug 14 08:50:48.835: //-1//AFW_:/AFW_M_Object_ShowListeners: )
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_M_Object_ShowListeners: END
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Object_WalkListeners: Entering Module : TclModule
Aug
VGTEST# 14 08:50:48.835: //32//AFW_:/AFW_ExecEnv_SetModuleScope: TclMod4 08:50:48.835: //-1//AFW_:/AFW_Leg_IncomingTranslate: Tag(300) calling[] redirect[] called[]
Aug 14 08:50:48.835: //32//AFW_:/AFW_FSM_Drive: ACTION BEGIN: ------(CALL_INIT[1],ev_setup_indication[34])---[act_Setup]------
Aug 14 08:50:48.835: //32//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
Aug 14 08:50:48.835:
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagObjCmd: infotag get leg_ani
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagGetObjCmd: infotag get leg_ani
Aug 14 08:50:48.835: //32//AFW_:/vtr_lg_ani: argc 2 argindex 2
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagObjCmd: infotag get leg_dnis ule_2B64A128_0_14232740 ---> TclModule_2B64A128_0_14232740
Aug 14 08:50:48.835: //32//AFW_:/AFW_M_TclModule_Action:
Aug 14 08:50:48.835: //32//AFW_:/AFW_TclModule_DefaultEvHandling:
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Leg_CheckIncomingCallBlock:
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Leg_SettlementValidateCall: target=, tokenp=0x0
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Leg_IncomingTranslate:
Aug 1
VGTEST#
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagGetObjCmd: infotag get leg_dnis
Aug 14 08:50:48.835: //32//AFW_:/vtr_lg_dnis: argc 2 argindex 2
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagObjCmd: infotag set med_language 1
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagSetObjCmd: infotag set med_language 1
VGTEST#Aug 14 08:50:48.835: //32//AFW_:/vtw_ms_language: argc 3 argindex 2
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagObjCmd: infotag get mod_handle_service B-ACD-SERVICE
Aug 14 08:50:48.835: //32//TCL :/tcl_InfotagGetObjCmd: infotag get mod_handle_service B-ACD-SERVICE
Aug 14 08:50:48.835: //32//AFW_:/vtr_mod_handle_service:
Aug 14 08:50:48.835: //32//TCL :/tcl_LegObjCmd: leg setupack leg_incoming
Aug 14 08:50:48.835: //32//TCL :/tcl_LegSetupAckObjCmd: setupack leg_incoming
Aug 14 08:50:48.835: //3
VGTEST#2//AFW_:/vtd_lg_incoming: argc 2
Aug 14 08:50:48.835: //32//AFW_:/vtd_lg_incoming: Legs [32 ]
Aug 14 08:50:48.835: //32//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 14 08:50:48.835: //32/EC1F6F9B8033/AFW_:/AFW_Leg_GetTypeDetail: voice intf type = 2
Aug 14 08:50:48.835: //32//TCL :/tcl_LegObjCmd: leg proceeding leg_incoming
Aug 14 08:50:48.835: //32//TCL :/tcl_LegProceedObjCmd: proceeding leg_incoming
Aug 14 08:50:48.835: //32//AFW_:/vtd_lg_incoming: argc 2
Aug 14 08:50:48.
VGTEST#835: //32//AFW_:/vtd_lg_incoming: Legs [32 ]
Aug 14 08:50:48.835: //32//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 14 08:50:48.835: //32//TCL :/tcl_LegObjCmd: leg connect leg_incoming
Aug 14 08:50:48.835: //32//TCL :/tcl_LegConnectObjCmd: connect leg_incoming
Aug 14 08:50:48.835: //32//AFW_:/vtd_lg_incoming: argc 2
Aug 14 08:50:48.835: //32//AFW_:/vtd_lg_incoming: Legs [32 ]
Aug 14 08:50:48.835: //32//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1
Aug 14
08-14-2014 01:57 AM
Please configure "logging buffer 10000000" and "no logging console" and then collect the logs.
attach the log file instead of copying here.
Thanks,
Raghavendra
.
08-14-2014 02:07 AM
08-14-2014 02:25 AM
looks like moh is not configured under telephony-service, please configure and try.
telephony-service
moh "flash:en_bacd_music_on_hold.au"
Thanks,
Raghavendra
08-14-2014 02:34 AM
Hi Raghavendra
Very Thank! it work!!!
08-14-2014 02:49 AM
Hi Raghavendra
I see ip iphone 7965 will show "1 call in queue" on display,is it possible if i wll disable!
08-14-2014 02:55 AM
No it is not possible, if there are any calls in queue it will show this message.
Thanks,
Raghavendra
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide