Page 1 of 1

Inbound Campaign Testing

PostPosted: Tue Aug 16, 2016 12:42 pm
by eortizn85
Hello guys,

VERSION: 2.12-563a
BUILD: 160801-2119
Asterisk 11.22.0

I created an inbound campaign for testing. Followed the directions on Manager Manual (Section F. Create an inbound-group, point a DID at it, and take calls).
Everything went fine, managed to create the In-Group, the DID (pointing to the In-Group), campaign (enabled the In-Group) and logged in as agent.

For testing, I registered another extension within vicidial and called the DID in order to check if the call is connected to the agent, but I got the wrong number tone and disconnects the call.
Any directions of where should I look to troubleshoot this?

Thanks a lot in advance

Re: Inbound Campaign Testing

PostPosted: Tue Aug 16, 2016 2:05 pm
by eortizn85
I should add this:

What I'm trying to achieve is an inbound campaing which will receive transfer calls from another pbx system.
thats why I'm trying to make another phone extension to call the DID, which I thought I could use as a queue and connect them to agents logged in that inbound campaign.

:)

EDIT: Ok, if I call to the DID (1176782) it won't connect because the 'extension' doesn't exist in the dialplan.
I read here http://www.eflo.net/VICIDIALforum/viewtopic.php?t=12 that I must add these lines to the dialplan:

exten => 1176782,1,Ringing ; changed the value to my DID
same => n,Wait(1)
same => n,Answer()
same => n,AGI(agi-VDADcloser_inboundCID.agi,VPORTINB-----1176782-----Closer---------------999-----1) ; changed to my values VPORTIB is my In-group
same => n,Hangup()


I couldn't find that AGI in /var/lib/Asterisk/agi-bin to check what were the other parameters. Found the agi-DID_route.agi.
So according to agi-DID_route I should write in the extensions.conf something like this:

[default] ; in my case I'm trying to reach the DID from an extension in the [default] context, so I guess this should be right?
exten => _X.,1,AGI(agi-DID_route.agi)

Am I heading to a dead end? Or is there another approach to what I want to achieve?

:)

Re: Inbound Campaign Testing

PostPosted: Thu Aug 18, 2016 12:41 pm
by eortizn85
Hello again,

I'm going to update the post since I got this working for the inbound campaign I need and this info might be useful for everybody:

In order to have the inbound working fine (in my case: campaign is receiving calls from another pbx within my network) I added these lines to the trunk context:

exten => 1176782,1,AGI(agi-DID_route.agi)
exten => 1176782,n,Hangup()


Remember that 1176782 is my DID number; I thought that Vicidial would add automatically this entry, or at least capture it through the entry in the [trunkinbound] context. I still need to find out why trunkinbound context wasn't capturing the calls but that looks like I missconfigured the trunk somewhere.

Hope this info is somewhat useful, will update it again once I got this working for more than 1 inbound campaign.