Здраствуйте!Пытаюсь настроить B-ACD .Все крутиться на Cisco3825/версия ccme
sh telephony-service
CONFIG (Version=7.1)
=====================
Version 7.1
Cisco Unified Communications Manager ExpressЗа основу взял документ http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/bacd/con...
В результате при звонке на номер 920163 идет отбой звонка. У кого-нибуть есть какие-нибудь мысли в какую сторону капать ?
Вот конфига:application
service aa flash:app-b-acd-aa-2.1.2.2.tcl
paramspace english index 1
param number-of-hunt-grps 2
param handoff-string aa
param dial-by-extension-option 1
paramspace english language en
param max-time-vm-retry 2
param aa-pilot 920163
paramspace english location flash:
param second-greeting-time 60
param welcome-prompt _bacd_welcome.wav
param call-retry-timer 15
param voice-mail 2222
param max-time-call-retry 700
param service-name queue
!
service queue flash:app-b-acd-2.1.2.2.tcl
param queue-len 8
param aa-hunt0 1111
param aa-hunt5 2222
param queue-manager-debugs 1
param number-of-hunt-grps 2
dial-peer voice 256 voip
service aa
destination-pattern 920163
session target ipv4:10.1.8.130
incoming called-number 920163
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711alaw
no vadФайлы на флешке
app-b-acd-aa-2.1.2.2.tcl
app-b-acd-2.1.2.2.tcl
en_bacd_welcome.au
en_bacd_options_menu.au
en_bacd_invalidoption.au
en_bacd_enter_dest.au
en_bacd_disconnect.au
en_bacd_allagentsbusy.au
en_bacd_music_on_hold.au
en_bacd_xferto_operator.aushow call application sessions
Session ID EC6App: Default
Type: Service
Url: builtin:Session_Service.CSession ID E69
App: queue
Type: Service
Url: flash:app-b-acd-2.1.2.2.tclдебаги
sh debAPPLICATION:
debug voip application error is ON
debug voip application state transitions is ON (filter is OFF)
debug voip application script is ON (filter is OFF)
debug voip application tcl commands is ON (filter is OFF)Mar 17 16:29:07.524 OMST: //-1//SERV:/AFW_Service_CCInterface: Received Event 25 for service aa modulehandle NULL
Mar 17 16:29:07.524 OMST: //-1//SERV:/AFW_Service_GetExecEnv: Script Name = aa
Mar 17 16:29:07.528 OMST: //-1//SERV:/AFW_Service_GetExecEnv: Using Cached ExecEnv
Mar 17 16:29:07.528 OMST: //-1//AFW_:/AFW_M_TclModule_NewDup:
Mar 17 16:29:07.528 OMST: //-1//AFW_:HN0A2454CC:/AFW_M_TclModule_Free: MOD[TclModule_6CCAA56C_0_170153164] ( )
Mar 17 16:29:07.528 OMST: //-1//AFW_:EE70B87C48000:/AFW_ExecEnv_RestoreDataBackup: Restore DataArea from Script
Mar 17 16:29:07.528 OMST: //-1//AFW_:EE70B87C48000:/AFW_ExecEnv_RestoreDataBackup: Restore TokenTable from Script
Mar 17 16:29:07.528 OMST: //-1//SERV:/AFW_Service_Process_Space:
Mar 17 16:29:07.528 OMST: Process Started
Mar 17 16:29:07.528 OMST: //6866/394F951684A5/AFW_:/incrementIncomingDialPeerCallStats: Incrementing call-stat for dial-peer [256]
Mar 17 16:29:07.528 OMST: //6866//AFW_:/AFW_M_TclModule_Action:
Mar 17 16:29:07.528 OMST: //6866//AFW_:/AFW_TclModule_DefaultEvHandling:
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_PutsObjCmd:
proc init_perCallvars
Mar 17 16:29:07.532 OMST:
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagObjCmd: infotag get leg_ani
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagGetObjCmd: infotag get leg_ani
Mar 17 16:29:07.532 OMST: //6866//AFW_:/vtr_lg_ani: argc 2 argindex 2
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagObjCmd: infotag get leg_dnis
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagGetObjCmd: infotag get leg_dnis
Mar 17 16:29:07.532 OMST: //6866//AFW_:/vtr_lg_dnis: argc 2 argindex 2
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagObjCmd: infotag set med_language 1
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagSetObjCmd: infotag set med_language 1
Mar 17 16:29:07.532 OMST: //6866//AFW_:/vtw_ms_language: argc 3 argindex 2
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagObjCmd: infotag get mod_handle_service B-ACD-SERVICE
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_InfotagGetObjCmd: infotag get mod_handle_service B-ACD-SERVICE
Mar 17 16:29:07.532 OMST: //6866//AFW_:/vtr_mod_handle_service:
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_CallObjCmd: call close
Mar 17 16:29:07.532 OMST: //6866//TCL :/tcl_CallCloseObjCmd: close
Mar 17 16:29:07.532 OMST: //-1//AFW_:/AFW_ExecEnv_CallClose: Exec Env state: 1
Mar 17 16:29:07.532 OMST: //-1//AFW_:/AFW_ExecEnv_CallClose: Terminating ExecEnv's root module
Mar 17 16:29:07.532 OMST: //6866//AFW_:/AFW_M_TclModule_Terminate: Module is in the state: ACTIVE
Mar 17 16:29:07.532 OMST: //6866//AFW_:/AFW_TclModule_Cleaner: lastFailureCause 0
Mar 17 16:29:07.544 OMST: //6866//AFW_:/AFW_M_TclModule_Action:
Mar 17 16:29:07.544 OMST: //6866//AFW_:/AFW_M_TclModule_Action: Module is Terminating
Mar 17 16:29:07.544 OMST: //6866//AFW_:/AFW_TclModule_ReturnIfDone: Sending Out APP_EV_TCLMODULE_DONE event
Mar 17 16:29:07.544 OMST: //6866/394F951684A5/AFW_:/decrementDialPeerCallStats: Decrementing call-stat for disconnecting leg, dial-peer [256]
Mar 17 16:29:07.544 OMST: //-1//AFW_:/AFW_ExecEnv_CallClose: Exec Env state: 3
Mar 17 16:29:07.544 OMST: //6866//AFW_:/AFW_M_TclModule_EventPreProcess:
Mar 17 16:29:07.544 OMST: //-1//SERV:/AFW_Service_ReleaseExecEnv: Script Name = aa cache = true calls = 0
Mar 17 16:29:07.544 OMST: //-1//SCRI:/cam_sa_stopped: Instance: [] ExecEnv: 0x70B87C48
Сначала думал что дело в пире, но сейчас уже не знаю заменил скрипты app-b-acd-aa-2.1.2.2.tcl app-b-acd-2.1.2.2.tcl на один скрипт попроще который работает просто как автосекретарь позволяет набрать добавочный номер и переводит на секретаря.И звонок прошел (но промтов правда не слышно наверно потому что кодеки не совпадаю)Но с этим потом разберусь, сейчас главный вопрос почему та же конфига не работает со скриптами app-b-acd-aa-2.1.2.2.tcl app-b-acd-2.1.2.2.tcl.
Да вот еще вопрос когда забивал команды под application service aa flash:app-b-acd-aa-2.1.2.2.tcl циска выдавала предупреждения
Nvkz-auto-cr1(config-app-param)# param handoff-string aa
Warning: parameter handoff-string has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param dial-by-extension-option 1
Warning: parameter dial-by-extension-option has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# paramspace english language en
Nvkz-auto-cr1(config-app-param)# param max-time-vm-retry 2
Warning: parameter max-time-vm-retry has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param aa-pilot 920163
Warning: parameter aa-pilot has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# paramspace english location flash:
Nvkz-auto-cr1(config-app-param)# param second-greeting-time 60
Warning: parameter second-greeting-time has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param welcome-prompt _bacd_welcome.wav
Warning: parameter welcome-prompt has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param call-retry-timer 15
Warning: parameter call-retry-timer has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param voice-mail 2222
Warning: parameter voice-mail has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param max-time-call-retry 700
Warning: parameter max-time-call-retry has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)# param service-name queue
Warning: parameter service-name has not been registered under aa namespace
Nvkz-auto-cr1(config-app-param)#ex
Nvkz-auto-cr1(config-app)#service queue flash:app-b-acd-2.1.2.2.tcl
Nvkz-auto-cr1(config-app-param)# param queue-len 8
Nvkz-auto-cr1(config-app-param)# param aa-hunt0 1111
Nvkz-auto-cr1(config-app-param)# param aa-hunt5 2222
Nvkz-auto-cr1(config-app-param)# param queue-manager-debugs 1
Nvkz-auto-cr1(config-app-param)# param number-of-hunt-grps 2
Warning: parameter number-of-hunt-grps has not been registered under queue namespace
Что ей не нравиться? команды взяты из мануала
Вообщем решил провести эксперимент.Сделал следущее пилотом выбрал внутрений номер и создал для него пир с кодеком g711ulaw и так все сразу заработало, по крайне мере промты стали проигрываться:)дальше разбираться не стал так как хочеться все таки етот скрипт прикрутить на провайдерский пир где g711alaw.Конвертил промты с помощью Adobe Audition в следующий формат 8-bit A-Law Encoded NeXT/Sun AU 8000 Hz 16-Bit, Моно
Затем с помощью Switch Sound File Converter в формат wav PCM 8000Hz 8 bit.
И еще ffmpeg -i input.wav -acodec pcm_alaw -ar 8000 output.wav
Результат нет.
Великие гуру помогите!!!
Уже вторая неделя пошла (
Решил настроить транскодинг.
Вот что получилось по конфиге
voice-card 0
codec complexity medium
dspfarm
dsp services dspfarminterface Loopback20
description === SCCP ===
ip address 10.1.8.130 255.255.255.255
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.1.8.130sccp local Loopback20
sccp ccm 10.1.8.130 identifier 1 version 7.0
sccp
!
sccp ccm group 123
associate ccm 1 priority 1
associate profile 1 register mtp001
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 8
associate application SCCPtelephony-service
sdspfarm units 1
sdspfarm transcode sessions 64
sdspfarm tag 1 mtp001
ip source-address 10.1.8.130 port 2000!
voice service voip
notify redirect ip2pots
gcid
callmonitor
clid substitute name
address-hiding
dtmf-interworking rtp-nte
media forking
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
redirect ip2ip
fax protocol pass-through g711alaw
h323
ras rrq dynamic prefixes
call start slow
sip
rel1xx disable
e911
header-passing error-passthru
registrar server
asymmetric payload full
srtp negotiate cisco
g729 annexb-all
sip-profiles 1
no call service stop
Но кажется что то упустил, потому как при звонке смотрю
sh dspfarm all
Dspfarm Profile ConfigurationProfile ID = 1, Service = TRANSCODING, Resource ID = 1
Profile Description :
Profile Service Mode : Non Secure
Profile Admin State : UP
Profile Operation State : ACTIVE
Application : SCCP Status : ASSOCIATED
Resource Provider : FLEX_DSPRM Status : UP
Number of Resource Configured : 8
Number of Resource Available : 8
Codec Configuration
Codec : g711ulaw, Maximum Packetization Period : 30
Codec : g711alaw, Maximum Packetization Period : 30
Codec : g729ar8, Maximum Packetization Period : 60
Codec : g729abr8, Maximum Packetization Period : 60
SLOT DSP VERSION STATUS CHNL USE TYPE RSC_ID BRIDGE_ID PKTS_TXED PKTS_RXED0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
0 1 24.3.3 UP N/A FREE xcode 1 - - -
и вижу что все ресурсы свободны.
Подскажите как заставить работать транскодинг!!!