[asterisk-commits] kmoore: trunk r370740 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 2 10:51:21 CDT 2012
Author: kmoore
Date: Thu Aug 2 10:51:17 2012
New Revision: 370740
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370740
Log:
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.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=370740&r1=370739&r2=370740
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Aug 2 10:51:17 2012
@@ -26604,7 +26604,7 @@
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;
More information about the asterisk-commits
mailing list