- Code: Select all
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|Perl Environment Dump:
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|0|CID-----SO-----NAME-----786871XXXX-----Closer-----park----------999-----NAME
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- accountcode =
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callerid = 102
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- calleridname = Pruebas
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingani2 = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingpres = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callingtns = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- callington = 0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- channel = SIP/102-b7dc50b0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- context = numberplan-custom-1
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- dnid = 800
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- enhanced = 0.0
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- extension = 800
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- language = en
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- priority = 4
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- rdnis = unknown
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- request = agi-VDAD_ALL_inbound.agi
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- type = SIP
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi| -- uniqueid = 1210193965.42270
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|AGI Variables: |1210193965.42270|SIP/102-b7dc50b0|800|SIP|Closer|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|+++++ INBOUND CALL VDCL STARTED : |NAME|Closer-786871XXXX|2008-05-07 17:59:26
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||SELECT campaign_id FROM vicidial_campaigns where active='Y' and campaign_allow_inbound='Y';||
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|callerID changed: Y0507175926000000000
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('','NAME','2008-05-07 17:59:26','NAME','','786871XXXX','VDXL')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|-- VDXL : ||insert to vicidial_xfer_log
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('192.168.1.250','NAME','LIVE','','1210193965.42270','Y0507175926000000000','SIP/102-b7dc50b0','NAME','','2008-05-07 17:59:26','IN','LIVE-0')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('','NAME','2008-05-07 17:59:26','1210193966','QUEUE','NAME','','VDCL','N')|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|-- VDCL : ||insert to vicidial_closer_log
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.1.250' and campaign_id = 'NAME' and call_time < "2008-05-07 17:59:26" and lead_id != '';|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|-- VDAD get agent: |1|NAME|UPDATE vicidial_live_agents set status='QUEUE',lead_id='',uniqueid='1210193965.42270', channel='SIP/102-b7dc50b0', callerid='Y0507175926000000000' where status IN('CLOSER','READY') and server_ip='192.168.1.250' and campaign_id IN('NAME') and closer_campaigns LIKE "% NAME %" and last_update_time > '20080507175921' order by random_id limit 1;|
2008-05-07 17:59:26|agi-VDAD_ALL_inbound.agi|NNNNN No available local agent found
dial plan :
- Code: Select all
exten => _800,1,Ringing ; call ringing
exten => _800,2,Wait(1) ; Wait 1 second for CID delivery from PRI
exten => _800,3,Answer ; Answer the line
exten => _800,4,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----NAME-----786871XXXX-----Closer-----park----------999-----NAME)
exten => _800,5,Hangup
NAME is not a real name.
and the DID have XXXX in the end to ofuscate.
cheers.