SIP错误消息! [英] SIP Error message!

查看:87
本文介绍了SIP错误消息!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

  如何通过MSPL脚本在sip响应中显示自定义错误消息?我需要在IM communicator聊天窗口中显示我自己的错误消息。怎么可能?

   How to present the custom error message in the sip response through MSPL script? I need to show my own error message in the IM communicator chat window. How is it possible?

  我试过这个:=回复(403,"禁止(消息过滤)");

   I tried with this :=Respond(403, "Forbidden(Message filtered)");

  但是,消息"禁止(消息过滤)"没有进入聊天窗口。

   But, the message "Forbidden(Message filtered)" is not getting in the chat window.

  请建议我。

   Please suggests me.

推荐答案

你不能这样做。  Communicator UI中显示的消息在OC映像中的资源中进行了硬编码。 它对从服务器发回的字符串没有任何作用。

You can't do this.  The messages that display in Communicator's UI are hard coded in the resources in the OC image.  It does not do anything with the string that is sent back from the server.

 


这篇关于SIP错误消息!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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