Page 1 of 1

DIsconnected AUTO status

PostPosted: Fri Mar 16, 2012 8:16 pm
by Crimson Jack
We've been using vici now for a month or so. works great..

the only thing I notice is that the dialer never automatically disposition anything as a disconnected AUTO status...

is this normal??

or is there something im missing?

PostPosted: Mon Mar 19, 2012 6:33 am
by DomeDan
Thats normal, you can check what statuses congestion and chanunavail got today and yesterday with this query:
Code: Select all
SELECT count(*) as 'Rows' , c.`dialstatus`,  c.`hangup_cause`, l.`status` as 'log status', i.`status` as 'list status' FROM `vicidial_carrier_log` c
JOIN vicidial_log l ON c.uniqueid=l.uniqueid
JOIN vicidial_list i ON i.lead_id=l.lead_id
WHERE c.`dialstatus` IN ('CONGESTION','CHANUNAVAIL') AND c.`call_date` >= DATE_SUB(NOW(), INTERVAL 1 DAY)
GROUP BY c.`dialstatus`, c.`hangup_cause`, l.`status`, i.`status` ORDER BY c.`dialstatus`, c.`hangup_cause`, l.`status`, i.`status`;

change DATE_SUB(NOW(), INTERVAL 1 DAY) to 7 if you want to view last 7 days or something, execution-time depends on how much activity you've had.
you can read about hangup cause codes here: http://www.voip-info.org/wiki/view/Aste ... esfromRFC3
I guess you will see that list status is NA

PostPosted: Sat Mar 24, 2012 10:34 am
by Crimson Jack
IM a bit of a newbie so itll take me a little while to digest that response...

But im curious if its normal for the system not to dispo a disconnected number automatically... then why is the dispo even there?

PostPosted: Mon Mar 26, 2012 2:33 am
by DomeDan
Thats a good question, I don't know.
I would like to see an answer to that too... but well I'm using it after I patched FastAGI_log.pl

PostPosted: Sat Apr 07, 2012 7:25 am
by Crimson Jack
DomeDan wrote:Thats a good question, I don't know.
I would like to see an answer to that too... but well I'm using it after I patched FastAGI_log.pl


It turns out that asterisk doesn't use any standard response code for auto disconnects... They can vary from phone carrier to phone carrier..

strange huh?

PostPosted: Wed Apr 11, 2012 9:00 pm
by GaD
Maybe it is there since the Sangoma CPA does detect disconnected numbers....