mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
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:
@@ -26604,7 +26604,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
|
|||||||
if (strstr(p->useragent, "Polycom")) {
|
if (strstr(p->useragent, "Polycom")) {
|
||||||
subscribed = XPIDF_XML; /* Older versions of Polycom firmware will claim pidf+xml, but really they only support xpidf+xml */
|
subscribed = XPIDF_XML; /* Older versions of Polycom firmware will claim pidf+xml, but really they only support xpidf+xml */
|
||||||
} else {
|
} else {
|
||||||
subscribed = XPIDF_XML; /* RFC 3863 format */
|
subscribed = PIDF_XML; /* RFC 3863 format */
|
||||||
}
|
}
|
||||||
} else if (strstr(accept, "application/dialog-info+xml")) {
|
} else if (strstr(accept, "application/dialog-info+xml")) {
|
||||||
subscribed = DIALOG_INFO_XML;
|
subscribed = DIALOG_INFO_XML;
|
||||||
|
|||||||
Reference in New Issue
Block a user