From e323f198482aec8ed7c9b20b713c24990f0071d7 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 12 Dec 2006 16:52:39 +0000 Subject: [PATCH] bug fix for transfer and closer agi scripts. fixes voicemail-at-drop problems git-svn-id: svn://192.168.202.10@433 3d104415-ff17-0410-8863-d5cf3c621b8a --- agi/agi-VDAD_LB_closer.agi | 2 +- agi/agi-VDAD_LB_closer_inbound.agi | 2 +- agi/agi-VDAD_LB_closer_inboundCID.agi | 2 +- agi/agi-VDAD_LB_transfer.agi | 2 +- agi/agi-VDAD_LO_closer.agi | 2 +- agi/agi-VDAD_LO_closer_inbound.agi | 2 +- agi/agi-VDAD_LO_transfer.agi | 2 +- agi/agi-VDADcloser.agi | 2 +- agi/agi-VDADcloser_PHONE.agi | 2 +- agi/agi-VDADcloser_inbound.agi | 2 +- agi/agi-VDADcloser_inboundANI.agi | 2 +- agi/agi-VDADcloser_inboundCID.agi | 2 +- agi/agi-VDADcloser_inboundCIDlookup.agi | 2 +- agi/agi-VDADcloser_inbound_5ID.agi | 2 +- agi/agi-VDADcloser_inbound_NOCID.agi | 2 +- agi/agi-VDADtransfer.agi | 2 +- agi/agi-VDADtransferBROADCAST.agi | 2 +- agi/agi-VDADtransferSURVEY.agi | 2 +- agi/agi-VDADtransferTEST.agi | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/agi/agi-VDAD_LB_closer.agi b/agi/agi-VDAD_LB_closer.agi index e35be91e..78ac08fd 100644 --- a/agi/agi-VDAD_LB_closer.agi +++ b/agi/agi-VDAD_LB_closer.agi @@ -523,7 +523,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDAD_LB_closer_inbound.agi b/agi/agi-VDAD_LB_closer_inbound.agi index e1e8da61..bb9486e1 100644 --- a/agi/agi-VDAD_LB_closer_inbound.agi +++ b/agi/agi-VDAD_LB_closer_inbound.agi @@ -573,7 +573,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDAD_LB_closer_inboundCID.agi b/agi/agi-VDAD_LB_closer_inboundCID.agi index d8474cb5..fe5e37ca 100644 --- a/agi/agi-VDAD_LB_closer_inboundCID.agi +++ b/agi/agi-VDAD_LB_closer_inboundCID.agi @@ -572,7 +572,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDAD_LB_transfer.agi b/agi/agi-VDAD_LB_transfer.agi index 3fb9739a..1cc94d10 100644 --- a/agi/agi-VDAD_LB_transfer.agi +++ b/agi/agi-VDAD_LB_transfer.agi @@ -490,7 +490,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; } diff --git a/agi/agi-VDAD_LO_closer.agi b/agi/agi-VDAD_LO_closer.agi index 6f0b9978..7221b118 100644 --- a/agi/agi-VDAD_LO_closer.agi +++ b/agi/agi-VDAD_LO_closer.agi @@ -612,7 +612,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDAD_LO_closer_inbound.agi b/agi/agi-VDAD_LO_closer_inbound.agi index d8a8e0fa..bd001b25 100644 --- a/agi/agi-VDAD_LO_closer_inbound.agi +++ b/agi/agi-VDAD_LO_closer_inbound.agi @@ -665,7 +665,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDAD_LO_transfer.agi b/agi/agi-VDAD_LO_transfer.agi index 6d062db8..226ba4e9 100644 --- a/agi/agi-VDAD_LO_transfer.agi +++ b/agi/agi-VDAD_LO_transfer.agi @@ -568,7 +568,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; } diff --git a/agi/agi-VDADcloser.agi b/agi/agi-VDADcloser.agi index 8bee824e..28f569f4 100644 --- a/agi/agi-VDADcloser.agi +++ b/agi/agi-VDADcloser.agi @@ -504,7 +504,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_PHONE.agi b/agi/agi-VDADcloser_PHONE.agi index 623c508b..b271f66d 100644 --- a/agi/agi-VDADcloser_PHONE.agi +++ b/agi/agi-VDADcloser_PHONE.agi @@ -548,7 +548,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inbound.agi b/agi/agi-VDADcloser_inbound.agi index 82bf17a5..d56a3492 100644 --- a/agi/agi-VDADcloser_inbound.agi +++ b/agi/agi-VDADcloser_inbound.agi @@ -558,7 +558,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inboundANI.agi b/agi/agi-VDADcloser_inboundANI.agi index 25afd55c..3c3f5740 100644 --- a/agi/agi-VDADcloser_inboundANI.agi +++ b/agi/agi-VDADcloser_inboundANI.agi @@ -543,7 +543,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inboundCID.agi b/agi/agi-VDADcloser_inboundCID.agi index 7624750e..b2a9961e 100644 --- a/agi/agi-VDADcloser_inboundCID.agi +++ b/agi/agi-VDADcloser_inboundCID.agi @@ -559,7 +559,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inboundCIDlookup.agi b/agi/agi-VDADcloser_inboundCIDlookup.agi index 46edb341..f8ea922d 100644 --- a/agi/agi-VDADcloser_inboundCIDlookup.agi +++ b/agi/agi-VDADcloser_inboundCIDlookup.agi @@ -580,7 +580,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inbound_5ID.agi b/agi/agi-VDADcloser_inbound_5ID.agi index 1c961b7b..4a02d49b 100644 --- a/agi/agi-VDADcloser_inbound_5ID.agi +++ b/agi/agi-VDADcloser_inbound_5ID.agi @@ -556,7 +556,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADcloser_inbound_NOCID.agi b/agi/agi-VDADcloser_inbound_NOCID.agi index dea0a349..8f58aa6d 100644 --- a/agi/agi-VDADcloser_inbound_NOCID.agi +++ b/agi/agi-VDADcloser_inbound_NOCID.agi @@ -555,7 +555,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($drop_message=='Y') + if ($drop_message =~ /Y/) { $DROPexten = "$drop_exten"; } diff --git a/agi/agi-VDADtransfer.agi b/agi/agi-VDADtransfer.agi index 35757247..4eccf3a5 100644 --- a/agi/agi-VDADtransfer.agi +++ b/agi/agi-VDADtransfer.agi @@ -466,7 +466,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; } diff --git a/agi/agi-VDADtransferBROADCAST.agi b/agi/agi-VDADtransferBROADCAST.agi index 76bec373..8a2318cf 100644 --- a/agi/agi-VDADtransferBROADCAST.agi +++ b/agi/agi-VDADtransferBROADCAST.agi @@ -472,7 +472,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; } diff --git a/agi/agi-VDADtransferSURVEY.agi b/agi/agi-VDADtransferSURVEY.agi index 573f8e47..6d888ae1 100644 --- a/agi/agi-VDADtransferSURVEY.agi +++ b/agi/agi-VDADtransferSURVEY.agi @@ -521,7 +521,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; } diff --git a/agi/agi-VDADtransferTEST.agi b/agi/agi-VDADtransferTEST.agi index 485268fa..e81bddf0 100644 --- a/agi/agi-VDADtransferTEST.agi +++ b/agi/agi-VDADtransferTEST.agi @@ -472,7 +472,7 @@ if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - if ($safe_harbor_message=='Y') + if ($safe_harbor_message =~ /Y/) { $DROPexten = "$safe_harbor_exten"; }