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: ef68e3acb55c2a4c791b1e31f7362b6f(a)148.88.232.101CSeq: 849 PUBLISHFrom:
<sip:alice@148.88.232.101:5061>To: <sip:alice@148.88.232.101:5061>Via:
SIP/2.0/UDP 148.88.232.101:5061;branch=z9hG4bK19953Max-Forwards: 70Expires: 3600Event:
presenceContact: <sip:alice@148.88.232.101: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:alice@open-ims.test"><tuple
id="sip-client(java)"><status><basic>online</basic></status></tuple></presence>---------------Received
Response---------------SIP/2.0 200 OKCall-ID:
ef68e3acb55c2a4c791b1e31f7362b6f(a)148.88.232.101CSeq: 849 PUBLISHFrom:
<sip:alice@148.88.232.101:5061>To:
<sip:alice@148.88.232.101: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: 5c280b2299c2834b7705dece8497ec2f(a)148.88.232.101CSeq: 20 SUBSCRIBEFrom:
<sip:alice@148.88.232.101>To: <sip:bob@148.88.232.101>Via: SIP/2.0/UDP
148.88.232.101:5061;branch=z9hG4bK97556Max-Forwards: 70Expires: 3600Event:
presenceContact: <sip:alice@148.88.232.101:5061>Content-Length: 0......
_________________________________________________________________
探索 Windows Vista 的世界
http://search.live.com/results.aspx?q=windows+vista&mkt=zh-cn&FORM=…