如何从登录名更改CVP代理程序问候名字到人Id
代理服务器列表 时间:2021-04-14 阅读:(
)
ContentsIntroductionPrerequisitesRequirementsComponentsUsed背景信息代理程序Greting音频问题解决方案Introduction本文描述如何从登录名更改Cisco用户语音门户(CVP)代理程序问候(AG)名字到人id.
PrerequisitesRequirementsCisco建议您了解以下主题:CVP配置qCVP代理程序问候预付款功能qCiscoUnifiedContactCenterEnterprise(UCCE)qComponentsUsed本文档中的信息基于以下软件版本:CVP11.
5(1)qUCCE11.
5qTheinformationinthisdocumentwascreatedfromthedevicesinaspecificlabenvironment.
Allofthedevicesusedinthisdocumentstartedwithacleared(default)configuration.
如果您的网络实际,请保证您了解所有命令的潜在影响.
背景信息CVP11.
5(1)版本包括在代理程序问候文件名上的一个变化.
问候文件当前命名与惯例PersonID_AgentGreetingType(而不是LoginName_AgentGreetingType).
因此请更改,当前代理程序问候文件不使用,直到他们再录音或改名.
代理程序Greting音频问题代理程序问候文件不使用,直到他们再录音或改名.
解决方案在CVP版本上的变化要求重命名代理程序在media服务器的问候文件.
有与.
csv文件一起使用包括PersonID和LoginName,并且重命名与LoginName产生关联的文件和PersonID的脚本.
问候文件的格式包含作为给改名一部分,需要保留的后缀.
查询在UCCE需要被执行为了获得CSV文件.
CSV文件在脚本运行的目录需要准备和放置(C:\inetpub\wwwroot\en-我们\app).
步骤1.
从UCCEAdmin服务器导出数据.
查询代理表,选择PersonID,PeripheralNumber从代理程序;并且请准备一个csv文件.
CSV文件必须有问候文件列表以格式PersonID,LoginName.
Step2.
保证更改代理程序文件名的Perl文件跟随新的惯例.
步骤3.
备份原始音象文件.
第4.
步.
移植的目录是C:\inetpub\wwwroot\en-我们\app,取决于他们的EN我们或所有现场、app或者sys等的配置.
在代理表里,您能根据新的文件名惯例找到必须被PersonID替换的PeripheralNumber.
如镜像所显示.
步骤5.
复制和插入此编码正文对记事本文件并且保存它作为migrate.
pl.
#!
c:\perl\bin\perl#-DirectoryToMigrateisthedirectorywhichconsistofalltheagentgreetingfiles,#typicallyitwouldbeC:\inetpub\wwwroot\en-us\app,customermayneedtochangethepath#dependingontheirconfigurationforen-usoranylocale,apporsysetc.
#-TheCSVFileshouldhavethelistofgreetingfilesinfollowingformat"PersonID,LoginName".
useFile::Basenameqw(dirname);useFile::Copyqw(move);if($#ARGV!
=1){print"Usage:perlmigrate.
pl\"\"\"\"\n";exit;}my($dir,$csv)=@ARGV;#Getthefilelistingfromthedirectory.
opendirmy$directory,$dirordie"Cannotopendirectory:$!
";my@files=readdir$directory;closedir$directory;#LoadtheCSVFileopen(HANDLE,$csv);my@csvcontent=;close(HANDLE);#Iteratethroughthefilesforeachmy$file(@files){if($file=~/.
wav/){my($oldFileId,$suffix)=split("_",$file);#Checkifwehavereplacementforthismy@res=grep(/$oldFileId/,@csvcontent);if($#res+1>0){($personId,$oldId)=split(",",$res[0]);my$new_name="$personId\_$suffix";move"$dir\/$file","$dir\/$new_name";print"Renaming",$file,"to",$new_name,"\n";}else{print"Can'tfind$filein$csvfile,skipping.
.
.
\n";}}}步骤6.
安置migrate.
pl文件在您放置了CSV文件的目录文件夹.
步骤7.
运行命令:Perlmigrate.
pl.
Thisis关于怎样的示例脚本需要运行转换文件Administrator@WIN-EO465NTD4NMc/inetpub/wwwroot/en-us/app/ag_gr3/test$ls-lrttotal198-rwxr-xr-x1AdministratorNone32242Oct815:131000_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:131000_2.
wav-rwxr-xr-x1AdministratorNone32242Oct815:131001_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:141001_2.
wavrwxr-xr-x1AdministratorNone32242Oct815:141002_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:141002_2.
wav-rwxr-xr-x1AdministratorNone32242Oct815:141003_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:141003_2.
wav-rw-r--r--1AdministratorNone1388Oct815:17migrate.
pl-rw-r--r--1AdministratorNone30Oct815:18agent.
csvAdministrator@WIN-EO465NTD4NMc/inetpub/wwwroot/en-us/app/ag_gr3/test$catagent.
csv5000,10005001,10015002,10025003,1003Administrator@WIN-EO465NTD4NMc/inetpub/wwwroot/en-us/app/ag_gr3/test$perlmigrate.
plc/inetpub/wwwroot/en-us/app/ag_gr3/testagent.
csvRenaming1000_1.
wavto5000_1.
wavRenaming1000_2.
wavto5000_2.
wavRenaming1001_1.
wavto5001_1.
wavRenaming1001_2.
wavto5001_2.
wavRenaming1002_1.
wavto5002_1.
wavRenaming1002_2.
wavto5002_2.
wavAdministrator@WIN-EO465NTD4NMc/inetpub/wwwroot/en-us/app/ag_gr3/test$ls-lrttotal198-rwxr-xr-x1AdministratorNone32242Oct815:135000_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:135000_2.
wav-rwxr-xr-x1AdministratorNone32242Oct815:135001_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:145001_2.
wav-rwxr-xr-x1AdministratorNone32242Oct815:145002_1.
wav-rwxr-xr-x1AdministratorNone32242Oct815:145002_2.
wav-rw-r--r--1AdministratorNone1388Oct815:17migrate.
pl-rw-r--r--1AdministratorNone40Oct815:24agent.
csv.
.
mineserver怎么样?mineserver是一家国人商家,主要提供香港CN2 KVM VPS、香港CMI KVM VPS、日本CN2 KVM VPS、洛杉矶cn2 gia端口转发等服务,之前介绍过几次,最近比较活跃。这家新推出了洛杉矶CN2 GIA VPS,512MB内存/20GB NVME/800GB流量/200Mbps/KVM,58元/季,并且进行了带宽升级,同时IP更改为美国IP。点击...
TabbyCloud迎来一周岁的生日啦!在这一年里,感谢您包容我们的不足和缺点,在您的理解与建议下我们也在不断改变与成长。为庆祝TabbyCloud运营一周年和七夕节,TabbyCloud推出以下活动。TabbyCloud周年庆&七夕节活动官方网站:https://tabbycloud.com/香港CN2: https://tabbycloud.com/cart.php?gid=16购买链...
麻花云在7月特意为主机测评用户群定制了促销活动:香港宽频CN2云服务器、安徽移动云服务器(BGP网络,非单线,效果更好)、安徽移动独立服务器、安徽电信独立服务器,全部不限制流量,自带一个IPv4,默认5Gbps的DDoS防御。活动链接:https://www.mhyun.net/act/zjcp特价云服务器不限流量,自带一个IPv4,5Gbps防御香港宽频CN2全固态Ⅲ型 4核4G【KVM】内存:...
代理服务器列表为你推荐
aspweb服务器web服务器怎样才能支持.asp新iphone也将禁售iPhone8plus在2020年还会有货吗360和搜狗360搜索和搜狗搜索谁好谁流量大?为什么我在网上搜索到的数据有一定矛盾?做广告推广哪个好呢?信息cuteftptumblr上不去吃鸡更新完打不开,成这样了,怎么办在线等,挺急的什么是seoseo标题和seo关键词是什么意思独立访客猎流的访问量都是真实的吗?想试试qq挂件QQ免费挂件怎么用帝国cms帝国cms 登录或退出提示页面404错误???seo基础教程SEO小白如何自学SEO入门到精通
com域名空间 虚拟主机软件 主机优惠码 火山主机 紫田 服务器日志分析 本网站在美国维护 合租空间 韩国名字大全 seednet 网站木马检测工具 php空间购买 服务器监测 华为云盘 香港亚马逊 腾讯总部在哪 上海电信测速 photobucket atom处理器 wordpress空间 更多