vicidial not executing Dial() app

All installation and configuration problems and questions

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

vicidial not executing Dial() app

Postby cocoduro » Wed Oct 12, 2016 4:08 pm

Hello everyone,

I decided to write to the forum because i cant find a solution to my problem nor the formus neither the manuals have helped me (may be outdated). I have installed vicidial before and i never faced this problem.

Frist some context:
ViciVox 7 installed from ISO
Vicidial: VERSION: 2.12-565a
BUILD: 160827-0917
Asterisk 11.22.0-vici built by abuild @ cloud124 on a x86_64
I have agents working and inboud calls being routed correctly.

My problem is with outbound calls.
I'm trying to dial to a test sip trunk (manually) but the Dial app is never executed.

This is the trunk configuration:

Code: Select all
[test_carrier]
type=friend
username=test_carrier
secret=abc123
disallow=all
allow=ulaw
allow=alaw
qualify=yes
canreinvite=no
host=dynamic
context=trunkinbound
nat=no


and the dial plan part goes:

Code: Select all
exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(SIP/test_carrier,,To)
exten => _9NXXXXXX,3,Hangup


The output from the CLI (with 'core set verbose 9') when i try to dial is this:

Code: Select all
[Oct 12 15:50:15]     -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000046;2", "8600051,Fmq") in new stack
       > [Oct 12 15:50:15]        > Channel Local/58600051@default-00000046;1 was answered
    -- [Oct 12 15:50:15]     -- Executing [8309@default:1] Answer("Local/58600051@default-00000046;1", "") in new stack
    -- [Oct 12 15:50:15]     -- Executing [8309@default:2] Monitor("Local/58600051@default-00000046;1", "wav,20161012-155014_92836631") in new stack
    -- [Oct 12 15:50:15]     -- Executing [8309@default:3] Wait("Local/58600051@default-00000046;1", "3600") in new stack
  == [Oct 12 15:50:15]   == Manager 'sendcron' logged off from 127.0.0.1
  == [Oct 12 15:50:16]   == Manager 'sendcron' logged off from 127.0.0.1
  == [Oct 12 15:50:21]   == Manager 'sendcron' logged on from 127.0.0.1
    -- [Oct 12 15:50:21]     -- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600051@default-00000046;2
  == [Oct 12 15:50:21]   == Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-00000046;2'
    -- [Oct 12 15:50:21]     -- Executing [h@default:1] AGI("Local/58600051@default-00000046;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
    -- [Oct 12 15:50:21]     -- <Local/58600051@default-00000046;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
  == [Oct 12 15:50:21]   == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000046;1'
    -- [Oct 12 15:50:21]     -- Executing [h@default:1] AGI("Local/58600051@default-00000046;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
    -- [Oct 12 15:50:21]     -- <Local/58600051@default-00000046;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0


As you can see even the recording is started but the Dial statement is never executed. I have tried dial from a list and with the 'manual dial' link in the agent interface. but i don't get even an invalid indication. I am losting my mind trying to figure out what is happening :| . If i dial from the 'dial override' input in the 'manual dial' screen the call is executed correctly.

Thnx in advance for the kindness of this forum (i have used it a lot for fixing other problems) and i hope i can contribute in the future as i gain experience.

Andres.
cocoduro
 
Posts: 2
Joined: Wed Oct 12, 2016 3:21 pm

Re: vicidial not executing Dial() app

Postby MJCoate » Thu Oct 13, 2016 2:18 pm

It looks like your config is a bit off:

- Why are you using "host=dynamic"? If this is a trunk that's actually going somewhere (another test server?) then you need to specify the IP or host name.

- Why are you using only 7 digits plus a prefix in your dialplan? If you're calling or test calling US numbers you should use this:
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(SIP/test_carrier/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup

Make sure your numbers have a dial code populated (in this case, 1). Otherwise, you can adjust the pattern match to what you want but make sure it's taking into account whatever you have in the dial code or just tell the campaign to omit it.
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: vicidial not executing Dial() app (solved)

Postby cocoduro » Fri Oct 14, 2016 8:11 am

Thx MJCoate,
Yesteday at night i figured out the problem.

First: The carrier/dialplan configuration was just calling/answering an extension (configured as a trunk) as a test for outbound, inbound, did and call menus without using a real trunk.

My problem was that i was trying to call some leads that were marked with 'DC' disposition, this, for some reason did not allow me to call those numbers even if i was puting them in the manual dial, once i cleared the lists the calls begin to be routed correctly and the dial app was called normally.

Any way in the process of testing i never got a clue about what the problem could be by a notification or error message, the call just estayed open until the timeout triggered.

Thx a lot for your help, very much apreciated.

Andres
cocoduro
 
Posts: 2
Joined: Wed Oct 12, 2016 3:21 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 60 guests