aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-04 02:00:19 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-04 02:00:19 +0000
commit8cc7818059cba502b59fe577ab87c6a97029da85 (patch)
tree139fde62217f1e6b3b650032c7b46903cd494208
parent3eedc4f5ee35f2ce818d4fa90b455af17fd30798 (diff)
Wait a half a second before sending VMWI...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2609 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xcallerid.c3
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);