[asterisk-commits] marquis: branch group/pinana-publish-1.4 r297160 - /team/group/pinana-publish...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 1 14:00:20 CST 2010


Author: marquis
Date: Wed Dec  1 14:00:15 2010
New Revision: 297160

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=297160
Log:
Copy etag from response into epa_entry->entity_tag

Modified:
    team/group/pinana-publish-1.4/channels/chan_sip.c

Modified: team/group/pinana-publish-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinana-publish-1.4/channels/chan_sip.c?view=diff&rev=297160&r1=297159&r2=297160
==============================================================================
--- team/group/pinana-publish-1.4/channels/chan_sip.c (original)
+++ team/group/pinana-publish-1.4/channels/chan_sip.c Wed Dec  1 14:00:15 2010
@@ -9909,6 +9909,8 @@
 /*! \brief Handle a 200 OK to a published dialog-info */
 static void dlginfo_handle_publish_ok(struct sip_pvt *pvt, struct sip_request *req, struct sip_epa_entry *epa_entry)
 {
+	char *etag = get_header(req, "SIP-ETag");
+	ast_copy_string(epa_entry->entity_tag, etag, sizeof(epa_entry->entity_tag));
 	return;
 }
 




More information about the asterisk-commits mailing list