Just can't get autodial working - second installation.

All installation and configuration problems and questions

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

Just can't get autodial working - second installation.

Postby artimus » Thu Sep 27, 2007 10:28 am

My first install attempt was on trixbox. We got up to this point and gave up.
This is a second attempt using the scratch install and base install. Everything has been compiled locally - see my signature for details.

I can dial out of my phone with no trouble, and I can manual dial from the client interface. When I attempt to autodial, my agent phone rings (with completely random callerID). When I pick up, it says I am the only caller in this conference (8600051). I have triple checked everything that I can think of. I read all the other posts about this same problem, and I'm still having the same issue. My PC, and the vici box are using the same NTP server (which happens to be my PBX), and are now synced at stratum 3. My phone does not seem to want to sync up, and is behind a few seconds.


I don't even see an attempt to dial out, nor do I have any lead info showing up in the gui.

My dialout string:
Code: Select all
exten => _1NXXNXXXXXX,1,Dial(${IAXtoPBX}/${EXTEN})


CLI output:
Code: Select all
Connected to Asterisk 1.2.24 currently running on vici (pid = 26819)
Verbosity is at least 96
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
===== Phone rings at this point ======
       > Channel SIP/291-099e4d58 was answered.
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Executing MeetMe("SIP/291-099e4d58", "8600051") in new stack
  == Parsing '/etc/asterisk/meetme.conf': Found
    -- Created MeetMe conference 1023 for conference '8600051'
    -- Playing 'conf-onlyperson' (language 'en')
===== Hanging up the phone now ======
Sep 27 11:18:30 WARNING[16127]: app_meetme.c:1564 conf_run: Unable to write frame to channel SIP/291-099e4d58
    -- Hungup 'Zap/pseudo-1970384442'
  == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/291-099e4d58'
    -- Executing DeadAGI("SIP/291-099e4d58", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing DeadAGI("SIP/291-099e4d58", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0


screen -r output:
Code: Select all
# screen -r
There are several suitable screens on:
        6028.ASTsend    (Detached)
        4438.ASTVDadapt (Detached)
        26968.ASTlisten (Detached)
        26962.ASTupdate (Detached)
        6281.ASTVDauto  (Detached)
        26594.ASTVDremote       (Detached)
        6284.ASTfastlog (Detached)
        14510.iax       (Attached)


screen -r 6281.ASTVDauto output:
Code: Select all
loop counter: |5734079|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:28|LIVE AGENTS LOGGED IN: 0   ACTIVE CALLS: 0|
2007-09-27 11:22:28| : agents:      dial_level: 0|
2007-09-27 11:22:28| : Calls to place: 0 (0 - 0) 0 |
2007-09-27 11:22:28|CAMPAIGN DIFFERENTIAL: 0   0   (0 - 0)|
2007-09-27 11:22:28|LOCAL TRUNK SHORTAGE: 0|0  (0 - 96)|
2007-09-27 11:22:28| : CALLING|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:28||     lagged call vla agent PAUSED 0E0|20070927112158|20070927112218|20070927112228||
2007-09-27 11:22:28||     lagged call vac agent DELETED 0E0|2007-09-27 11:20:28||

loop counter: |5734078|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:30|LIVE AGENTS LOGGED IN: 0   ACTIVE CALLS: 0|
2007-09-27 11:22:30| : agents:      dial_level: 0|
2007-09-27 11:22:30| : Calls to place: 0 (0 - 0) 0 |
2007-09-27 11:22:30|CAMPAIGN DIFFERENTIAL: 0   0   (0 - 0)|
2007-09-27 11:22:30|LOCAL TRUNK SHORTAGE: 0|0  (0 - 96)|
2007-09-27 11:22:30| : CALLING|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:30||     lagged call vla agent PAUSED 0E0|20070927112200|20070927112220|20070927112230||
2007-09-27 11:22:30||     lagged call vac agent DELETED 0E0|2007-09-27 11:20:30||

loop counter: |5734077|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:33|LIVE AGENTS LOGGED IN: 0   ACTIVE CALLS: 0|
2007-09-27 11:22:33| : agents:      dial_level: 0|
2007-09-27 11:22:33| : Calls to place: 0 (0 - 0) 0 |
2007-09-27 11:22:33|CAMPAIGN DIFFERENTIAL: 0   0   (0 - 0)|
2007-09-27 11:22:33|LOCAL TRUNK SHORTAGE: 0|0  (0 - 96)|
2007-09-27 11:22:33| : CALLING|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:33||     lagged call vla agent PAUSED 0E0|20070927112203|20070927112223|20070927112233||
2007-09-27 11:22:33||     lagged call vac agent DELETED 0E0|2007-09-27 11:20:33||

loop counter: |5734076|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:35|LIVE AGENTS LOGGED IN: 0   ACTIVE CALLS: 0|
2007-09-27 11:22:35| : agents:      dial_level: 0|
2007-09-27 11:22:35| : Calls to place: 0 (0 - 0) 0 |
2007-09-27 11:22:35|CAMPAIGN DIFFERENTIAL: 0   0   (0 - 0)|
2007-09-27 11:22:35|LOCAL TRUNK SHORTAGE: 0|0  (0 - 96)|
2007-09-27 11:22:35| : CALLING|
TIME DEBUG: -5|-4|1|   GMT: 15:22
2007-09-27 11:22:35||     lagged call vla agent PAUSED 0E0|20070927112205|20070927112225|20070927112235||
2007-09-27 11:22:35||     lagged call vac agent DELETED 0E0|2007-09-27 11:20:35||



Campaign info:
List order: up
Hopper level: 5
Dial method: RATIO
Autodial level: 1
Next agent call: random
local call time: 24 hours
Dial timeout: 60
Dial Prefix: X


I think that is the all the relevant data, please let me know if there is more I should be looking at.
Slackware 12 - Linux 2.6.21.5 SMP
Asterisk 1.2.19
Zaptel 1.2.19 (ztdummy) - libpri 1.2.5 - spandsp 0.0.3
IAX2 trunk to trixbox on the same LAN.
VICI / astguiclient 2.0.3
artimus
 
Posts: 38
Joined: Wed Sep 19, 2007 9:54 am

Postby Op3r » Thu Sep 27, 2007 10:31 am

you need to call the call_log.agi before doing the dial like this

; dial a long distance outbound number
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(${TRUNKSIP}/${EXTEN:1},,tTo)
exten => _91NXXNXXXXXX,n,Hangup


:)
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby artimus » Thu Sep 27, 2007 10:54 am

Thank you for the quick reply!

I made the change as you said, so it now looks like:
Code: Select all
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(${IAXtoPBX}/${EXTEN})
exten => _1NXXNXXXXXX,3,Hangup

And of course, restarted asterisk.

I logged back into the client GUI, but had the same problem. Then again, I'm not sure that the change should have made any difference for this particular problem as I don't seem to be getting to the dialout part. (Although I'm sure the change will save me from a future headache).

Manually dialing the number on my phone shows that I am now hitting the log
Code: Select all
Verbosity is at least 96
    -- Executing AGI("SIP/291-08e4b540", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing Dial("SIP/291-08e4b540", "IAX2/myiax:****@10.0.0.250:4569/1914*******") in new stack
    -- Called myiax:****@10.0.0.250:4569/19144267930
    -- Call accepted by 10.0.0.250 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/10.0.0.250:4569-1 is proceeding passing it to SIP/291-08e4b540
    -- IAX2/10.0.0.250:4569-1 is making progress passing it to SIP/291-08e4b540
    -- IAX2/10.0.0.250:4569-1 answered SIP/291-08e4b540
    -- Hungup 'IAX2/10.0.0.250:4569-1'
  == Spawn extension (default, 1914*******, 2) exited non-zero on 'SIP/291-08e4b540'
    -- Executing DeadAGI("SIP/291-08e4b540", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing DeadAGI("SIP/291-08e4b540", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----1)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----1) completed, returning 0



Another thing that your post reminded me of, which I don't know if it's relevant or not is the "${EXTEN:1},,tTo". I could not dial out when I had that in there, although I can't remember what the error was. Changing it to ${EXTEN} worked.

I have now changed it back to:
Code: Select all
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Dial(${IAXtoPBX}/${EXTEN:1},,tTo)
exten => _1NXXNXXXXXX,3,Hangup


Unfortunately, I still have the same exact problem. I wish I had a better understanding of the logic. The scratch install is very detailed, but finding info about what vici is actually doing (or supposed to do) at a low level is a bit difficult. I'll start digging through the perl code :).
Slackware 12 - Linux 2.6.21.5 SMP
Asterisk 1.2.19
Zaptel 1.2.19 (ztdummy) - libpri 1.2.5 - spandsp 0.0.3
IAX2 trunk to trixbox on the same LAN.
VICI / astguiclient 2.0.3
artimus
 
Posts: 38
Joined: Wed Sep 19, 2007 9:54 am

Postby Op3r » Thu Sep 27, 2007 11:27 am

You dont need to digg on the perl code.

its on your dial plan

remove the 1 on the EXTEN:1

and it will dial. actually if u look at your asterisk cli it is dialling.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby artimus » Thu Sep 27, 2007 1:10 pm

Well it can dial manually with no problem, regardless if I have EXTEN or EXTEN:1. The problem is that I never reach this point with autodial (see my cli output in my first post).

I'm lost as to where to look for an answer. It's hard to figure out whats wrong when you don't have an error message :)
Slackware 12 - Linux 2.6.21.5 SMP
Asterisk 1.2.19
Zaptel 1.2.19 (ztdummy) - libpri 1.2.5 - spandsp 0.0.3
IAX2 trunk to trixbox on the same LAN.
VICI / astguiclient 2.0.3
artimus
 
Posts: 38
Joined: Wed Sep 19, 2007 9:54 am

Postby Op3r » Thu Sep 27, 2007 3:26 pm

check your dialing time condition. check if you have any leads in the hopper.

next still check your extensions.conf

and also check if you logged in to vicidial as an agent did you press the resume button?

and how did you exactly create your campaign?

and my all purpose answer to most of the question have you seen the manager's manual?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby artimus » Thu Sep 27, 2007 4:01 pm

I got a little further now.

Time condition was 24hours.
The resume button did tripped me up numerous times.
campain and lists were created via gui.
still waiting on the managers manual --my company has promised to buy a few copies of it. Small price to pay compared to the existing dialer.


I got this part working now. basically all i needed to to was run start_asterisk_boot.pl

I knew it was going to be something simple that i missed.

However the problem I have now is that vici hangs up on the callee the second they answer.. I'm researching how to fix this, but I did find another post here saying that this is an IAX issue "http://www.eflo.net/VICIDIALforum/viewtopic.php?p=2648&sid=9390a2edc04f4161bf6b5417ca834727"


Thanks for all your help!!
Slackware 12 - Linux 2.6.21.5 SMP
Asterisk 1.2.19
Zaptel 1.2.19 (ztdummy) - libpri 1.2.5 - spandsp 0.0.3
IAX2 trunk to trixbox on the same LAN.
VICI / astguiclient 2.0.3
artimus
 
Posts: 38
Joined: Wed Sep 19, 2007 9:54 am


Return to Support

Who is online

Users browsing this forum: sofianemh and 52 guests