[asterisk-commits] russell: branch group/sip_session_timers r84365 - /team/group/sip_session_tim...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 2 08:42:00 CDT 2007


Author: russell
Date: Tue Oct  2 08:41:59 2007
New Revision: 84365

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84365
Log:
only formatting changes

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

Modified: team/group/sip_session_timers/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/sip_session_timers/channels/chan_sip.c?view=diff&rev=84365&r1=84364&r2=84365
==============================================================================
--- team/group/sip_session_timers/channels/chan_sip.c (original)
+++ team/group/sip_session_timers/channels/chan_sip.c Tue Oct  2 08:41:59 2007
@@ -5071,10 +5071,10 @@
 	p->session_modify = TRUE;
 	p->st_active = FALSE;			/* Session-Timers on/off */
   	p->st_interval = 0;			/* Session-Timers negotiated session refresh interval */
-    	p->st_schedid = -1;			/* Session-Timers ast_sched scheduler id */
-    	p->st_ref = 0;				/* Session-Timers session refresher */
-    	p->st_expirys = 0;			/* Session-Timers number of expirys */
-    	p->st_active_peer_ua = FALSE;		/* Session-Timers on/off in peer UA */
+	p->st_schedid = -1;			/* Session-Timers ast_sched scheduler id */
+	p->st_ref = 0;				/* Session-Timers session refresher */
+	p->st_expirys = 0;			/* Session-Timers number of expirys */
+	p->st_active_peer_ua = FALSE;		/* Session-Timers on/off in peer UA */
 	p->prefs = default_prefs;		/* Set default codecs for this call */
 
 	if (intended_method != SIP_OPTIONS)	/* Peerpoke has it's own system */
@@ -6572,7 +6572,7 @@
 	add_header(resp, "Supported", SUPPORTED_EXTENSIONS);
 
 	/* Add Session-Timers related headers if the feature is active for this session */
-	if(p->st_active == TRUE && p->st_active_peer_ua == TRUE) {
+	if (p->st_active == TRUE && p->st_active_peer_ua == TRUE) {
 		char se_hdr[256];
 		int se_len = 0;
 		se_len = sprintf (&se_hdr[se_len], "%d;refresher=%s", p->st_interval, strefresher2str(p->st_ref));
@@ -6713,7 +6713,7 @@
 	}
 
 	/* Add Session-Timers related headers if the feature is active for this session */
-	if(p->st_active == TRUE && p->st_active_peer_ua == TRUE) {
+	if (p->st_active == TRUE && p->st_active_peer_ua == TRUE) {
 		char se_hdr[256];
 		int se_len = 0;
 		se_len = sprintf (&se_hdr[se_len], "%d;refresher=%s", p->st_interval, strefresher2str(p->st_ref));
@@ -16179,7 +16179,6 @@
 
 	stop_media_flows(p); /* Immediately stop RTP, VRTP and UDPTL as applicable */
     stop_session_timer(p); /* Stop Session-Timer */
-
 
 	if (!ast_strlen_zero(get_header(req, "Also"))) {
 		ast_log(LOG_NOTICE, "Client '%s' using deprecated BYE/Also transfer method.  Ask vendor to support REFER instead\n",




More information about the asterisk-commits mailing list