mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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:
@@ -436,6 +436,9 @@ int vmwi_generate(unsigned char *buf, int active, int mdmf, int codec)
|
|||||||
sum += msg[x];
|
sum += msg[x];
|
||||||
sum = (256 - (sum & 255));
|
sum = (256 - (sum & 255));
|
||||||
msg[len++] = sum;
|
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 */
|
/* Transmit 30 0x55's (looks like a square wave) for channel seizure */
|
||||||
for (x=0;x<30;x++)
|
for (x=0;x<30;x++)
|
||||||
PUT_CLID(0x55);
|
PUT_CLID(0x55);
|
||||||
|
Reference in New Issue
Block a user