好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

freeiris数据库说明.pdf

8页
  • 卖家[上传人]:飞***
  • 文档编号:47128293
  • 上传时间:2018-06-29
  • 文档格式:PDF
  • 文档大小:800.15KB
  • / 8 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1.Localnumber 表结构(1)number:本地号码 (包括所有类型的本地号码和trunk ) ,查询时用来判断来电或去电是否为本地号码例如;$sth = $DBH->prepare(“select * from localnumber where number = '“.$PARAM->{'callednum'}.“'“); ( 2) typeof : 来电或去电的类型,包括: extension,conference , queue,ivr, agi, trunk 3) assign :指定值agi 类型的:extension类型: number:分机号; typeof:extension; assign :分机号trunk 类型:number:设备名; typeof:trunk; assign : 与 trunk 表里的 id号相同,为创建的中继号conference , queue, ivr 类型的 assign值均为空说明:当添加extension,conference , queue, ivr,trunk,都会相应的在localnumber中生成一条记录2.分机表extension 结构( 1)accountcode : 账户代码;一般为分机号码( 2)cretime : 分机创建时间。

      3)password:分机的密码 4)deviceproto : 分机类型,包括sip,iax2,virtual,custom,fxs ( 5)devicenumber: 分机号码,通常用于查询,来判断来电或去电例如 my $sth = $DBH->prepare(“select * from extension where devicenumber = '“.$PARAM->{'callednum'}.“'“); ( 6)devicestring : 设备参数 Sip, iax 分机的设备参数为分机号;custom(自定义分机 )的设备参数可自定义;virtual 的设备参数为空 7)firstchecked : ??? 首要检查的( 8)transfernumber : 呼转号码 9)diallocal_failed : 呼叫失败后相应的处理包括以下几种处理方式:系统默认(空格),不处理( nothing) ,呼叫转移( failedtransfer ) ,语音信箱(voicemail ) ,数字(fax) ,IVR提醒菜单( ivr) 10) info_name : 用户姓名(真实姓名) 。

      11) info_email : 电子邮箱( 12) info_detail : 用户的详细资料 13) info_remark:注意要点3.呼叫队列表queue ( 1)id :创建队列的顺序号( 2)queuenumber : 队列号( 3)queuename:队列名称( 4)announce:接听前通知,包括: 空;freeiris/callfromqueue(呼叫来自队列) ;freeiris/silence5(静音 5 秒)( 5)playring:播放的铃声,当playring=0时,表示 在队列中播放等待音乐;当playring=1时, 在队列中播放震铃音( 6)saynumber:报号 Saynumber=1 ,表示 用户接起后拨报坐席号码Saynumber=0,不拨报( 7)queuetimeout: 呼叫者已经在队列中等待的时间超过这个时间可能跳到到本地号码处理 8)failedon:超过 queuetimeout 规定的时间后,跳到的本地号码 9)members:呼叫队列中的成员 10) createtime:呼叫队列创建的时间例如:4.conference 会议表 结构 : (1) id : 创建会议的顺序号(2) confno: 会议号码(3) pincode:会议的密码(4) playwhenevent: playwhenevent=1, 有人进入 /离开会议室的时候播放语音(5) mohwhenonlyone: mohwhenonlyone=1, 会议室只有一个人的时候播放等待音乐(6) cretime:队列创建时间例如:5.ivrmenu 表结构( 1)id :创建 ivrmenu 的顺序号( 2)ivrnumber: IVR 号码( 3)ivrname: IVR菜单的名称( 4)description: IVR 菜 单 描 述( 5)cretime: 菜单创建的时间( 6)readonly: 是否能修改, readonly=1,不能修改;readonly=0,能修改。

      6.ivraction 表结构( 1)id: 创建 ivrmenu的顺序号( 2)ivrnumber: IVR 号码( 3)ordinal : 每项 IVR执行动作的优先级 4)atcmode:动作模式包括: 10 —— 播放语音 ; 11 ——发起录音 ; 12 ——播放录音 ; 20 ——录制 0-9字符 ; 21 ——播放 0-9 字符 ; 22——数字方式读出; 30 ——读出日期时间; 31 ——检测日期 ; 40 ——主叫变换;41 ——拨打; 42 ——跳转到语音信箱;43 ——跳转到 IVR菜单;44 ——WEB交互接口;45 ——AGI扩展接口; 80——等待几秒; 81 ——等待几秒;99 ——挂机;( 5)args: 参数atcmode=10(播放声音): folder=user_custom&filename=welcome&interruptible=true& (播放语音文件) 文件目录 = 播放声音的文件目录&播放声音 =要播放的语音&播放中 , 是否接受用户输入选择=true&/ 空格atcmode=11(发起录音): recordvarname( 录音文件变量名称) =callerid(自己定义的变量)&atcmode=12(播放录音) :playbackvarname( 要播放的录音文件变量名称) =come12(自定义的变量)&atcmode=20 ( 录 制0-9字 符 ):beepbeforereceive ( 是 否 在 录 制 前 播 放“BEEP“ 声 )=true/false&addbeforeuserinput( 是 否 包 含 前 一 个 用 户 输 入 )=true/false&maxdigits( 录 制 的 字 符 长度 )=&receivevarname(录制文件变量名称)=calluser&atcmode=21 (播放 0-9 字符 ): playbackvarname(从录制的字符变量中读)=REnumber&saydigits=4567&atcmode=22(数字方式读出): playbackvarname=REnumber&saydigits=3456&(同上)atcmode=30 (读出日期时间) : saydatetime ( 读出呼叫当时发生的日期时间) =true/false&saydatefromvar(从录制的字符变量中读出日期)=&saytimefromvar(从录制的字符变量中读出时间)=&saydatestring(读出指定日期 )=20121212&saytimestring(读出指定时间 )=101010&atcmode=31(检测日期):from_hour=09&from_min=00&to_hour=17&to_min=00&timeall=&from_week=1&to_week=6&weekall=&from_day=1&to_day=30&dayall=&from_month=1&to_month=2&monthall=&gotoivr=200&actpoint=&atcmode=40 (主叫变换) modify( 如何修改主叫号码)=replace(直接替换)/ append(结尾增加 ) / prepend( 增补前缀 ) &altercallerid(使用这个内容作为变换内容)=5555&atcmode=41(拨打):typeof=queue&dialvarname=&dialdigits=401& gotoivr=200&actpoint=&playbackinvalid=&(拨打)1.typeof (号码处理方式)=空(本地处理)/extension (分机) /queue (呼叫队列)/conference( 会议)/ extenrouter( 拨出规则 ) 2.dialvarname (从字符变量中读)=空/calleruser( 当 typeof=extension) 3.dialdigits (拨打以下号码)=401(队列号) /空4.gotoivr( 跳转到 IVR菜单 ) = IVR菜单号码5.actpoint(位置在)=空( IVR菜单起点) /2 (播放语音)6.playbackinvalid (拨打号码不存在)= true(播放提示号码不存在)/空格(不播放)atcmode=42(跳转到语音信箱):dialvarname(从录制的字符变量中读)=callerid(自定义的变量)&dialdigits (指定以下号码的语音信箱) =5555&typeof(类型) =voicemail/fax& atcmode=43(跳转到 IVR菜单 ): gotoivr( 跳转到 IVR菜单 )=200&actpoint(跳转到的位置 )=空( IVR菜单起点)&2(播放语音)atcmode=44( WEB交互接口):urlvar ( HTTP地址 )=http%3A%2F%2F&urlargs ( 访问参数 )=&urltimeout(超时时间) =10&done_gotoivr( 返回成功时跳转到的菜单)=200&done_actpoint(具体的位置)=&failed_gotoivr=200( 返回失败时跳转到的菜单)&failed_actpoint(具体的位置) =&other_gotoivr(超时或其他返回跳转到的菜单) =200&other_actpoint(具体的位置)=& atcmode=45( AGI扩展接口): agi(AGI 资源) =&atcmode=80 (等待几秒) :wait (等待时间 (秒)) =10&interruptible (等待中 , 接受用户输入选择)=true/false&atcmode=81(播放音调 ): sec (播放时长 (秒))=10&playtone (选择音调类型)=busy/congestion/info&atcmode=99(挂机 ):没有参数7.ivruserinput (1) Id:创建 ivrmenu的顺序号(2) ivrnumber: IVR 号码(3) general : 常规执行的顺序(4) general_type : 常规的类型包括invalid(无效选择) ; timeout(选择输入超时) ; retry(重试次数 ) (5) general_args :常规的参数general_type 为 invalid时folder=freeiris&filename=ivr-invalid folder(文件目录)=要播放的声音的文件目录& filename(播放的声音)=要播放的声音general_type 为 timeout 时folder=freeiris&filename=ivr-timeout&timeout=10 folder(文件目录)=要播放的声音的文件目录& filename(播放的声音)=要播放的声音&timeout=超时时间general_type 为 retry 时numberofretry=6 numberofretry(重试次数)=次数( 6)input :用户输入。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.