API开发文档

欢迎浏览我们的API开发文档!

添加/更新呼叫转移设置

添加或更新呼叫转移设置

PUT

/api/callForwarding

权限:呼叫流

Header
字段类型描述
Content-Type字符串应用或JSON

参数
字段类型描述
tn字符串需要设置呼叫转移的TN
default字符串缺省的呼叫转移目标
callerId(可选)字符串当呼入号码与callerId匹配时,该呼叫将转移至指定目标




/api/callfowarding/:tn
HTTP/1.1 200 OK
 [
     "http://download.genvoice.net/api/callflow/audio/dev/3ff21620-5ebd-11e8-8d7a-a1bc832724f9.mp3",
     "http://download.genvoice.net/api/callflow/audio/dev/Salesline_close.mp3",
     /api/callfowarding/:tn
 {
     "default": "${defaultDestination}",
     "${callerId1}": "${destination1}",
     "${callerId2}": "${destination2}",
 }

成功响应
HTTP/1.1 200 OK
ok




标签:
Table of Contents