diff options
author | Mark Spencer <markster@digium.com> | 2004-04-04 02:00:19 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-04-04 02:00:19 +0000 |
commit | 7d2624dd3c9b24c11a13d2e2ad2d169bf43b78d0 (patch) | |
tree | 139fde62217f1e6b3b650032c7b46903cd494208 /callerid.c | |
parent | 7ae1d61120ee55470d59a4876c769938dd625d4f (diff) |
Wait a half a second before sending VMWI...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'callerid.c')
-rwxr-xr-x | callerid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/callerid.c b/callerid.c index 40145d30b..ff4fdb520 100755 --- a/callerid.c +++ b/callerid.c @@ -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); |