No calls connected to agents when AutoDial mode is used

All installation and configuration problems and questions

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

No calls connected to agents when AutoDial mode is used

Postby techbob » Sat Mar 07, 2015 2:34 pm

Hi,

I've searched for posts similar to my issue and I'm still stumped. My VICIDial installation is working fine when doing manual dialed calls, but not when in auto dial/ratio.

I've used the following carrier dialplan to test the calls out:

Code: Select all
[default]
exten => _819999991234,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _819999991234,n,Dial(sip/cc150,55,tTor)
exten => _819999991234,n,Hangup


and an actual working carrier from another server I administer with the following carrier dialplan:
with account entry set to the following:
Code: Select all
[general]
port=5060
bindaddr=0.0.0.0
context=default
tos=lowdelay
disallow=all
allow=ulaw
allow=alaw
allow=gsm

[gafachi3a]
type=friend
host=67.216.35.226
username=<snip>
secret=<snip>
host=dynamic
canreinvite=no
fromuser=<snip>
dtmfmode=rfc2833
context=trunkinbound


and dialplan set to below.
Code: Select all
[general]
static=yes
writeprotect=yes
[default]
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,n,Dial(SIP/11011${EXTEN:1}@gafachi3a,55,tToR)
exten => _1NXXNXXXXXX,n,Hangup


Autodial with routing extension set to 8368 on campaign settings.
Code: Select all
-- Executing [819999991234@default:1] AGI("Local/819999991234@default-00000003;2", "agi://127.0.0.1:4577/call_log") in new stack
    -- Called 819999991234@default
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=SPEEDY))
    -- <Local/819999991234@default-00000003;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [819999991234@default:2] Dial("Local/819999991234@default-00000003;2", "sip/cc150,55,tTor") in new stack
  == Using SIP RTP CoS mark 5
    -- Called sip/cc150
    -- Local/819999991234@default-00000003;1 is ringing
    -- SIP/cc150-00000004 is ringing
    -- Local/819999991234@default-00000003;1 is ringing
    -- SIP/cc150-00000004 is ringing
       > 0x7f1cf0006940 -- Probation passed - setting RTP source address to 203.215.116.159:17238
       > 0x7f1cf0006940 -- Probation passed - setting RTP source address to 203.215.116.159:17238
    -- SIP/cc150-00000004 answered Local/819999991234@default-00000003;2
    -- Local/819999991234@default-00000003;1 answered
    -- Executing [8368@default:1] Playback("Local/819999991234@default-00000003;1", "sip-silence") in new stack
    -- Channel Local/819999991234@default-00000003;2 joined 'simple_bridge' basic-bridge <2abebe9a-cd9c-46bd-b97c-6a1ce2c78f90>
    -- <Local/819999991234@default-00000003;1> Playing 'sip-silence.gsm' (language 'en')
    -- Channel SIP/cc150-00000004 joined 'simple_bridge' basic-bridge <2abebe9a-cd9c-46bd-b97c-6a1ce2c78f90>
       > 0x7f1cf0006940 -- Probation passed - setting RTP source address to 203.215.116.159:17238
    -- Executing [8368@default:2] AGI("Local/819999991234@default-00000003;1", "agi://127.0.0.1:4577/call_log") in new stack
    -- <Local/819999991234@default-00000003;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [8368@default:3] AGI("Local/819999991234@default-00000003;1", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
  == Manager 'sendcron' logged off from 127.0.0.1
    -- <Local/819999991234@default-00000003;1>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
    -- Executing [8368@default:4] AGI("Local/819999991234@default-00000003;1", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
    -- <Local/819999991234@default-00000003;1>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
    -- Executing [8368@default:5] Hangup("Local/819999991234@default-00000003;1", "") in new stack
  == Spawn extension (default, 8368, 5) exited non-zero on 'Local/819999991234@default-00000003;1'
    -- Executing [h@default:1] AGI("Local/819999991234@default-00000003;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
    -- <Local/819999991234@default-00000003;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
    -- Channel Local/819999991234@default-00000003;2 left 'simple_bridge' basic-bridge <2abebe9a-cd9c-46bd-b97c-6a1ce2c78f90>
    -- Channel SIP/cc150-00000004 left 'simple_bridge' basic-bridge <2abebe9a-cd9c-46bd-b97c-6a1ce2c78f90>
  == Spawn extension (default, 819999991234, 2) exited non-zero on 'Local/819999991234@default-00000003;2'
    -- Executing [h@default:1] AGI("Local/819999991234@default-00000003;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----2") in new stack
    -- <Local/819999991234@default-00000003;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----13-----2 completed, returning 0
    -- Manager 'sendcron' from 127.0.0.1, hanging up channel: SIP/cc100-00000003
    -- Hungup 'DAHDI/pseudo-433696893'
  == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/cc100-00000003'
    -- Executing [h@default:1] AGI("SIP/cc100-00000003", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
    -- <SIP/cc100-00000003>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Called 55558600051@default
    -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000004;2", "8600051,K") in new stack
[Mar  7 12:06:04] WARNING[25906][C-0000002c]: app_meetme.c:5252 admin_exec: Conference number '8600051' not found!
    -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000004;2", "") in new stack
  == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000004;2'
    -- Executing [h@default:1] AGI("Local/55558600051@default-00000004;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
    -- <Local/55558600051@default-00000004;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
  == Manager 'sendcron' logged off from 127.0.0.1

66-226-75-42*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups


I if the campaign uses manual dial, I get the following:

Code: Select all
    -- Executing [819999991234@default:1] AGI("Local/8600051@default-00000007;1", "agi://127.0.0.1:4577/call_log") in new stack
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=SPEEDY))
    -- <Local/8600051@default-00000007;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
    -- Executing [819999991234@default:2] Dial("Local/8600051@default-00000007;1", "sip/cc150,55,tTor") in new stack
  == Using SIP RTP CoS mark 5
    -- Called sip/cc150
  == Manager 'sendcron' logged off from 127.0.0.1
    -- SIP/cc150-00000007 is ringing
    -- SIP/cc150-00000007 is ringing
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Called 58600051@default
    -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000008;2", "8600051,Fmq") in new stack
    -- Local/58600051@default-00000008;1 answered
    -- Executing [8309@default:1] Answer("Local/58600051@default-00000008;1", "") in new stack
    -- Executing [8309@default:2] Monitor("Local/58600051@default-00000008;1", "wav,20150308-031431_9999991234") in new stack
    -- Executing [8309@default:3] Wait("Local/58600051@default-00000008;1", "3600") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
       > 0x7f1d44008000 -- Probation passed - setting RTP source address to 203.215.116.159:17569
       > 0x7f1d44008000 -- Probation passed - setting RTP source address to 203.215.116.159:17569
    -- SIP/cc150-00000007 answered Local/8600051@default-00000007;1
    -- Channel Local/8600051@default-00000007;1 joined 'simple_bridge' basic-bridge <e7f6f710-430e-4026-9dd1-dbf9dcaf0854>
    -- Channel SIP/cc150-00000007 joined 'simple_bridge' basic-bridge <e7f6f710-430e-4026-9dd1-dbf9dcaf0854>
       > 0x7f1d44008000 -- Probation passed - setting RTP source address to 203.215.116.159:17569
    -- Channel SIP/cc150-00000007 left 'simple_bridge' basic-bridge <e7f6f710-430e-4026-9dd1-dbf9dcaf0854>
    -- Channel Local/8600051@default-00000007;1 left 'simple_bridge' basic-bridge <e7f6f710-430e-4026-9dd1-dbf9dcaf0854>
  == Spawn extension (default, 819999991234, 2) exited non-zero on 'Local/8600051@default-00000007;1'
    -- Executing [h@default:1] AGI("Local/8600051@default-00000007;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0") in new stack
    -- <Local/8600051@default-00000007;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0 completed, returning 0
  == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000007;2'
    -- Executing [h@default:1] AGI("Local/8600051@default-00000007;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
    -- <Local/8600051@default-00000007;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0


I've read about similar posts here regarding the firewall being the culprit so i dropped iptables firewall rules by:

Code: Select all
iptables -F


and I've also read that it could be a permission related issue with agi-VDAD_ALL_outbound.agi not being able to access PATHlogs (/var/log/astguiclient) directory so I chmod'ed and changed the ownership the directory to asterisk, just in case it works and I can chmod back to 755 or even less and still no go.

Code: Select all
chmod 777 /var/log/astguiclient
chown asterisk.asterisk /var/log/astguiclient -R


I'm using Ubuntu 14.04, I have two other servers and they're CentOS 6.6 and Debian Squeeze all using Striker's scratch install guide with tweaks such as installing libnewt and running the get required packages script so I can run menuselect when installing asterisk and equivalent required packages for the Debian and Ubuntu installations. They are running fine, for Ubuntu I tried the Asterisk 1.8.23-vici which still didn't work, so I used the subversion one, and still isn't working on predictive dialing.

So I figured it has something to do with using the latest VICIDial trunk, so I used a known working version by pulling using the following:

Code: Select all
svn checkout -R 2220 ...


and it's still having the same issue.

I'm at a loss as to why it's not connecting the calls to the agents when in autodial mode.
Vicidial Custom/Scratch Install | VERSION: 2.12-502a BUILD: 150728-1048 | Asterisk 1.8.23.0-vici | Single Server | No Digium/Sangoma HW | Debian 6 | No Extra Software | Xeon Quad Core E3-1270v2 3.50 Ghz | 16 GB DDR3-1600 ECC SDRAM
techbob
 
Posts: 6
Joined: Wed Dec 25, 2013 6:39 am

Re: No calls connected to agents when AutoDial mode is used

Postby techbob » Sat Mar 07, 2015 2:36 pm

I've previously read the following posts to get a clue:

viewtopic.php?f=4&t=33594&hilit=autodial+does+connect+to+agents
viewtopic.php?f=4&t=12868&p=51425&hilit=autodial+does+connect+to+agents
viewtopic.php?f=4&t=28458&hilit=autodial+does+connect+to+agents

and I few others, I can't seem to find the links atm.
Vicidial Custom/Scratch Install | VERSION: 2.12-502a BUILD: 150728-1048 | Asterisk 1.8.23.0-vici | Single Server | No Digium/Sangoma HW | Debian 6 | No Extra Software | Xeon Quad Core E3-1270v2 3.50 Ghz | 16 GB DDR3-1600 ECC SDRAM
techbob
 
Posts: 6
Joined: Wed Dec 25, 2013 6:39 am


Return to Support

Who is online

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