We have installed goautodial behind 2 IPBXs, each ipbx connected to a different provider.
Manual dialling thru both pbxs works.However, using the same campaign settings, ratio dial drops calls after 2secs thru one provider (P1) but works on the other (P2). On P1, the output of agiout.2011-04-05 looks like this :
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|callerID changed: V0405112950000000090
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- accountcode =
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- callerid = 0000000000
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- calleridname = V0405112950000000090
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- callington = 0
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- channel = Local/0782120838@default-9daf,1
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- context = default
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- language = en
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- priority = 3
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- type = Local
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1301995791.63
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|AGI Variables: |1301995791.63|Local/0782120838@default-9daf,1|8368|Local|V0405112950000000090|V0405112950000000090|3|
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |90|2011-04-05 11:30:01|1.4.27.1-vici|3|
2011-04-05 11:30:01|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 3
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|callerID changed: V0405112950000000090
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- accountcode =
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- callerid = unknown
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- calleridname = V0405112950000000090
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- callington = 0
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- channel = Local/0782120838@default-9daf,1
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- context = default
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- language = en
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- priority = 4
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- type = Local
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1301995791.63
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|AGI Variables: |1301995791.63|Local/0782120838@default-9daf,1|8368|Local|V0405112950000000090|V0405112950000000090|4|
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |90|2011-04-05 11:30:03|1.4.27.1-vici|4|
2011-04-05 11:30:03|agi-VDAD_ALL_outbound.agi|+++++ VDAD START LOCAL CHANNEL: EXITING- 4
On P2 the output looks like this :
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|Perl Environment Dump:
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|0|NORMAL-----LB
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|callerID changed: V0405113744000000091
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|AGI Environment Dump:
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- accountcode =
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- callerid = 0000000000
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- calleridname = V0405113744000000091
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- callingani2 = 0
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- callingpres = 0
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- callingtns = 0
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- callington = 0
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- channel = SIP/lcr-00000015
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- context = default
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- dnid = unknown
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- enhanced = 0.0
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- extension = 8368
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- language = en
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- priority = 3
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- rdnis = unknown
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- request = agi-VDAD_ALL_outbound.agi
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- type = SIP
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi| -- uniqueid = 1301996264.69
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|AGI Variables: |1301996264.69|SIP/lcr-00000015|8368|SIP|V0405113744000000091|V0405113744000000091|3|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|+++++ VDAD START : |91|2011-04-05 11:37:51|1.4.27.1-vici|3|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_live_agents where callerid='V0405113744000000091';|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|0|SELECT count(*) FROM vicidial_auto_calls where callerid='V0405113744000000091' and status IN('LIVE','XFER');|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|-- VDAD : |1|update of vac table: V0405113744000000091
|UPDATE vicidial_auto_calls set uniqueid='1301996264.69', channel='SIP/lcr-00000015',status='LIVE',stage='LIVE-0' where callerid='V0405113744000000091' order by call_time desc limit 1;|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi||UPDATE vicidial_list set status='PU' where lead_id='91' and status NOT IN('CALLBK');|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|-- VDAD vicidial_list PU update: |1|1301996264.69|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi||INSERT INTO vicidial_log (uniqueid,lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed,alt_dial,list_id) values('1301996264.69','91','801','2011-04-05 11:37:51','1301996271','QUEUE','1','0782120838','VDAD','N','NONE','8001')|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|-- VDAD : |91|91|insert to vicidial_log: 1301996264.69
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = '801' and call_time < "2011-04-05 11:37:44" and lead_id != '91';|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|-- VDAD get agent: |1|update of vla table: 801|10.18.10.61
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='91',uniqueid='1301996264.69', channel='SIP/lcr-00000015', call_server_ip='10.18.10.61', callerid='V0405113744000000091',comments='AUTO' where status = 'READY' and lead_id<1 and campaign_id='801' and last_update_time > '20110405113746' order by last_call_finish limit 1;|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi||SELECT conf_exten,user,extension,server_ip FROM vicidial_live_agents where status IN('QUEUE','INCALL') and campaign_id='801' and callerid='V0405113744000000091' and channel='SIP/lcr-00000015' order by last_call_time limit 1;|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|-- VDAD XFER REMOTE: |1|update of vac table: V0405113744000000091
|UPDATE vicidial_auto_calls set status='XFER', stage='XFER-0' where callerid='V0405113744000000091';|
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|exiting the VDAD app, transferring call to 010*018*010*061*8600001
2011-04-05 11:37:51|agi-VDAD_ALL_outbound.agi|XXXXXXXXXX VDAD transferred: start|stop 2011-04-05 11:37:51|2011-04-05 11:37:51
Using P1, the call rings on my cell, i answer and its quiet, then it cuts after 2 secs. Of concern is the differences in the channels in the 2 extracts above.
The Master csv extracts are below.
Master.csv on P1
""V0405112950000000090" <0000000000>","0000000000","8368","default","Local/0782120838@default-9daf,1","","Hangup","","2011-04-05 11:29:51","2011-04-05 11:30:01","2011-04-05 11:30:04","13","3","ANSWERED","DOCUMENTATION","","1301995791.63",""
""V0405112950000000090" <0000000000>","0000000000","0782120838","default","Local/0782120838@default-9daf,2","SIP/lcr-00000013","Dial","SIP/lcr/0782120838||tTor","2011-04-05 11:29:51","2011-04-05 11:30:01","2011-04-05 11:30:04","13","3","ANSWERED","DOCUMENTATION","","1301995791.64",""
Master.csv on P2
""V0405113744000000091" <0000000000>","0000000000","0782120838","default","Local/0782120838@default-1ed7,2","SIP/lcr-00000015","Dial","SIP/lcr/0782120838||tTor","2011-04-05 11:37:44","2011-04-05 11:37:51","2011-04-05 11:37:51","7","0","ANSWERED","DOCUMENTATION","","1301996264.70",""
Please advice, seems this is also happening with a Vicidial install.