[svn-commits] pabelanger: trunk r275307 - in /trunk: CHANGES apps/app_voicemail.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 9 14:32:52 CDT 2010


Author: pabelanger
Date: Fri Jul  9 14:32:47 2010
New Revision: 275307

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=275307
Log:
Include rdnis in msgXXXX.txt file.

(closes issue #17566)
Reported by: outcast
Patches:
      voicemail-rdnis.patch uploaded by outcast (license 1071)
Tested by: outcast

Modified:
    trunk/CHANGES
    trunk/apps/app_voicemail.c

Modified: trunk/CHANGES
URL: http://svnview.digium.com/svn/asterisk/trunk/CHANGES?view=diff&rev=275307&r1=275306&r2=275307
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Fri Jul  9 14:32:47 2010
@@ -169,6 +169,7 @@
    more information.
  * Voicemail now runs the externnotify script when pollmailboxes is activated and
    notices a change.
+ * Voicemail now includes rdnis within msgXXXX.txt file.
 
 Dialplan Functions
 ------------------

Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=275307&r1=275306&r2=275307
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Fri Jul  9 14:32:47 2010
@@ -5737,6 +5737,7 @@
 				"context=%s\n"
 				"macrocontext=%s\n"
 				"exten=%s\n"
+				"rdnis=%s\n"
 				"priority=%d\n"
 				"callerchan=%s\n"
 				"callerid=%s\n"
@@ -5747,6 +5748,7 @@
 				chan->context,
 				chan->macrocontext, 
 				chan->exten,
+				S_OR(chan->cid.cid_rdnis, "unknown"),
 				chan->priority,
 				chan->name,
 				ast_callerid_merge(callerid, sizeof(callerid), S_OR(chan->cid.cid_name, NULL), S_OR(chan->cid.cid_num, NULL), "Unknown"),




More information about the svn-commits mailing list