When the chan_sip cleanup went in, a typo was included that caused some
subscriptions of non-Polycom phones to be limited to the same
capabilities as Polycom phones. This resolves the failures in the test
suite resulting from this regression.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370740
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (strstr(p->useragent, "Polycom")) {
subscribed = XPIDF_XML; /* Older versions of Polycom firmware will claim pidf+xml, but really they only support xpidf+xml */
} else {
- subscribed = XPIDF_XML; /* RFC 3863 format */
+ subscribed = PIDF_XML; /* RFC 3863 format */
}
} else if (strstr(accept, "application/dialog-info+xml")) {
subscribed = DIALOG_INFO_XML;