[asterisk-commits] kharwell: branch 12 r402265 - in /branches/12: channels/ res/

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


Author: kharwell
Date: Wed Oct 30 12:52:55 2013
New Revision: 402265

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

(issue ASTERISK-22777)
Reported by: Matt Jordan

Modified:
    branches/12/channels/chan_pjsip.c
    branches/12/res/res_pjsip_messaging.c

Modified: branches/12/channels/chan_pjsip.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/channels/chan_pjsip.c?view=diff&rev=402265&r1=402264&r2=402265
==============================================================================
--- branches/12/channels/chan_pjsip.c (original)
+++ branches/12/channels/chan_pjsip.c Wed Oct 30 12:52:55 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: branches/12/res/res_pjsip_messaging.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip_messaging.c?view=diff&rev=402265&r1=402264&r2=402265
==============================================================================
--- branches/12/res/res_pjsip_messaging.c (original)
+++ branches/12/res/res_pjsip_messaging.c Wed Oct 30 12:52:55 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