Sip身份验证 - 响应值

时间:2012-03-28 13:20:57

标签: sip asterisk authentication

我正在尝试使用我的星号服务器验证自己,但我认为我没有正确格式化身份验证标头,特别是响应值。我正在使用以下公式为值创建MD5哈希:

            String a = sipLayer.MD5Encoder("username:realm:password");
        String b = sipLayer.MD5Encoder("REGISTER:sip:username@10.2.0.53:61469");

        String c = sipLayer.MD5Encoder(String.format("%s:%s", a,b));

似乎没有一个非常活跃的SIP社区,因此很难在谷歌上找到任何东西。 这是我从服务器的SIP数据包。任何人都可以看到任何错误吗?谢谢 enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

解决了我自己的问题。我甚至无法在论坛帖子中解释它。如果有人遇到类似问题,请随时给我留言或发电子邮件,我很乐意解释。谢谢!