El Miércoles, 24 de Octubre de 2007, 程千 escribió:
hi:
I get the openser-1.3.0 by svn.
I found that:
1、PUBLISH err
I send publish request like this:
PUBLISH sip:glangei@langei.com SIP/2.0
Via: SIP/2.0/UDP
192.168.7.33:5060;rport;branch=z9hG4bKPj9147bfbe0959475a9d58131ff908f6c4
Max-Forwards: 70
From: <sip:glangei@langei.com>;tag=7cf57711fd394c3c87bf78e4a1d9e102
To: <sip:glangei@langei.com>
Call-ID: 49098bd9d7734a37a2a15f9965bd8a6b
CSeq: 18509 PUBLISH
Event: presence
Expires: 60
Content-Type: application/pidf+xml
Content-Length: 233
<?xml version="1.0" encoding="UTF-8"?>
<presence entity="sip:glangei@langei.com"
xmlns="urn:ietf:params:xml:ns:pidf"> <tuple
id="99c28e062f714ccdb5df7cec59659ffa">
<status>
<basic>open</basic>
</status>
</tuple>
</presence>
the openser show that:
ERROR:presence:handle_publish: Missing or unsupported event header
field value ERROR:presence:handle_publish: event=[presence]
How can i organize the PUBLISH message?
Just before this message from you there is other mail from Antonie
Fressancourt with subject:
" Bug with OpenSER 1.3 Presence module : event handling."
Read this, is the same bug.
--
Iñaki Baz Castillo