[asterisk-commits] moy: branch moy/mfcr2-1.2 r154144 - /team/moy/mfcr2-1.2/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 3 23:05:10 CST 2008


Author: moy
Date: Mon Nov  3 23:05:10 2008
New Revision: 154144

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154144
Log:
changed ANI/DNIS display position when a call is offered

Modified:
    team/moy/mfcr2-1.2/channels/chan_zap.c

Modified: team/moy/mfcr2-1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2-1.2/channels/chan_zap.c?view=diff&rev=154144&r1=154143&r2=154144
==============================================================================
--- team/moy/mfcr2-1.2/channels/chan_zap.c (original)
+++ team/moy/mfcr2-1.2/channels/chan_zap.c Mon Nov  3 23:05:10 2008
@@ -1414,8 +1414,8 @@
 static void zt_r2_on_call_offered(openr2_chan_t *r2chan, const char *ani, const char *dnis, openr2_calling_party_category_t category)
 {
 	struct zt_pvt *p;
-	ast_log(LOG_NOTICE, "MFC/R2 call offered on chan %d. DNIS = %s, ANI = %s, Category = %s\n", 
-			openr2_chan_get_number(r2chan), dnis, ani ? ani : "(restricted)", openr2_proto_get_category_string(category));
+	ast_log(LOG_NOTICE, "MFC/R2 call offered on chan %d. ANI = %s, DNIS = %s, Category = %s\n", 
+			openr2_chan_get_number(r2chan), ani ? ani : "(restricted)", dnis, openr2_proto_get_category_string(category));
 	p = openr2_chan_get_client_data(r2chan);
 	/* if collect calls are not allowed and this is a collect call, reject it! */
 	if (!p->mfcr2_allow_collect_calls && category == OR2_CALLING_PARTY_CATEGORY_COLLECT_CALL) {




More information about the asterisk-commits mailing list