[reSIProcate] "Accept" header in SUBSCRIBE

Mateus Bellomo mateusbellomo at gmail.com
Wed Aug 24 08:31:00 CDT 2016


Hello,

I'm sending a SUBSCRIBE through telepathy-resiprocate and I would like to
know if the "Accept: application/pidf+xml" header is essential so the
client could receive back a NOTIFY from the server.

I'm asking that because I'm not receiving a NOTIFY from both
test.sip5060.net and ws.sip5060.net servers.

I would also like to know which is the best way to include the "Accept:
application/pidf+xml" header in SUBSCRIBE. I first put it at
resip/dum/BaseCreator.cxx, then I moved to resip/dum/SubscriptionCreator.cxx
and it was a discussion about where is the best place to it [1]:

"@MateusBellomo <https://github.com/MateusBellomo> remove the change from
SubscriptionCreator and try using addSupportedMimeType(NOTIFY,
Pidf::getStaticType()) on the MasterProfile in your apps/telepathy code in
pull request #53 <https://github.com/resiprocate/resiprocate/pull/53>. Does
that sound correct @sgodin <https://github.com/sgodin> ?"

So now we have [2] as suggested but the "Accept" header is not being added
to the SUBSCRIBE messages.

Any help would be greatly appreciated.

[1] https://github.com/resiprocate/resiprocate/pull/52
[2]
https://github.com/resiprocate/resiprocate/blob/master/apps/telepathy/TelepathyMasterProfile.cxx#L103
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160824/22130fe7/attachment.htm>


More information about the resiprocate-devel mailing list