LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: gradetwo

linux 下的飞信2010年8月2日更新 Fedora000特供V4版本。 解决飞信协议升级问题

[复制链接]
发表于 2008-4-2 12:10:46 | 显示全部楼层
Post by gradetwo;1833236
我这边测试正常,可能是有些地方服务器调整的缘故?


连续几天无法登录了~~~

(11:50:59) fetion:: in login_cb
(11:50:59) fetion:

sending - Wed Apr  2 11:50:59 2008

######
R fetion.com.cn SIP-C/2.0
F: xxxxxx
I: 1
Q: 1 R
L: 252

<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>
######

(11:51:00) fetion:

received - Wed Apr  2 11:51:00 2008

######
SIP-C/2.0 410 Gone
I: 1
Q: 1 R

#######

(11:51:00) fetion: in process response response: 410
(11:51:00) fetion: in process register response response: 410
(11:51:00) fetion: Unrecognized return code for REGISTER.
(11:51:00) fetion:

sending - Wed Apr  2 11:51:00 2008

######
R fetion.com.cn SIP-C/2.0
F: xxxxxxx
I: 1
Q: 2 R
A: Digest response="(null)",cnonce="(null)"
L: 252

<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>
######
最后一行
(11:58:48) fetion: fetion_input_cb: read error


是不是这个unrecognized return code for register?
回复 支持 反对

使用道具 举报

发表于 2008-4-2 12:45:33 | 显示全部楼层
Pidgin2.4.1试用0.97版本fetion插件,可以发短信。终于可以脱离windows啦,哈哈
回复 支持 反对

使用道具 举报

发表于 2008-4-2 12:50:56 | 显示全部楼层
Pidgin2.4.1试用fetion0.97插件,可以发短信,抛弃windows....
回复 支持 反对

使用道具 举报

发表于 2008-4-2 12:56:06 | 显示全部楼层
pidgin 2.4.1 + fetion v0.97

源代码在这里:https://groups.google.com/group/cyper/web/pidgin-2.4.1.tar.bz2
回复 支持 反对

使用道具 举报

发表于 2008-4-2 19:12:53 | 显示全部楼层
pidgin 升级到 2.4.1 还是登录不了,移动开始行动了?
回复 支持 反对

使用道具 举报

发表于 2008-4-3 09:39:34 | 显示全部楼层
Post by live4love;1833912
连续几天无法登录了~~~

(11:50:59) fetion:: in login_cb
(11:50:59) fetion:

sending - Wed Apr  2 11:50:59 2008

######
R fetion.com.cn SIP-C/2.0
F: xxxxxx
I: 1
Q: 1 R
L: 252

<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>
######

(11:51:00) fetion:

received - Wed Apr  2 11:51:00 2008

######
SIP-C/2.0 410 Gone
I: 1
Q: 1 R

#######

(11:51:00) fetion: in process response response: 410
(11:51:00) fetion: in process register response response: 410
(11:51:00) fetion: Unrecognized return code for REGISTER.
(11:51:00) fetion:

sending - Wed Apr  2 11:51:00 2008

######
R fetion.com.cn SIP-C/2.0
F: xxxxxxx
I: 1
Q: 2 R
A: Digest response="(null)",cnonce="(null)"
L: 252

<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>
######
最后一行
(11:58:48) fetion: fetion_input_cb: read error


是不是这个unrecognized return code for register?



一样啊,上不去~~~~

我的是:
debian/etch + kernel 2.6.22
pidgin 2.4.1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-3 10:59:26 | 显示全部楼层
Post by chasye;1834268
一样啊,上不去~~~~

我的是:
debian/etch + kernel 2.6.22
pidgin 2.4.1
上不去的把 ~/.purple/下的几个配置文件删除下,再试试
应该是服务器变化了,而原来的程序会有限使用配置文件。
回复 支持 反对

使用道具 举报

发表于 2008-4-3 11:00:00 | 显示全部楼层

飞信插件无法登陆

Post by chasye;1834268
一样啊,上不去~~~~

我的是:
debian/etch + kernel 2.6.22
pidgin 2.4.1


---------------------------------------------------------------

发送
R fetion.com.cn SIP-C/2.0
F: xxxxxx
I: 1
Q: 1 R
L: 252

<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>

之后服务器要返回
SIP-C/2.0 401 Unauthorized
I: 1
Q: 1 R
W: Digest algorithm="MD5-sess",nonce="xxxxxxxxxxxxxxxx"

才可以继续交互

但现在返回的是

SIP-C/2.0 410 Gone
I: 1
Q: 1 R

明显是不能再继续交互了。
看了飞信插件0.97的源码,发现,如果这时候返回410,
程序就会重新发送一次交互请求
不过会加上这个东西
A: Digest response=\"%s\",cnonce=\"%s\"\r\n


但是我看了你发上来的LOG
发送出去的是:
R fetion.com.cn SIP-C/2.0
F: xxxxxxx
I: 1
Q: 2 R
A: Digest response="(null)",cnonce="(null)"
L: 252

为什么是null?

最后肯定是fetion_input_cb: read error的

昨晚抓了一下登陆时候飞信发出去的包,好像协议基本没变,
但是<args><device type="C" version="0" client-version="2.3.0230" /><caps value="fetion-im;im-session;temp-group" /><events value="contact;permission;system-message" /><user-info attributes="all" /><presence><basic value="400" desc="" /></presence></args>

这里的version等于7 caps value也有点不一样~

不知道这里是不是要根据飞信的版本改变?

PS:
我用Socket发送
R fetion.com.cn SIP-C/2.0
F: xxxxxx
I: 1
Q: 1 R
L: 252
的时候一直返回Bad Request
搞了很久都没搞出来,郁闷~~~~~
回复 支持 反对

使用道具 举报

发表于 2008-4-3 12:22:54 | 显示全部楼层
Post by gradetwo;1834304
上不去的把 ~/.purple/下的几个配置文件删除下,再试试
应该是服务器变化了,而原来的程序会有限使用配置文件。


老大,跪拜了,you are the god~~你这方法管用~~已经登录了.
回复 支持 反对

使用道具 举报

发表于 2008-4-3 19:34:04 | 显示全部楼层
哇哈哈,删除配置文件后果然可以了
刚发现又出新版了,呵呵,gradetwo,great
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表