啜饮100尝试而不是180响 [英] sip 100 trying instead of 180 ringing

查看:87
本文介绍了啜饮100尝试而不是180响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我使用    Microsoft
Unified Communications
 和c#。我正在使用IMVoipSample作为代码库。作为一个voip后端,我正在使用星号。一切都很好,我可以注册,拨打电话,接听/拒绝来电。有一件事是我无法解决的。

Hello, I develop a software using  Microsoft Unified Communications and c#. I'm using a IMVoipSample as a code base. As a voip backend i'm using asterisk. Everything fine, i can register, make calls, accept/reject incoming calls. There is a one thing that i cannot resolve.

 

当我拨打第3个电话时派对软电话有一个答案:

while i make a call to a 3rd party softphone there is an answer from it:

 

SIP / 2.0 180铃声

Via:SIP / 2.0 / UDP 192.168.250.29:5060; branch=z9hG4bK786d156c;rport=5060

Via: SIP/2.0/UDP 192.168.250.29:5060;branch=z9hG4bK786d156c;rport=5060

联系方式:< sip:6011@192.168.246.203:45134 ; rinstance = 7af05ded7e7e49e6>

Contact: <sip:6011@192.168.246.203:45134;rinstance=7af05ded7e7e49e6>

收件人:< sip:6011@192.168.246.203:45134; rinstance = 7af05ded7e7e49e6> ;; tag = 9a00d038

To: <sip:6011@192.168.246.203:45134;rinstance=7af05ded7e7e49e6>;tag=9a00d038

来自:"6012"< sip:6012@192.168.250.29> ;; tag = as66995cd4

From: "6012"<sip:6012@192.168.250.29>;tag=as66995cd4

Call-ID:7cebe5d1060b11452571a22e0e2cb919@192.168.250.29

Call-ID: 7cebe5d1060b11452571a22e0e2cb919@192.168.250.29

CSeq:102邀请

CSeq: 102 INVITE

用户代理:X-Lite发布1002tx邮票29712

User-Agent: X-Lite release 1002tx stamp 29712

内容长度:0

但是当我打电话给我的 IMVoipSample手机有一个aswer:
But when i make a call to my IMVoipSample phone there is an aswer:

推荐答案

您从服务器获得100次尝试,告诉客户端已收到会话请求并正在处理它。 服务器可以在将INVITE发送到另一个端点之前或者在发送INVITE之后但在目标
已响应之前发送此信息。

You get 100 Trying from the server to tell the client that it has received the session request and is processing it.  The server can send this before it has sent the INVITE to the other endpoint or after it has sent the INVITE but before the target has responded.

一旦获得200 OK从另一个端点,然后它会将其传递给调用者。 当你获得100次尝试时,你在客户端做什么取决于你。  Communicator / Lync所做的是播放简短的"ding"。向用户发出声音,表明
正在做某事,然后在从服务器获得180响铃后播放实际的铃声。

Once it gets a 200 OK from the other endpoint, then it will pass that on to the caller.  What you do on the client side when you get the 100 Trying is up to you.  What Communicator/Lync do is to play a short "ding" sound to the user to show that it is doing something and then play the actual ring tone once it gets the 180 Ringing from the server.


这篇关于啜饮100尝试而不是180响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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