My Presence module works fine with PUBLISH request, but not with SUBSCRIBE
request. The trace shows as follows, the requestURI is the IP address of
Presence module, and the request directly sends to presence server, I think
there must be something wrong with the structure of SUBSCRIBE request. any one
can point what is wrong will be helpful , Thank you!---------------Sending
Request---------------PUBLISH sip:148.88.233.209:5065 SIP/2.0Call-ID: [EMAIL
PROTECTED]: 849 PUBLISHFrom: <sip:[EMAIL PROTECTED]:5061>To: <sip:[EMAIL
PROTECTED]:5061>Via: SIP/2.0/UDP
148.88.232.101:5061;branch=z9hG4bK19953Max-Forwards: 70Expires: 3600Event:
presenceContact: <sip:[EMAIL PROTECTED]:5061>Content-Type:
application/cpim-pidf+xmlContent-Length: 220<?xml version="1.0"
encoding="UTF-8" standalone="no"?><presence xmlns="urn:ietf:params:xml:ns:pidf"
entity="pres:[EMAIL PROTECTED]"><tuple
id="sip-client(java)"><status><basic>online</basic></status></tuple></presence>---------------Received
Response---------------SIP/2.0 200 OKCall-ID: [EMAIL PROTECTED]: 849
PUBLISHFrom: <sip:[EMAIL PROTECTED]:5061>To: <sip:[EMAIL
PROTECTED]:5061>;tag=762c87025812f63000552d0e54932ab8.31c6Via: SIP/2.0/UDP
148.88.232.101:5061;branch=z9hg4bk19953Expires: 3590SIP-ETag:
a.1184861600.3810.10Server: OpenSER (1.2.0-notls (i386/linux))Content-Length:
0---------------Sending Request---------------SUBSCRIBE sip:148.88.233.209:5065
SIP/2.0Call-ID: [EMAIL PROTECTED]: 20 SUBSCRIBEFrom: <sip:[EMAIL PROTECTED]>To:
<sip:[EMAIL PROTECTED]>Via: SIP/2.0/UDP
148.88.232.101:5061;branch=z9hG4bK97556Max-Forwards: 70Expires: 3600Event:
presenceContact: <sip:[EMAIL PROTECTED]:5061>Content-Length: 0......
_________________________________________________________________
探索 Windows Vista 的世界
http://search.live.com/results.aspx?q=windows+vista&mkt=zh-cn&FORM=LIVSOP
_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users