I tried this exten => 8365,1,Playback(sip-silence)
i.e;
;#### VDAD STANDARD TRANSFER ENTRIES ####
; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(
agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,6,Hangup
And it made the first call and it worked fine for the first call. but then other calls had the same problem.
Here is the log
XXXXXXXXXXXXX
Asterisk 1.2.27, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.27 currently running on vici (pid = 2319)
Verbosity is at least 21
-- Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
> Channel SIP/cc130-08aa4408 was answered.
-- Executing MeetMe("SIP/cc130-08aa4408", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/917203331234@default-af39,2", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/917203331234@default-af39,2", "SIP/SIPtrunk/1720333 4762||To") in new stack
-- Called SIPtrunk/17203331234
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/917203331234 @default-af39,2
-- SIP/SIPtrunk-08b02928 is ringing
== Refreshing DNS lookups.
-- SIP/SIPtrunk-08b02928 answered Local/917203331234@default-af39,2
> Channel Local/917203331234@default-af39,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/917203331234@default-af39,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/917203331234@default-af39,1", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/917203331234@default-af39,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 917203331234, 2) exited non-zero on 'Local/917203 334762@default-af39,2'
-- Executing DeadAGI("Local/917203331234@default-af39,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----15-----0") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----15-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/SIPtrunk-08b02928", "8600051|F") in new stack
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/SIPtrunk-08b0 2928'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/913031231234@default-b635,2", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/913031231234@default-b635,2", "SIP/SIPtrunk/1720333 4828||To") in new stack
-- Called SIPtrunk/13031231234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is ringing
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/913031231234 @default-b635,2
-- SIP/SIPtrunk-08b02928 answered Local/913031231234@default-b635,2
> Channel Local/913031231234@default-b635,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/913031231234@default-b635,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/913031231234@default-b635,1", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/913031231234@default-b635,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 913031231234, 2) exited non-zero on 'Local/917203 334828@default-b635,2'
-- Executing DeadAGI("Local/913031231234@default-b635,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----0") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----13-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8365, 5) exited non-zero on 'SIP/SIPtrunk-08b0292 8'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/917203331234@default-3350,2", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/917203331234@default-3350,2", "SIP/SIPtrunk/1720333 4762||To") in new stack
-- Called SIPtrunk/17203331234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/917203331234 @default-3350,2
-- SIP/SIPtrunk-08b02928 is ringing
-- SIP/SIPtrunk-08b02928 answered Local/917203331234@default-3350,2
> Channel Local/917203331234@default-3350,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/917203331234@default-3350,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/917203331234@default-3350,1", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/917203331234@default-3350,1", "agi-VDADtransfer.agi| 8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 917203331234, 2) exited non-zero on 'Local/917203 334762@default-3350,2'
-- Executing DeadAGI("Local/917203331234@default-3350,2", "agi://127.0.0.1:4 577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----14-----0") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----1 6-----ANSWER-----14-----0 completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/SIPtrunk-08b02928", "agi-VDADtransfer.agi|8365") in ne w stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8365, 5) exited non-zero on 'SIP/SIPtrunk-08b0292 8'
-- Executing DeadAGI("SIP/SIPtrunk-08b02928", "agi://127.0.0.1:4577/call_log --HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----0 --------------- completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/913031231234@default-968b,2", "agi://127.0.0.1:4577/ call_log") in new stack
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/913031231234@default-968b,2", "SIP/SIPtrunk/1720333 4828||To") in new stack
-- Called SIPtrunk/13031231234
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/SIPtrunk-08b02928 is making progress passing it to Local/913031231234 @default-968b,2
-- SIP/SIPtrunk-08b02928 is ringing
vici*CLI>