Internal Transfer to Closer not working.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Internal Transfer to Closer not working.

Postby enjay » Wed Dec 06, 2006 5:05 pm

Asterisk - 1.2.12.1
VICIDIAL - 2.0.1b2
Zaptel - 1.2.11 (ztdummy)

Have an inbound group called Closer
Have a campaign called CLOSER
dial level - 1 (ratio)
Allow Closers = Yes
Allowed In-Groups = Closer

have 1 agent in there and and resumed. When I do a transfer from another outgoing campaign it parks the user and plays something (your call is important) or something like that.. but never transfers to the agent.

Code: Select all
mysql> select * from vicidial_live_agents;
+---------------+------+---------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+
| live_agent_id | user | server_ip     | conf_exten | extension | status | lead_id | campaign_id | uniqueid  | callerid | channel | random_id | last_call_time      | last_update_time    | last_call_finish    | closer_campaigns | call_server_ip | user_level |
+---------------+------+---------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+
|           332 | 251  | 192.168.8.105 | 8600051    | IAX2/251  | PAUSED |       0 | 1337        | 0.0000000 |          |         |  12299154 | 2006-12-06 15:42:23 | 2006-12-06 15:49:15 | 2006-12-06 15:42:54 | NULL             |                |          1 |
|           331 | 252  | 192.168.8.105 | 8600052    | IAX2/252  | CLOSER |       0 | CLOSER      | 0.0000000 |          |         |  13377567 | 2006-12-06 15:29:21 | 2006-12-06 15:49:16 | 2006-12-06 15:29:21 |  Closer -        | NULL           |          5 |
+---------------+------+---------------+------------+-----------+--------+---------+-------------+-----------+----------+---------+-----------+---------------------+---------------------+---------------------+------------------+----------------+------------+
2 rows in set (0.01 sec)


extensions.conf
Code: Select all
exten => _90009.,1,Answer                  ; Answer the line
exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup


agiout shows
Code: Select all
2006-12-06 15:34:57|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi|Perl Environment Dump:
2006-12-06 15:42:54|agi-VDADcloser.agi|0|90009*CL_1337_L**2415**6026638055*251*-----START
2006-12-06 15:42:54|agi-VDADcloser.agi|callerID changed: J1206154254000002415
2006-12-06 15:42:54|agi-VDADcloser.agi|callerID changed: J1206154254000002415
2006-12-06 15:42:54|agi-VDADcloser.agi|callerID changed: J1206154254000002415
2006-12-06 15:42:54|agi-VDADcloser.agi|callerID changed: J1206154254000002415
2006-12-06 15:42:54|agi-VDADcloser.agi| -- accountcode =
2006-12-06 15:42:54|agi-VDADcloser.agi| -- callerid = 0000000000
2006-12-06 15:42:54|agi-VDADcloser.agi| -- calleridname = M1206154223000002415
2006-12-06 15:42:54|agi-VDADcloser.agi| -- callingani2 = 0
2006-12-06 15:42:54|agi-VDADcloser.agi| -- callingpres = 0
2006-12-06 15:42:54|agi-VDADcloser.agi| -- callingtns = 0
2006-12-06 15:42:54|agi-VDADcloser.agi| -- callington = 0
2006-12-06 15:42:54|agi-VDADcloser.agi| -- channel = IAX2/binfone-6
2006-12-06 15:42:54|agi-VDADcloser.agi| -- context = default
2006-12-06 15:42:54|agi-VDADcloser.agi| -- dnid = unknown
2006-12-06 15:42:54|agi-VDADcloser.agi| -- enhanced = 0.0
2006-12-06 15:42:54|agi-VDADcloser.agi| -- extension = 90009*CL_1337_L**2415**6026638055*251*
2006-12-06 15:42:54|agi-VDADcloser.agi| -- language = en
2006-12-06 15:42:54|agi-VDADcloser.agi| -- priority = 2
2006-12-06 15:42:54|agi-VDADcloser.agi| -- rdnis = unknown
2006-12-06 15:42:54|agi-VDADcloser.agi| -- request = agi-VDADcloser.agi
2006-12-06 15:42:54|agi-VDADcloser.agi| -- type = IAX2
2006-12-06 15:42:54|agi-VDADcloser.agi| -- uniqueid = 1165434174.99
2006-12-06 15:42:54|agi-VDADcloser.agi|AGI Variables: |1165434174.99|IAX2/binfone-6|90009*CL_1337_L**2415**6026638055*251*|IAX2|J1206154254000002415|
2006-12-06 15:42:54|agi-VDADcloser.agi|+++++ VDAD START : |2415|2006-12-06 15:42:54|
2006-12-06 15:42:54|agi-VDADcloser.agi||INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_numb
er,call_time,call_type,stage)  values('192.168.8.105','CL_1337_L','LIVE','2415','1165434174.99','J1206154254000002415','IAX2/binfone-6','1','6026638055','200
6-12-06 15:42:54','IN','LIVE-0')|
2006-12-06 15:42:54|agi-VDADcloser.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,proces
sed) values('2415','CL_1337_L','2006-12-06 15:42:54','1165434174','QUEUE','1','6026638055','VDCL','N')|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDCL : |2415|2415|insert to vicidial_closer_log
2006-12-06 15:42:54|agi-VDADcloser.agi||INSERT INTO vicidial_xfer_log (lead_id,campaign_id,call_date,phone_code,phone_number,user,closer) values('2415','CL_1
337_L','2006-12-06 15:42:54','1','6026638055','251','VDXL')|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDXL : |2415|2415|insert to vicidial_xfer_log
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2006-12-06 15:42:54|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2006-12-06 15:42:54|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2006-12-06 15:42:54|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2006-12-06 15:42:54|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|
2006-12-06 15:42:54|agi-VDADcloser.agi|NNNNN No available agent found
2006-12-06 15:42:54|agi-VDADcloser.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.8.105' and campaign_id = 'CL_13
37_L' and call_time < "2006-12-06 15:42:54" and lead_id != '2415';|
2006-12-06 15:42:54|agi-VDADcloser.agi|--    VDAD get agent: |0E0|CL_1337_L|UPDATE vicidial_live_agents set status='QUEUE',lead_id='2415',uniqueid='116543417
4.99', channel='IAX2/binfone-6', callerid='J1206154254000002415' where status IN('CLOSER','READY') and server_ip='192.168.8.105' and campaign_id LIKE "%CLOSE
R%" and closer_campaigns LIKE "% CL_1337_L %" and last_update_time > '19691231195955' order by last_call_finish limit 1;|


What am I missing?
enjay
 
Posts: 806
Joined: Mon Jun 19, 2006 12:40 pm
Location: Utah

Postby mflorell » Fri Dec 08, 2006 10:21 am

Do you have an in-group for CL_1337_L?

Do you have an agent logged into that in-group and ready?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 301 guests