Inbound calls to FreePBX to Vicidial

All installation and configuration problems and questions

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

Inbound calls to FreePBX to Vicidial

Postby Mastacalus » Tue Sep 16, 2014 6:22 pm

Hi, I am new to Vicidial and I have read as much of the manual as I can stand for 2 days. I thought I would ask for some help from the guru's.

I am running Asterisk 1.8.29.0 on ViciBox 6.0.2. Currently we have FreePBX 2.11.0.38 that a dialer directs all of our calls to our extensions in house and 2 outside locations.

Because we are a sales center my owner would like to use Vicidial again for the reports capability. I have read numerous pages on trunking and dialplans, but cannot for the life of me figure out what to do to direct the calls that come into the FreePBX to the Vicidial server. Is there any tips you can give me? I'm once again very new to this so I'm hoping we can get this solved rather quickly.

In the end we want our agents to log in to the extensions on the FreePBX via their login names on the Vicidial server. How can this be accomplished?
Mastacalus
 
Posts: 5
Joined: Tue Sep 16, 2014 11:22 am

Re: Inbound calls to FreePBX to Vicidial

Postby striker » Wed Sep 17, 2014 2:24 am

1. create sip/iax trunking between vicidial and freepbx servers - ref below link
http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/connecting_two_asterisk.html

2. once trunking done , create phones in Vicidial with Client protocal as External
make sure the phone create should be able to dialout via the trunk created in step 1
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Inbound calls to FreePBX to Vicidial

Postby Mastacalus » Fri Sep 19, 2014 6:42 pm

I have trunked together the 2 machines, they can see each other and are registered. I cannot for the life of me figure out how to dial an extension that's registered on the pbx from vicidial and make it ring... Any help?
Mastacalus
 
Posts: 5
Joined: Tue Sep 16, 2014 11:22 am

Re: Inbound calls to FreePBX to Vicidial

Postby gardo » Sat Sep 20, 2014 2:43 pm

If you have your agents softphones registered in FreePBX server, you need to create their corresponding entries in your Vicidial server as EXTERNAL phones. This means you need to create a custom dialplan in your Vicidial server that passes the call to your FreePBX server for the softphones:

Vicidial server:

Carrier entry:

[freepbx]
host=XXX.XXX.XXX.XXX
type=friend
qualify=yes
context=trunkinbound
disallow=all
allow=ulaw

Dialplan entry:

exten => _1XXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1XXX,2,Dial(IAX2/freepbx/${EXTEN},,tTo)
exten => _1XXX,3,Hangup
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Re: Inbound calls to FreePBX to Vicidial

Postby Mastacalus » Wed Sep 24, 2014 11:40 am

So the dialplan you sent me correctly dials the extension of the FreePBX server and gives me the "You are the only person in this conference" message. This is excellent as it's a step forward from where I was, so thank you. Now when I look at the FreePBX it shows 1 active call, I was wondering if that means that the line is in use and cannot accept incoming calls to that FreePBX extension. Once again what I'm attempting to do is take calls that are incoming to an existing FreePBX server and direct them to the Vicidial server so we can have agents that may log in at any phone and record their results and post stats. The Vicidial server needs to then be able to pass back it's outbound calls through the FreePBX. With that said, am I on the right track still or what?
Mastacalus
 
Posts: 5
Joined: Tue Sep 16, 2014 11:22 am

Re: Inbound calls to FreePBX to Vicidial

Postby gardo » Thu Sep 25, 2014 2:08 pm

Yes. You are in the right direction. Once you have configured your Vicidial and FreePBX server to talk to each other and be able to pass calls to the SIP phones registered in your FreePBX you're in the right track. Your agents can then login to your Vicidial server using their FreePBX SIP phones. Once logged-in, they won't be able to use their extensions in FreePBX unless it has multiple lines.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004


Return to Support

Who is online

Users browsing this forum: No registered users and 70 guests