Hangup during AMDs
Posted: Wed Sep 12, 2012 10:38 am
Hello,
i've got some hangups during AMD detection, i'm not sure why, searching of the reason, cli shows only "received hangup".
is it possible to update vicidial_list.status to "AMD" before AMD detection starts?
i just want an addressupdate (status of lead_id) shortly after answer the channel.
something like this ... i know that i cant write it like below
exten => 8369,3,UPDATE vicidial_list SET status = 'AMD' where lead_id = '$lead_id'
why i want to this? example:
if u make a testcall with AMD active
your phone rings
you have to hangup after answer the call instant
-> no vicidial_log entry
-> no vicidial_list update
only one entry in call_log
if i update vicidial_list status to "AMD" i know that the call had a problem.
can u tell me if i can do that?
regards
philip
i've got some hangups during AMD detection, i'm not sure why, searching of the reason, cli shows only "received hangup".
is it possible to update vicidial_list.status to "AMD" before AMD detection starts?
i just want an addressupdate (status of lead_id) shortly after answer the channel.
something like this ... i know that i cant write it like below
exten => 8369,3,UPDATE vicidial_list SET status = 'AMD' where lead_id = '$lead_id'
- Code: Select all
; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,Playback(sip-silence)
exten => 8369,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,3,UPDATE vicidial_list SET status = 'AMD' where lead_id = '$lead_id'
exten => 8369,4,AMD(2000|2000|1000|5000|120|50|4|256)
exten => 8369,5,AGI(VD_amd.agi,${EXTEN})
exten => 8369,6,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8369,7,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8369,8,Hangup
why i want to this? example:
if u make a testcall with AMD active
your phone rings
you have to hangup after answer the call instant
-> no vicidial_log entry
-> no vicidial_list update
only one entry in call_log
if i update vicidial_list status to "AMD" i know that the call had a problem.
can u tell me if i can do that?
regards
philip