[asterisk-commits] moy: branch 1.8 r309720 - /branches/1.8/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Mar 5 11:44:37 CST 2011


Author: moy
Date: Sat Mar  5 11:44:30 2011
New Revision: 309720

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309720
Log:
Fix caller id passed to openr2_chan_make_call

(closes issue #18894)
Reported by: malufrj
Tested by: moy

Modified:
    branches/1.8/channels/chan_dahdi.c

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=309720&r1=309719&r2=309720
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Sat Mar  5 11:44:30 2011
@@ -5344,7 +5344,7 @@
 			c = "";
 		}
 		if (!p->hidecallerid) {
-			l = ast->caller.id.number.valid ? ast->caller.id.number.str : NULL;
+			l = ast->connected.id.number.valid ? ast->connected.id.number.str : NULL;
 		} else {
 			l = NULL;
 		}




More information about the asterisk-commits mailing list