Revision
15443
Author
brian
Date
2009-11-12 08:01:44 -0600 (Thu, 12 Nov 2009)

Log Message

 FSSCRIPTS-21

Modified Paths

Diff

Modified: freeswitch/trunk/debian/freeswitch.init (15442 => 15443)


--- freeswitch/trunk/debian/freeswitch.init	2009-11-12 12:32:08 UTC (rev 15442)
+++ freeswitch/trunk/debian/freeswitch.init	2009-11-12 14:01:44 UTC (rev 15443)
@@ -132,7 +132,7 @@
 	log_daemon_msg "Reloading $DESC" "$NAME"
 	do_reload
 	log_end_msg $?
-	#;;
+	;;
   restart)
 	#
 	# If the "reload" option is implemented then remove the

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c (15442 => 15443)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c	2009-11-12 12:32:08 UTC (rev 15442)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c	2009-11-12 14:01:44 UTC (rev 15443)
@@ -155,7 +155,6 @@
 	char network_ip[80];
 	int network_port = 0;
 	sofia_transport_t transport = sofia_glue_url2transport(sip->sip_contact->m_url);
-	char *pl;
 
 	sofia_glue_get_addr(nua_current_request(nua), network_ip,  sizeof(network_ip), &network_port);
 	/*
@@ -230,22 +229,7 @@
 				SIPTAG_EXPIRES_STR("300"), /* likewise, totally fake - FIXME XXX MTK */
 				/*  sofia_presence says something about needing TAG_IF(sticky, NUTAG_PROXY(sticky)) for NAT stuff? */
 				TAG_END());
-
-
 	
-	pl = switch_mprintf("<?xml version=\"1.0\"?>\n"
-						"<dialog-info xmlns=\"urn:ietf:params:xml:ns:dialog-info\" "
-						"version=\"0\" state=\"full\" entity=\"%s\"></dialog-info>\n", aor);
-	
-	nua_notify(nh,
-			   SIPTAG_SUBSCRIPTION_STATE_STR("active;expires=300"), /* XXX MTK FIXME - this is totally fake calculation */
-			   TAG_IF(route_uri, NUTAG_PROXY(route_uri)),
-			   SIPTAG_CONTENT_TYPE_STR("application/dialog-info+xml"),	/* could've just kept the type from the payload */
-			   SIPTAG_PAYLOAD_STR(pl),
-			   TAG_END());
-	
-	
-
 	switch_safe_free(aor);
 	switch_safe_free(subscriber);
 	switch_safe_free(route_uri);