[asterisk-commits] mmichelson: branch group/CCSS r240319 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 14 18:20:22 CST 2010
Author: mmichelson
Date: Thu Jan 14 18:20:20 2010
New Revision: 240319
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=240319
Log:
Send the correct PUBLISH body when unsuspending monitoring
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=240319&r1=240318&r2=240319
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Thu Jan 14 18:20:20 2010
@@ -3778,7 +3778,6 @@
static int sip_cc_monitor_unsuspend(struct ast_cc_monitor *monitor, const int core_id)
{
struct sip_monitor_instance *monitor_instance = find_sip_monitor_instance(core_id);
- char pidf_body[SIPBUFSIZE];
if (!monitor_instance) {
return -1;
@@ -3786,7 +3785,7 @@
ast_assert(monitor_instance->suspension_entry != NULL);
- construct_pidf_body(CC_OPEN, pidf_body, sizeof(pidf_body));
+ construct_pidf_body(CC_OPEN, monitor_instance->suspension_entry->body, sizeof(monitor_instance->suspension_entry->body));
transmit_publish(monitor_instance->suspension_entry, SIP_PUBLISH_MODIFY, monitor_instance->notify_uri);
ao2_ref(monitor_instance, -1);
More information about the asterisk-commits
mailing list