[svn-commits] mjordan: trunk r415116 - in /trunk: ./ res/res_pjsip_session.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 4 09:12:03 CDT 2014


Author: mjordan
Date: Wed Jun  4 09:12:00 2014
New Revision: 415116

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=415116
Log:
res_pjsip_session: Add debug statement for session refreshes

This small patch adds a debug level 3 statement indicating how a session
refresh is being sent - either as a re-INVITE or as an UPDATE - and where
the session refresh is going.
........

Merged revisions 415115 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_session.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_pjsip_session.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_session.c?view=diff&rev=415116&r1=415115&r2=415116
==============================================================================
--- trunk/res/res_pjsip_session.c (original)
+++ trunk/res/res_pjsip_session.c Wed Jun  4 09:12:00 2014
@@ -777,6 +777,9 @@
 			return -1;
 		}
 	}
+	ast_debug(3, "Sending session refresh SDP via %s to %s\n",
+		method == AST_SIP_SESSION_REFRESH_METHOD_INVITE ? "re-INVITE" : "UPDATE",
+		ast_sorcery_object_get_id(session->endpoint));
 	ast_sip_session_send_request_with_cb(session, tdata, on_response);
 	return 0;
 }




More information about the svn-commits mailing list