diff --git a/agi/agi-VDAD_ALL_outbound.agi b/agi/agi-VDAD_ALL_outbound.agi index 22d40ca1..82b73bcf 100644 --- a/agi/agi-VDAD_ALL_outbound.agi +++ b/agi/agi-VDAD_ALL_outbound.agi @@ -718,6 +718,8 @@ if ($call_handle_method =~ /SURVEY/) checkresult($result); print "SET PRIORITY 1\n"; checkresult($result); + + exit; } if ($survey_method =~ /HANGUP/) @@ -732,6 +734,8 @@ if ($call_handle_method =~ /SURVEY/) } $AGI->hangup(); + + exit; } }