SUBSCRIBE request can not save in watchers table properly. Both p_user and w_user are subscriber's name!? In this case, they are both 'alice'. The SUBSCRIBE request is shown as follows:----------------------------------------SUBSCRIBE sip:alice@148.88.232.101 SIP/2.0Call-ID: c14d16bf8f758655b09588b764c3f0c9@148.88.232.101CSeq: 20 SUBSCRIBEFrom: "alice" sip:alice@148.88.232.101:5061;tag=z9hG4bK41052461To: "bob" sip:bob@148.88.232.101:5062Via: SIP/2.0/TCP 148.88.232.101:5061;branch=z9hG4bK57563Max-Forwards: 70Expires: 360000Event: presenceRoute: sip:148.88.233.209:5065;lrContact: "alice" sip:alice@148.88.232.101:5061Content-Length: 0----------------------------------------HELP!Regards,Kevin _________________________________________________________________ 通过 Live.com 查看资讯、娱乐信息和您关心的其他信息! http://www.live.com/getstarted.aspx
KevinKinnan wrote:
SUBSCRIBE request can not save in watchers table properly. Both p_user and w_user are subscriber's name!? In this case, they are both 'alice'. The SUBSCRIBE request is shown as follows:
SUBSCRIBE sip:alice@148.88.232.101 SIP/2.0 Call-ID: c14d16bf8f758655b09588b764c3f0c9@148.88.232.101 CSeq: 20 SUBSCRIBE From: "alice" sip:alice@148.88.232.101:5061;tag=z9hG4bK41052461 To: "bob" sip:bob@148.88.232.101:5062 Via: SIP/2.0/TCP 148.88.232.101:5061;branch=z9hG4bK57563 Max-Forwards: 70 Expires: 360000 Event: presence Route: sip:148.88.233.209:5065;lr Contact: "alice" sip:alice@148.88.232.101:5061 Content-Length: 0
The same as for Publish, the Subscribe message should contain in the Request Uri the uri of the resource the subsciption is addressed to.(See RFC 3265 section 3.1.2.)
So this Subscribe is interpreted as from alice to alice. The correct one should have been:
------------- SUBSCRIBE sip:bob@148.88.232.101:5062 SIP/2.0 Call-ID: c14d16bf8f758655b09588b764c3f0c9@148.88.232.101 CSeq: 20 SUBSCRIBE From: "alice" sip:alice@148.88.232.101:5061;tag=z9hG4bK41052461 To: "bob" sip:bob@148.88.232.101:5062 Via: SIP/2.0/TCP 148.88.232.101:5061;branch=z9hG4bK57563 Max-Forwards: 70 Expires: 360000 Event: presence Route: sip:148.88.233.209:5065;lr Contact: "alice" sip:alice@148.88.232.101:5061 Content-Length: 0 -----------
regards,
Anca Vamanu
HELP!
Regards, Kevin
通过 Windows Live Spaces 与朋友轻松共享您的生活。 立即尝试! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=zh-cn
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users