[asterisk-commits] mmichelson: branch group/CCSS r238588 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 8 11:44:10 CST 2010


Author: mmichelson
Date: Fri Jan  8 11:44:06 2010
New Revision: 238588

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238588
Log:
Prevent PUBLISH from being rejected with a 501


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=238588&r1=238587&r2=238588
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Fri Jan  8 11:44:06 2010
@@ -894,7 +894,7 @@
 	SIP_UPDATE,		/*!< Update a dialog. We can send UPDATE; but not accept it */
 	SIP_INFO,		/*!< Information updates during a session */
 	SIP_CANCEL,		/*!< Cancel an INVITE */
-	SIP_PUBLISH,		/*!< Not supported in Asterisk */
+	SIP_PUBLISH,		/*!< Supported for call-completion event package */
 	SIP_PING,		/*!< Not supported at all, no standard but still implemented out there */
 };
 
@@ -930,7 +930,7 @@
 	{ SIP_UPDATE,	 NO_RTP, "UPDATE", 	CAN_NOT_CREATE_DIALOG },
 	{ SIP_INFO,	 NO_RTP, "INFO", 	CAN_NOT_CREATE_DIALOG },
 	{ SIP_CANCEL,	 NO_RTP, "CANCEL", 	CAN_NOT_CREATE_DIALOG },
-	{ SIP_PUBLISH,	 NO_RTP, "PUBLISH", 	CAN_CREATE_DIALOG_UNSUPPORTED_METHOD },
+	{ SIP_PUBLISH,	 NO_RTP, "PUBLISH", 	CAN_CREATE_DIALOG },
 	{ SIP_PING,	 NO_RTP, "PING", 	CAN_CREATE_DIALOG_UNSUPPORTED_METHOD }
 };
 




More information about the asterisk-commits mailing list