Wait a half a second before sending VMWI...
authorMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 02:00:19 +0000 (02:00 +0000)
committerMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 02:00:19 +0000 (02:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2609 65c4cc65-6c06-0410-ace0-fbb531ad65f3

callerid.c

index 40145d3..ff4fdb5 100755 (executable)
@@ -436,6 +436,9 @@ int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec)
                sum += msg[x];
        sum = (256 - (sum & 255));
        msg[len++] = sum;
+       /* Wait a half a second */
+       for (x=0;x<4000;x++)
+               PUT_BYTE(0x7f);
        /* Transmit 30 0x55's (looks like a square wave) for channel seizure */
        for (x=0;x<30;x++)
                PUT_CLID(0x55);