Page 1 of 1

Delay between answer and transfer

PostPosted: Tue Oct 09, 2007 12:46 pm
by shawno
Hi All,

I'm having an issue with the Ratio dial on a campaign. There seems to be a 3-4 second delay between amount of time the recipient picks up and the transfer to the agent. I'm not sure how to remedy this. Can anyone help?

PostPosted: Tue Oct 09, 2007 2:19 pm
by enjay
Are there multiple servers? If so is the time synced "exactly" between the two?

What is the load average when this happens? and what version of asterisk/zaptel/vicidial are you using?

what are you using for timing?

-Art

PostPosted: Wed Oct 10, 2007 11:08 am
by saqibali
i am also facing the same problem .

asterisk 1.2.18
zaptel 1.2.18
astguiclient 2.0.2

load average: 0.59, 0.54, 0.45

everything on one server .

PostPosted: Wed Oct 10, 2007 5:12 pm
by mflorell
zaptel timer?

Are you doing recording?

What kind of trunks are you using?

PostPosted: Wed Oct 10, 2007 11:17 pm
by saqibali
using TE420B card .
yes also doing recording.
using SIP trunks.

PostPosted: Thu Oct 11, 2007 12:40 am
by saqibali
zaptel timer is TE420b card with Audio codecs Gateway. Im using Zap Trunks for outbound and for local SIP is being used for agents. Yes im doing recording also. Please let me know if there is any other details that you require.


Thanks,

Saqib.

PostPosted: Thu Oct 11, 2007 11:34 am
by enjay
AGI output when this happens?

PostPosted: Thu Oct 11, 2007 12:45 pm
by saqibali
2007-10-11 13:30:12|call_log.agi|Perl Environment Dump:
2007-10-11 13:30:12|call_log.agi|0|919024628497
2007-10-11 13:30:12|call_log.agi|AGI Environment Dump:
2007-10-11 13:30:12|call_log.agi| -- accountcode =
2007-10-11 13:30:12|call_log.agi| -- callerid = 0000000000
2007-10-11 13:30:12|call_log.agi| -- calleridname = V1011133012000132131
2007-10-11 13:30:12|call_log.agi| -- callingani2 = 0
2007-10-11 13:30:12|call_log.agi| -- callingpres = 0
2007-10-11 13:30:12|call_log.agi| -- callingtns = 0
2007-10-11 13:30:12|call_log.agi| -- callington = 0
2007-10-11 13:30:12|call_log.agi| -- channel = Local/919024628497@default-2040,2
2007-10-11 13:30:12|call_log.agi| -- context = default
2007-10-11 13:30:12|call_log.agi| -- dnid = unknown
2007-10-11 13:30:12|call_log.agi| -- enhanced = 0.0
2007-10-11 13:30:12|call_log.agi| -- extension = 919024628497
2007-10-11 13:30:12|call_log.agi| -- language = en
2007-10-11 13:30:12|call_log.agi| -- priority = 1
2007-10-11 13:30:12|call_log.agi| -- rdnis = unknown
2007-10-11 13:30:12|call_log.agi| -- request = call_log.agi
2007-10-11 13:30:12|call_log.agi| -- type = Local
2007-10-11 13:30:12|call_log.agi| -- uniqueid = 1192123812.106807
2007-10-11 13:30:12|call_log.agi|AGI Variables: |1192123812.106807|Local/919024628497@default-2040,2|919024628497|Local|V1011133012000132131|
2007-10-11 13:30:12|call_log.agi|+++++ CALL LOG START : 2007-10-11 13:30:12
2007-10-11 13:30:12|call_log.agi||INSERT INTO call_log (uniqueid,channel,channel_group,type,server_ip,extension,number_dialed,start_time,start_epoch,end_time,end_epoch,length_in_sec,length_in_min,caller_code) values('1192123812.106807','Local/919024628497@default-2040,2','','Local','10.10.10.48','919024628497','','2007-10-11 13:30:12','1192123812','','','','','V1011133012000132131')|
2007-10-11 13:30:13|call_log.agi|Perl Environment Dump:
2007-10-11 13:30:13|call_log.agi|0|918076230314
2007-10-11 13:30:13|call_log.agi|AGI Environment Dump:
2007-10-11 13:30:13|call_log.agi| -- accountcode =
2007-10-11 13:30:13|call_log.agi| -- callerid = 0000000000
2007-10-11 13:30:13|call_log.agi| -- calleridname = V1011133012000112710
2007-10-11 13:30:13|call_log.agi| -- callingani2 = 0
2007-10-11 13:30:13|call_log.agi| -- callingpres = 0
2007-10-11 13:30:13|call_log.agi| -- callingtns = 0
2007-10-11 13:30:13|call_log.agi| -- callington = 0
2007-10-11 13:30:13|call_log.agi| -- channel = Local/918076230314@default-faad,2
2007-10-11 13:30:13|call_log.agi| -- context = default
2007-10-11 13:30:13|call_log.agi| -- dnid = unknown
2007-10-11 13:30:13|call_log.agi| -- enhanced = 0.0
2007-10-11 13:30:13|call_log.agi| -- extension = 918076230314
2007-10-11 13:30:13|call_log.agi| -- language = en
2007-10-11 13:30:13|call_log.agi| -- priority = 1
2007-10-11 13:30:13|call_log.agi| -- rdnis = unknown
2007-10-11 13:30:13|call_log.agi| -- request = call_log.agi
2007-10-11 13:30:13|call_log.agi| -- type = Local
2007-10-11 13:30:13|call_log.agi| -- uniqueid = 1192123813.106810
2007-10-11 13:30:13|call_log.agi|AGI Variables: |1192123813.106810|Local/918076230314@default-faad,2|918076230314|Local|V1011133012000112710|
2007-10-11 13:30:13|call_log.agi||INSERT INTO call_log (uniqueid,channel,channel_group,type,server_ip,extension,number_dialed,start_time,start_epoch,end_time,end_epoch,length_in_sec,length_in_min,caller_code) values('1192123813.106810','Local/918076230314@default-faad,2','','Local','10.10.10.48','918076230314','','2007-10-11 13:30:13','1192123813','','','','','V1011133012000112710')|
2007-10-11 13:30:13|VD_amd.agi|Perl Environment Dump:
2007-10-11 13:30:13|VD_amd.agi|0|8369
2007-10-11 13:30:13|VD_amd.agi|AGI Environment Dump:
2007-10-11 13:30:13|VD_amd.agi| -- accountcode =
2007-10-11 13:30:13|VD_amd.agi| -- callerid = 0000000000
2007-10-11 13:30:13|VD_amd.agi| -- calleridname = V1011132941000132043
2007-10-11 13:30:13|VD_amd.agi| -- callingani2 = 0
2007-10-11 13:30:13|VD_amd.agi| -- callingpres = 0
2007-10-11 13:30:13|VD_amd.agi| -- callingtns = 0
2007-10-11 13:30:13|VD_amd.agi| -- callington = 0
2007-10-11 13:30:13|VD_amd.agi| -- channel = Zap/23-1
2007-10-11 13:30:13|VD_amd.agi| -- context = default
2007-10-11 13:30:13|VD_amd.agi| -- dnid = unknown
2007-10-11 13:30:13|VD_amd.agi| -- enhanced = 0.0
2007-10-11 13:30:13|VD_amd.agi| -- extension = 8369
2007-10-11 13:30:13|VD_amd.agi| -- language = en
2007-10-11 13:30:13|VD_amd.agi| -- priority = 4
2007-10-11 13:30:13|VD_amd.agi| -- rdnis = unknown
2007-10-11 13:30:13|VD_amd.agi| -- request = VD_amd.agi
2007-10-11 13:30:13|VD_amd.agi| -- type = Zap
2007-10-11 13:30:13|VD_amd.agi| -- uniqueid = 1192123781.106579
2007-10-11 13:30:13|VD_amd.agi|AGI Variables: |1192123781.106579|Zap/23-1|8369|Zap|V1011132941000132043|
2007-10-11 13:30:13|VD_amd.agi|+++++ VD amd START : |132043|2007-10-11 13:30:13||4|V1011132941000132043|
2007-10-11 13:30:13|VD_amd.agi|AAAAA AMD results: |AMD_PERSON|AMD_HUMAN-300-300|
2007-10-11 13:30:13|VD_amd.agi| AMD exiting
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi|Perl Environment Dump:
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi|0|8369
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi|callerID changed: V1011132941000132043
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi|AGI Environment Dump:
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- accountcode =
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- callerid = 0000000000
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- calleridname = V1011132941000132043
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- callingani2 = 0
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- callingpres = 0
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- callingtns = 0
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- callington = 0
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- channel = Zap/23-1
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- context = default
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- dnid = unknown
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- enhanced = 0.0
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- extension = 8369
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- language = en
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- priority = 5
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- rdnis = unknown
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- request = agi-VDAD_LB_transfer.agi
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- type = Zap
2007-10-11 13:30:13|agi-VDAD_LB_transfer.agi| -- uniqueid = 1192123781.106579

PostPosted: Thu Oct 11, 2007 12:49 pm
by saqibali
Also i am getting the errors on CLI

Oct 11 12:35:57 WARNING[9983]: res_agi.c:247 launch_script: Unable to create toast pipe: Too many open files
Oct 11 13:29:16 WARNING[12348]: channel.c:565 ast_channel_alloc: Channel allocation failed: Can't create alert pipe!
Oct 11 13:29:16 WARNING[12348]: chan_local.c:555 local_new: Unable to allocate channel structure(s)
Oct 11 13:34:30 WARNING[30151]: res_agi.c:170 launch_netscript: Unable to create socket: Too many open files
Oct 11 13:38:05 NOTICE[15124]: manager.c:1457 accept_thread: Accept returned -1: Too many open files

there are 60 agents and dial level is 3-4.

PostPosted: Thu Oct 11, 2007 1:32 pm
by saqibali
as i alos do the ulimit -n 65535 .... but as the dialer dials mor than 100 calls these warnings showed up .

PostPosted: Fri Oct 12, 2007 10:27 am
by mflorell
You have to have the open file limit set before Asterisk is started or it will go with the default. This is a pain to set on some systems as a default.