I am using N95 to test SUBSCRIBE request with openser that dedicates as presence server. According to nokia notes, in nokia java sip stack, the accept-contact header is mandatory in all requests. Any request without this header will not be recognized by sip stack in N95. The NOTIFY request from openser seems not add this header in itself. Or maybe I omit some configurations. Please give me some clue, thank you.
Regards, Kevin _________________________________________________________________ 新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜! http://im.live.cn/emoticons/?ID=18
On Wednesday 04 June 2008, KevinKinnan wrote:
I am using N95 to test SUBSCRIBE request with openser that dedicates as presence server. According to nokia notes, in nokia java sip stack, the accept-contact header is mandatory in all requests. Any request without this header will not be recognized by sip stack in N95. The NOTIFY request from openser seems not add this header in itself. Or maybe I omit some configurations. Please give me some clue, thank you.
Hi,
take a look at the textops module, e.g. append_hf, append_hf_reply
http://www.openser.org/docs/modules/devel/textops.html#id2494621
Cheers,
Henning
Hi Kevin,
before going further on this, check with the RFC3261 if the header is really mandatory.
Regards, Bogdan
Henning Westerholt wrote:
On Wednesday 04 June 2008, KevinKinnan wrote:
I am using N95 to test SUBSCRIBE request with openser that dedicates as presence server. According to nokia notes, in nokia java sip stack, the accept-contact header is mandatory in all requests. Any request without this header will not be recognized by sip stack in N95. The NOTIFY request from openser seems not add this header in itself. Or maybe I omit some configurations. Please give me some clue, thank you.
Hi,
take a look at the textops module, e.g. append_hf, append_hf_reply
http://www.openser.org/docs/modules/devel/textops.html#id2494621
Cheers,
Henning
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
El Wednesday 04 June 2008 15:47:45 KevinKinnan escribió:
I am using N95 to test SUBSCRIBE request with openser that dedicates as presence server. According to nokia notes, in nokia java sip stack, the accept-contact header is mandatory in all requests. Any request without this header will not be recognized by sip stack in N95. The NOTIFY request from openser seems not add this header in itself. Or maybe I omit some configurations. Please give me some clue, thank you.
Acording to RFC 3261, a "Contact" is just mandatory for requests that create a dialog (so next in-dialog messages are routed to the "Contact" address). So "Contact" is just needed in: - INVITE - SUBSCRIBE
A REGISTER needs also a "Contact" but for different purpose.