[asterisk-commits] kharwell: trunk r402266 - in /trunk: ./ channels/ res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 30 12:54:28 CDT 2013


Author: kharwell
Date: Wed Oct 30 12:54:26 2013
New Revision: 402266

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402266
Log:
pjsip_messaging: Added debug for in dialog messaging

(issue ASTERISK-22777)
Reported by: Matt Jordan
........

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

Modified:
    trunk/   (props changed)
    trunk/channels/chan_pjsip.c
    trunk/res/res_pjsip_messaging.c

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

Modified: trunk/channels/chan_pjsip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_pjsip.c?view=diff&rev=402266&r1=402265&r2=402266
==============================================================================
--- trunk/channels/chan_pjsip.c (original)
+++ trunk/channels/chan_pjsip.c Wed Oct 30 12:54:26 2013
@@ -1814,6 +1814,8 @@
 	if (!data->text) {
 		return 0;
 	}
+
+	ast_debug(3, "Sending in dialog SIP message\n");
 
 	ast_sip_create_request("MESSAGE", data->session->inv_session->dlg, data->session->endpoint, NULL, &tdata);
 	ast_sip_add_body(tdata, &body);

Modified: trunk/res/res_pjsip_messaging.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_messaging.c?view=diff&rev=402266&r1=402265&r2=402266
==============================================================================
--- trunk/res/res_pjsip_messaging.c (original)
+++ trunk/res/res_pjsip_messaging.c Wed Oct 30 12:54:26 2013
@@ -642,6 +642,8 @@
 		return 0;
 	}
 
+	ast_debug(3, "Received in dialog SIP message\n");
+
 	memset(&f, 0, sizeof(f));
 	f.frametype = AST_FRAME_TEXT;
 	f.subclass.integer = 0;




More information about the asterisk-commits mailing list