[svn-commits] rmudgett: branch rmudgett/cid r271057 - /team/rmudgett/cid/funcs/func_callerid.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 16 18:12:44 CDT 2010


Author: rmudgett
Date: Wed Jun 16 18:12:41 2010
New Revision: 271057

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=271057
Log:
Forgot to remove the dnid-subaddr tokens from CALLERID() write.

Modified:
    team/rmudgett/cid/funcs/func_callerid.c

Modified: team/rmudgett/cid/funcs/func_callerid.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/cid/funcs/func_callerid.c?view=diff&rev=271057&r1=271056&r2=271057
==============================================================================
--- team/rmudgett/cid/funcs/func_callerid.c (original)
+++ team/rmudgett/cid/funcs/func_callerid.c Wed Jun 16 18:12:41 2010
@@ -1059,8 +1059,8 @@
 			 * Accept subaddr[ess]
 			 * dnid-subaddr...
 			 */
-			status = party_subaddress_write(&dialed.subaddress, member.argc, member.argv,
-				value);
+			status = party_subaddress_write(&dialed.subaddress, member.argc - 2,
+				member.argv + 2, value);
 			switch (status) {
 			case ID_FIELD_VALID:
 				ast_party_dialed_set(&chan->dialed, &dialed);




More information about the svn-commits mailing list