用户离线时重拨来电 [英] Reroute incoming call when user is offline

查看:82
本文介绍了用户离线时重拨来电的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户离线 - 从MOC注销 - 并且没有呼叫转移设置或语音信箱时,来自PSTN的呼叫将失败,480(暂时不可用),然后502(服务不可用)。 我想编写一个MSPL脚本,允许OCS通过默认路由尝试
到达用户,但是提供后退 并重新路由请求,以防用户离线,没有配置呼叫转发等。

When a user is offline - signed out of MOC - and has no call forwarding setting or voice mailbox, a call from PSTN will fail with 480 (Temporarily Unavailable) and then 502 (Service unavailable).  I want to write a MSPL script that allow OCS to try reaching the user by Default routing, but provide a fall-back and re-routes the request in case user is offline, has no call forwadring configured etc.

例如在sipRespose 480处拦截消息流没有问题,但是我重新路由呼叫的所有尝试都失败了。我试过了  ProxyRequest,Respond和SetParameter,但唉。我的印象是我迟到了b $ b $。

There is no problem intercepting the message flow for instance at the sipRespose 480, but all my attempts to re-route the call fails miserably. I've tried  ProxyRequest, Respond and also SetParameter, but alas. My impression is that I'm kind of too late.

关于如何以编程方式实现这一点的想法非常受欢迎!

Ideas on how to achieve this programatically is most welcome!

问候

 

推荐答案

您可能会在检查之前检查您的MSPL脚本/应用是否已执行默认入站路由脚本。 它必须位于DefaultRouting脚本之前的服务器上的应用程序列表中。

You might check that your MSPL script/app is executed before the default Inbound Routing script.  It needs to be in the list of apps on the server before the DefaultRouting script.


这篇关于用户离线时重拨来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆