监控电话C# [英] Monitor a phone C#

查看:57
本文介绍了监控电话C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在用C#编写软件电话.现在,我想监视电话(分机)状态.我认为最好的方法是订阅扩展,并通过此扩展的通知接收状态.例如:电话忙时,我会收到通知,并且指示灯将变为橙色.当手机可用时,指示灯将变为绿色.我该怎么办?

谢谢..

Hi,

I am programming a softphone in C#. Now i want to monitor the phone(extension) state. I think the best method is with a subscription to an extension and receive the state by notifications from this extension. An example: when a phone is busy, i get a notify and a light will be orange. When the phone is available the light will be green. How can i do this?

Thanks..

推荐答案

电话正在本地计算机上运行.但是我怎么能抓住所有的通知.通知在端口5060(udp)上发送.
The phone is running on a local computer. But how can i catch all the notify''s. The notify''s are send on port 5060(udp).


这篇关于监控电话C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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