s饮打个电话-401未经授权 [英] sip making a call - 401 Unauthorized

查看:61
本文介绍了s饮打个电话-401未经授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Sip客户端.我正在用Wireshark监视sip数据包.

I am working on a sip client. I'm monitoring with wireshark the sip packets.

向sip服务器注册可以正常工作

Register with the sip server works fine

拨打电话时,我有以下提示:

When making a call I have this:

客户-邀请消息 伺服器-401未经授权 客户端-邀请消息 服务器-禁止使用403

Client - INVITE message Server - 401 UNAUTHORIZED Client - INVITE message Server - 403 Forbidden

我无权访问服务器.可能出什么问题了?为什么我不能拨打电话?

I do not have access to the server. What could go wrong? Why can't I make a call?

如果注册成功,那么401和403分别代表什么?

What is with that 401 and than 403 if registered worked ok?

推荐答案

那是正常的.服务器要求授权(401).之后,它说授权不正确.

That is noramal. Server ask for authorization(401). After that it say authorization incorrect.

这是正常的行为:

1)您为此用户名使用了不正确的机密

1) You use incorrect secret for this username

2)您使用的域名/领域不正确,并且在服务器上设置了域名/领域.

2) You use domain name/realm which is incorrect and domain name/realm is set on server.

如果注册正常,可以

1)服务器以不同的方式与注册一起工作-联系服务器支持

1) Server work with registration different way - contact server support

2)您拨打的格式错误或该号码不允许与您的分机通话.

2) You dialling in incorrect format or this number not allowed to call with your extension.

这篇关于s饮打个电话-401未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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