I've got a problem with unswered calls not being marked NA when they are not answered. I've partially narrowed this down to Hangup() not getting executed after Dial() exits, thus DeadAGI(VD_hangup.agi) never gets called.
If I have no timeout specified in Dial() and allow Vicidial to end the call with the campaign timeout, I get "Spawn extension exited non-zero" and the dialplan if followed no further, it just dies. I also get DIALSTATUS=CANCEL in the "full" log.
If I specify a timeout in Dial() that is shorter than the campaign timeout, the dialplan is followed to Hangup(), but the call is still labeled as New in vicidial_list, user is VDAD, and call count 1.
The system is running Asterisk 1.2.12.1 and Astguiclient 2.01.