Wait a half a second before sending VMWI...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-04-04 02:00:19 +00:00
parent 7ae1d61120
commit 7d2624dd3c

View File

@@ -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);