How to reduce agent wait time ? how to speed up the calls ?

All installation and configuration problems and questions

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

Re: How to reduce agent wait time ? how to speed up the call

Postby urmi.l » Wed Aug 14, 2013 8:02 am

Below is my dialplan. I have already added AGI funcation and also posted my dialplan above in this thread.
exten => _985.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _985.,2,Dial(SIP/00${EXTEN:3}@SIP-PROVIDER,,tTo)
exten => _985.,3,Hangup


What else might be wrong ?
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How to reduce agent wait time ? how to speed up the call

Postby DomeDan » Wed Aug 14, 2013 8:07 am

Oh, then look in the logs in /var/log/astguiclient/ and find out why the call log aint being written
take a look at the mysql log and error log too
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to reduce agent wait time ? how to speed up the call

Postby urmi.l » Wed Aug 14, 2013 8:32 am

Let me inform you that I have installed goautodial ce 3.0. My calling works fine. Right now there are 5 agents doing outbound calling. No issue except wait time. Also, I dont found any error or log having issues. But yes my vicidial_carrier_log table is not getting updated.
:( :( :(

Below is my mysql.log
130705 21:49:58 [Note] /usr/libexec/mysqld: Normal shutdown

130705 21:49:58 InnoDB: Starting shutdown...
130705 21:49:59 InnoDB: Shutdown completed; log sequence number 0 45811
130705 21:49:59 [Note] /usr/libexec/mysqld: Shutdown complete

130705 21:49:59 mysqld ended

130705 21:52:21 mysqld started
130705 21:52:22 InnoDB: Started; log sequence number 0 45811
130705 21:52:22 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 21:52:22 [Warning] 'user' entry '@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 21:52:22 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
130705 22:18:01 [Note] /usr/libexec/mysqld: Normal shutdown

130705 22:18:03 InnoDB: Starting shutdown...
130705 22:18:03 InnoDB: Shutdown completed; log sequence number 0 45821
130705 22:18:03 [Note] /usr/libexec/mysqld: Shutdown complete

130705 22:18:03 mysqld ended

130705 22:20:27 mysqld started
130705 22:20:28 InnoDB: Started; log sequence number 0 45821
130705 22:20:28 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 22:20:28 [Warning] 'user' entry '@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 22:20:28 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
130705 22:30:59 [Note] /usr/libexec/mysqld: Normal shutdown

130705 22:31:01 InnoDB: Starting shutdown...
130705 22:31:02 InnoDB: Shutdown completed; log sequence number 0 45821
130705 22:31:02 [Note] /usr/libexec/mysqld: Shutdown complete

130705 22:31:02 mysqld ended

130705 22:31:03 mysqld started
130705 22:31:03 InnoDB: Started; log sequence number 0 45821
130705 22:31:03 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 22:31:03 [Warning] 'user' entry '@localhost.localdomain' ignored in --skip-name-resolve mode.
130705 22:31:03 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
130705 23:31:02 [Note] /usr/libexec/mysqld: Normal shutdown

130705 23:31:04 InnoDB: Starting shutdown...
130705 23:31:05 InnoDB: Shutdown completed; log sequence number 0 50411
130705 23:31:05 [Note] /usr/libexec/mysqld: Shutdown complete

130705 23:31:05 mysqld ended

130705 23:33:31 mysqld started
130705 23:33:31 InnoDB: Started; log sequence number 0 50411
130705 23:33:31 [Warning] 'user' entry 'root@localhost.localdomain' ignored in --skip-name-resolve mode.
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How to reduce agent wait time ? how to speed up the call

Postby DomeDan » Wed Aug 14, 2013 8:37 am

post the asterisk CLI of a normal call to prove that the AGI script is executed

"I dont found any error or log having issues"
if you didn't find any log then you have probably disable logging or something, are you sure there are not files in /var/log/astguiclient/ ?
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to reduce agent wait time ? how to speed up the call

Postby urmi.l » Wed Aug 14, 2013 9:07 am

I do have logs But i dont found any logs having issues. I mean there are logs but i dont found any thing wrong over there.

below is my cli log :
[Aug 13 04:03:36] VERBOSE[27951] logger.c: -- Executing [h@default:1] DeadAGI("Local/985513279@default-14c1,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[Aug 13 04:03:36] VERBOSE[27957] logger.c: == Manager 'sendcron' logged off from 127.0.0.1
[Aug 13 04:03:36] VERBOSE[27958] logger.c: == Spawn extension (default, 985578501, 3) exited non-zero on 'Local/985578501@default-9370,2'
[Aug 13 04:03:36] VERBOSE[27958] logger.c: -- Executing [h@default:1] DeadAGI("Local/985578501@default-9370,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[Aug 13 04:03:37] VERBOSE[28408] logger.c: -- SIP/VOIP-00005f7f is ringing
[Aug 13 04:03:37] VERBOSE[27986] logger.c: -- SIP/VOIP-00005f79 answered Local/9856163416@default-73ee,2
[Aug 13 04:03:37] VERBOSE[27985] logger.c: > Channel Local/9856163416@default-73ee,1 was answered.
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- Executing [8369@default:1] Playback("Local/9856163416@default-73ee,1", "sip-silence") in new stack
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- <Local/9856163416@default-73ee,1> Playing 'sip-silence' (language 'en')
[Aug 13 04:03:37] WARNING[28410] file.c: Unexpected control subclass '-1'
[Aug 13 04:03:37] VERBOSE[27986] logger.c: -- Executing [h@default:1] DeadAGI("Local/9856163416@default-73ee,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----22-----0") in new stack
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- Executing [8369@default:2] AGI("SIP/VOIP-00005f79", "agi://127.0.0.1:4577/call_log") in new stack
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- Executing [8369@default:3] AMD("SIP/VOIP-00005f79", "2000|2000|1000|5000|120|50|4|256") in new stack
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: SIP/VOIP-00005f79 9665960848 (null) (Fmt: 64)
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: initialSilence [2000] greeting [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: Changed state to STATE_IN_SILENCE
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: Word detected. iWordsCount:1
[Aug 13 04:03:37] VERBOSE[27948] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: Changed state to STATE_IN_SILENCE
[Aug 13 04:03:37] VERBOSE[27951] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 13 04:03:37] VERBOSE[27958] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 13 04:03:37] VERBOSE[28410] logger.c: -- AMD: Word detected. iWordsCount:2
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- AMD: Changed state to STATE_IN_SILENCE
[Aug 13 04:03:38] VERBOSE[28406] logger.c: -- SIP/VOIP-00005f7e is ringing
[Aug 13 04:03:38] VERBOSE[28406] logger.c: -- SIP/VOIP-00005f7e is making progress passing it to Local/9853109459@default-bbec,2
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- AMD: Word detected. iWordsCount:3
[Aug 13 04:03:38] VERBOSE[27986] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --22-----0 completed, returning 0
[Aug 13 04:03:38] VERBOSE[27986] logger.c: == Spawn extension (default, 98596163416, 3) exited non-zero on 'Local/985163416@default-73ee,2'
[Aug 13 04:03:38] VERBOSE[28408] logger.c: -- SIP/VOIP-00005f7f is ringing
[Aug 13 04:03:38] VERBOSE[28404] logger.c: -- SIP/VOIP-00005f7d is ringing
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- AMD: Changed state to STATE_IN_SILENCE
[Aug 13 04:03:38] VERBOSE[28404] logger.c: -- SIP/VOIP-00005f7d is ringing
[Aug 13 04:03:38] VERBOSE[28404] logger.c: -- SIP/VOIP-00005f7d is ringing
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- AMD: Word detected. iWordsCount:4
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- AMD: ANSWERING MACHINE: iWordsCount:4
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- Executing [8369@default:4] AGI("SIP/VOIP-00005f79", "VD_amd.agi|8369") in new stack
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/VD_amd.agi
[Aug 13 04:03:38] VERBOSE[28398] logger.c: -- SIP/VOIP-00005f7c is making progress passing it to Local/9856389814@default-dc0f,2
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 13 04:03:38] VERBOSE[28410] logger.c: -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Aug 13 04:03:39] DEBUG[28410] res_agi.c: SIP/VOIP-00005f79 hungup
[Aug 13 04:03:39] VERBOSE[28410] logger.c: == Spawn extension (default, 8369, 4) exited non-zero on 'SIP/VOIP-00005f79'
[Aug 13 04:03:39] VERBOSE[28410] logger.c: -- Executing [h@default:1] DeadAGI("SIP/VOIP-00005f79", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 13 04:03:39] VERBOSE[28410] logger.c: -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How to reduce agent wait time ? how to speed up the call

Postby urmi.l » Thu Aug 15, 2013 2:36 am

In set Admin -> Server -> Carrier Logging Active: Y
And Yes, now my carrier_log is comming. The vicidial_carrier_log table start getting updated. :)
urmi.l
 
Posts: 108
Joined: Mon Jun 04, 2012 4:04 am
Location: India

Re: How to reduce agent wait time ? how to speed up the call

Postby DomeDan » Thu Aug 15, 2013 3:18 am

Oh, didn't know about that setting, and its N by default O.o
well well, now you should be able to use the carrier real-time report to get a view of what is happening
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: How to reduce agent wait time ? how to speed up the call

Postby tele.jasonit » Wed Feb 05, 2014 8:43 am

sir how can i lower the agent not available, cause it's extremely very high sir .



Dial Method: RATIO
Auto Dial Level: 2.8 (0 = off)
Available Only Tally: N
Drop Percentage Limit: 3%
Maximum Adapt Dial Level: 3.0
Latest Server Time: 2100
Adapt Intensity Modifier: 0 balance
Dial Level Difference Target: 0-----------0 balance
Concurrent Transfers: AUTO
Queue Priority: 50 Higher

Please Help Me SIr
tele.jasonit
 
Posts: 1
Joined: Wed Feb 05, 2014 8:37 am

Re: How to reduce agent wait time ? how to speed up the call

Postby DomeDan » Wed Feb 05, 2014 9:28 am

You should make a new separate topic with your question,
and write what your problem is because I don't understand your question.
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Previous

Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 119 guests