/ fixed un-initilized variable
authorBen Kramer <bkramer@voicetronix.com.au>
Wed, 5 Jan 2005 00:33:40 +0000 (00:33 +0000)
committerBen Kramer <bkramer@voicetronix.com.au>
Wed, 5 Jan 2005 00:33:40 +0000 (00:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4665 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index a65411b..d338dfa 100755 (executable)
@@ -1270,6 +1270,8 @@ struct vpb_pvt *mkif(int board, int channel, int mode, float txgain, float rxgai
 
        tmp->group = group;
 
+       /* Initilize dtmf caller ID position variable */
+       tmp->dtmf_caller_pos=0;
 
        strncpy(tmp->language, language, sizeof(tmp->language) - 1);
        strncpy(tmp->context, context, sizeof(tmp->context) - 1);