Page 1 of 1

Problems with consultative transfer

PostPosted: Thu Aug 10, 2006 3:49 pm
by mtancoff
I´m making great advances with vicidial, thanx for your help.

I´m facing problems with consultative transfer. The blind transfer works Ok, but when the agents introduces "1100" (This is an IAX extension, not logued into Vicidial neither AStguiclient) and clock "dial with customer", the message "Customer Hungup zap1/1" appears.

Of course, this works ok with blind transfer, transferring to the same "1100" extension.

From there on everything gets mixed up, since the agent terminal shows like waiting for some other call, but still hear´s the conversation, and there is no way he can leave it, not even trying to log-out ("todavía una llamada activa")

I´m using the spanish translation.

I´m posting the screen (Hope is not too long):

|INSERT INTO vicidial_auto_calls values('','127.0.0.1','CL_ENTRANTES','LIVE','155','1155242670.2','Y0810174432000000155','Zap/1-1','1','1600','2006-08-10 17:44:32','IN')|

|INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('155','CL_ENTRANTES','2006-08-10 17:44:32','1155242672','QUEUE','1','1600','VDCL','N')|
-- VDCL : |155|insert to vicidial_closer_log


|SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='127.0.0.1' and campaign_id = 'CL_ENTRANTES' and call_time < "2006-08-10 17:44:32" and lead_id != '155';|
-- VDAD get agent: |360|0|1|update of vla table: CL_ENTRANTES|127.0.0.1
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='155',uniqueid='1155242670.2', channel='Zap/1-1', callerid='Y0810174432000000155' where status IN('CLOSER','READY') and server_ip='127.0.0.1' and campaign_id LIKE "%CLOSER%" and closer_campaigns LIKE "% CL_ENTRANTES %" and last_update_time > '19691231205955' order by last_call_time limit 1;|


|SELECT conf_exten,user,extension FROM vicidial_live_agents where status = 'QUEUE' and server_ip='127.0.0.1' and campaign_id LIKE "%CLOSER%" and callerid='Y0810174432000000155' and channel='Zap/1-1' order by last_call_time limit 1;|
-- VDCL XFER : |1|update of vac table: Y0810174432000000155
|UPDATE vicidial_auto_calls set status='CLOSER' where callerid='Y0810174432000000155';|
-- closer log : |1|update of vcl table: 155
|UPDATE vicidial_closer_log set user='1600' where lead_id='155' order by call_date desc limit 1;|

exiting the VDAD app, transferring call to 8600051
FAIL (unexpected result '')
FAIL (unexpected result '')
FAIL (unexpected result '')

XXXXXXXXXX VDAD transferred: start|stop 2006-08-10 17:44:32|2006-08-10 17:44:32
-- AGI Script agi-VDADcloser_inboundCID.agi completed, returning 0
-- Executing MeetMe("Zap/1-1", "8600051") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/1100@default-b683,2", "call_log.agi|1100") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
+++++ CALL LOG START : |1155242716.4|Local/1100@default-b683,2|1100|Local|DVagcW11552426801600|2006-08-10 17:45:16
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/1100@default-b683,2", "IAX2/1100|30|to") in new stack
-- Called 1100
-- Call accepted by 200.68.82.185 (format gsm)
-- Format for call is gsm
-- IAX2/1100-7 is ringing
-- IAX2/1100-7 answered Local/1100@default-b683,2
> Channel Local/1100@default-b683,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing MeetMe("Local/1100@default-b683,1", "8600051") in new stack
== Spawn extension (default, 1100, 2) exited non-zero on 'Local/1100@default-b683,2'
-- Executing DeadAGI("Local/1100@default-b683,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
+++++ CALL LOG HUNGUP: |1155242716.4|Local/1100@default-b683,2|h|2006-08-10 17:45:28|min: 0.20|
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/1100@default-b683,2", "VD_hangup.agi|PRI-----NODEBUG-----16-----ANSWER-----12-----0") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi

PostPosted: Thu Aug 10, 2006 4:28 pm
by mflorell
dialing with a customer was never really designed to work with a local extension. You can try new beta consultative transfers within VICIDIAL (with both fronter and closer on the call if they are both logged into vicidial.php) but only using the SVN 2-X code(since I just added this feature).

I will add a note to the TODO to look at dial-with-customer to Local extensions and see if there is an easy way to fix.

If you get a few minutes please post your bug to the vicidial issue tracker:
http://www.eflo.net/VICIDIALmantis

PostPosted: Thu Aug 10, 2006 5:19 pm
by mtancoff
Posted in bug tracker.

This means that consultative transfers only will be available for ZAP channels?

PostPosted: Thu Aug 10, 2006 8:16 pm
by mflorell
Thanks,

Actually they work fine for Zap/IAX2/SIP channels currently. That feature was written for external server use initially.

PostPosted: Fri Aug 11, 2006 12:59 pm
by mtancoff
Ok that means that I can make consultative transfers with any other SIP/Iax/ZAP channels trough other servers/devices such SIP carriers, cisco managers, etc?

Thanx!

PostPosted: Fri Aug 11, 2006 1:52 pm
by mflorell
Through outside lines yes, not sure if SCCP would work or not since I've never tried it, but we use it on a daily basis with Zap and IAX2 channels.

PostPosted: Fri Aug 11, 2006 2:27 pm
by mtancoff
Ok I´ll and let you know

PostPosted: Wed Sep 06, 2006 3:31 pm
by mflorell
I have made some code changes, please see tracker issue for more details:
http://www.eflo.net/VICIDIALmantis/view.php?id=13

Please test and report back if this works for you.