summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-08-02 15:51:17 +0000
committerKinsey Moore <kmoore@digium.com>2012-08-02 15:51:17 +0000
commite108a5777aa65da240a90d4dc153616a46e2b923 (patch)
treeb71117351288197f89a7567f88f1412138a1380e /channels/chan_sip.c
parent38f0ca423e5a9518412e2199725aaa360ebe81e3 (diff)
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
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c56c553dd..ac1a0e016 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;