Long times between calls ----- SOLVED

All installation and configuration problems and questions

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

Long times between calls ----- SOLVED

Postby omar » Mon Jan 15, 2007 6:17 pm

Hi, everybody.
For some campaigns and lists I need to use the autodialing method with these settings:

1. Dial Method = Ratio (to control better the Auto Dial Level)
2. Auto Dial Level = 1

And I thing the other settings for the ratio autodialing method doesn't matter (is it right?)
Ok, the issue is that the vicidial never makes a call with these settings.
Then I moved on one little step with these

1. Dial Method = Ratio (to control better the Auto Dial Level)
2. Auto Dial Level = 2

Ok, the vicidial makes the first call, but for the second it waits for about from 1:30 to 1:40 minutes.

Well, I need to make just one call per agent (always in the autodialing method), because I have just one channel available per agent. Then if in the other side the lead doesn't answer I really need to make another call immediately.
How can I do that?

PD.
I am using the Dial time out = 15 seconds
Last edited by omar on Wed Jan 24, 2007 6:33 pm, edited 2 times in total.
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Mon Jan 15, 2007 9:30 pm

Delete any records in the vicidial_auto_calls table before you start dialing.

Also, make sure you have the call_log entries in all of the proper places like the "h" extension and the record before you transfer AGI.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Long times between calls

Postby omar » Mon Jan 22, 2007 4:23 pm

Hi,
Really I need these settings in the autodialing method

Dial Method: RATIO
Auto Dial Level: 1
Dial Timeout: 15

First I deleted all the records in the vicidial_auto_calls tables, and the calls go well, but the issue is when in the other side no one answer. The deal's phones rings 15 seconds and if no one answer then the vicidial waits for about 1:45 minutes to dial another deal (to long).

My extensions.conf was copied from /usr/src/astguiclient/docs/conf_examples/extensions.conf.sample, and I just added few lines to make the outbound calls
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Mon Jan 22, 2007 6:54 pm

what do you have for the exten => h entries in your extensions.conf file?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby omar » Tue Jan 23, 2007 11:03 am

mflorell wrote:what do you have for the exten => h entries in your extensions.conf file?


Here they are:

Code: Select all
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))
; Standard AGI for VICIDIAL/astGUIclient call logging
;exten => h,1,DeadAGI(call_log.agi,${EXTEN}) ; DeadAGI is new
;exten => h,2,DeadAGI(VD_hangup.agi,PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Tue Jan 23, 2007 3:01 pm

Could you post some Asterisk CLI output when a call is being placed and hangs up?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

ASTERISK CLI OUTPUT

Postby omar » Tue Jan 23, 2007 4:32 pm

mflorell wrote:Could you post some Asterisk CLI output when a call is being placed and hangs up?


This is the Asterisk CLI output

Code: Select all
 == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing Dial("Local/017275551213@default-1dbe,2", "IAX2/asterisk02/17275551213") in new stack
    -- Called asterisk02/17275551213
    -- Call accepted by 64.61.93.87 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/asterisk02-16385 is ringing
    -- Hungup 'IAX2/asterisk02-16385'
  == Spawn extension (default, 017275551213, 1) exited non-zero on 'Local/017275551213@default-1dbe,2'
    -- Executing DeadAGI("Local/017275551213@default-1dbe,2", "agi://127.0.0.1:4577/call_log") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing DeadAGI("Local/017275551213@default-1dbe,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------) completed, returning 0


Here is the situation
1. For the first time the vicidial_auto_calls table is empty
2. The agent resume (unpause) the vicidial client
3. The call is being placed, the vicidial_auto_calls table has now a record, the deal's phone rings by 15 seconds.
4. After the 15 seconds the call hangs up, the vicidial_auto_calls table still has the same record, and there isn't another call after 1:45 minutes
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Tue Jan 23, 2007 9:42 pm

There isn't another call because something is not deleting the vicidial_auto_calls record like it should be so the dialer script is forcably deleting the record after a 2 minute timeout.

Could you post agiout log file (/var/log/astguiclient/agiout...)output when the call is placed and hungup?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

FASTagiout

Postby omar » Wed Jan 24, 2007 11:20 am

mflorell wrote:There isn't another call because something is not deleting the vicidial_auto_calls record like it should be so the dialer script is forcably deleting the record after a 2 minute timeout.

Could you post agiout log file (/var/log/astguiclient/agiout...)output when the call is placed and hungup?


Nothing has been written in the agiout.XXXX-XX-XX file, when the system dial and no one answer in the other side. But something has been written when the system dial, and in the other side someone answer the phone.

But in the FASTagiout.XXXX-XX-XX file, there is some lines when the system dial and no one answer in the other side. Here they are:

Code: Select all
2007-01-24 12:16:49|TEST_VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2007-01-24 12:16:49|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin|0|--debug
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- accountcode =
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callerid = 1800240110
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- calleridname = V0124121634000000076
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingpres = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingtns = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callington = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- channel = Local/017275551213@default-6ac2,2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- context = default
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- dnid = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- extension = h
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- language = en
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network = yes
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = call_log
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 1
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/call_log
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log|Process to run: |agi://127.0.0.1:4577/call_log|call_log|END|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log||CALL HUNG UP|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log||DELETE from live_inbound where uniqueid='1169655394.15' and server_ip='64.61.93.87'|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log|+++++ CALL LOG HUNGUP: |1169655394.15|Local/017275551213@default-6ac2,2|h|2007-01-24 12:16:49|min: |
2007-01-24 12:16:49|TEST_VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2007-01-24 12:16:49|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin|0|--debug
2007-01-24 12:16:49|TEST_VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|0|CANCEL||)|
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- accountcode =
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callerid = 1800240110
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- calleridname = V0124121634000000076
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingpres = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingtns = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callington = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- channel = Local/017275551213@default-6ac2,2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- context = default
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- dnid = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- extension = h
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- language = en
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network = yes
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|Process to run: |agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)|VD_hangup|END|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|DEBUG: NODEBUG
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|VD_hangup : V0124121634000000076 Local/017275551213@default-6ac2,2 2 76
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|--    VD_hangup Local DEBUG: |PRI|V0124121634000000076|CANCEL|0|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|+++++ VDAD START LOCAL CHANNEL: EXITING- 2


Thanks for you help and time
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Wed Jan 24, 2007 11:32 am

Can you post the VDhangup portion for that call?

To turn on AGI output you need to enable it in the servers settings in admin.php
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby omar » Wed Jan 24, 2007 11:54 am

mflorell wrote:Can you post the VDhangup portion for that call?

To turn on AGI output you need to enable it in the servers settings in admin.php


1. In the server settings always have been enabled the AGI ouput with these values:
Server Logs: Y
AGI Output: FILE

For that reason, when the agent has a succefull call, I have a lot of new lines in the agiout.XXXX-XX-XX file. But there aren't any new lines in the agiout file when in the other side no one answer

2. The VDhangup portion is in the FASTagiout file? If it is here they are:
Code: Select all
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|Process to run: |agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)|VD_hangup|END|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|DEBUG: NODEBUG
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|VD_hangup : V0124121634000000076 Local/017275551213@default-6ac2,2 2 76
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|--    VD_hangup Local DEBUG: |PRI|V0124121634000000076|CANCEL|0|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Wed Jan 24, 2007 1:02 pm

Do you have call_log entries that are in the 8365 extension?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

8365 extension

Postby omar » Wed Jan 24, 2007 2:08 pm

mflorell wrote:Do you have call_log entries that are in the 8365 extension?


Here is my 8365 extension
Code: Select all
; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Wed Jan 24, 2007 5:00 pm

What do you have in extensions.conf for 017275551213 or 01XXXXXXXXXX(in other words, the entries that actually dial the outside numbers)?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

SOLVED

Postby omar » Wed Jan 24, 2007 6:32 pm

Thank you very match mflorell, your very nice
My mistake was in the extension.conf. The error was this dial plan
Code: Select all
exten => _01NXXXXXXXXX,1,Dial(IAX2/asterisk02/${EXTEN:1})
exten => _01NXXXXXXXXX,2,Hangup


Now the problem was solved with:
Code: Select all
exten => _01NXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _01NXXXXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _01NXXXXXXXXX,2,Dial(IAX2/asterisk02/${EXTEN:1},,tTo)
exten => _01NXXXXXXXXX,3,Hangup


:D :wink:
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Postby mflorell » Wed Jan 24, 2007 10:21 pm

I knew it had to be one of those call_log entries that was missing.

Glad you got it working.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 67 guests