fixed drop call transfer bug in AGI scripts
git-svn-id: svn://192.168.202.10@507 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -542,7 +542,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -592,7 +592,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -591,7 +591,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -531,7 +531,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -631,7 +631,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -684,7 +684,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -633,7 +633,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -523,7 +523,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -567,7 +567,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -577,7 +577,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -562,7 +562,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -578,7 +578,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -599,7 +599,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -575,7 +575,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -574,7 +574,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$cbc++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -508,7 +508,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -513,7 +513,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -562,7 +562,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
@@ -513,7 +513,8 @@ if ($drop_seconds < 1)
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
$VDADvoicemail_ext = "$aryA[0]";
|
||||
$VDADvoicemail_ext =~ s/\D//gi;
|
||||
$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";
|
||||
if (length($VDADvoicemail_ext)>0)
|
||||
{$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";}
|
||||
$rec_count++;
|
||||
}
|
||||
$sthA->finish();
|
||||
|
||||
Reference in New Issue
Block a user