Fix regression from r370636

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
This commit is contained in:
Kinsey Moore
2012-08-02 15:51:17 +00:00
parent 38f0ca423e
commit e108a5777a

View File

@@ -26604,7 +26604,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
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;