Page 1 of 1
Inbound calls to FreePBX to Vicidial
Posted:
Tue Sep 16, 2014 6:22 pm
by Mastacalus
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?
Re: Inbound calls to FreePBX to Vicidial
Posted:
Wed Sep 17, 2014 2:24 am
by striker
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.html2. 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
Re: Inbound calls to FreePBX to Vicidial
Posted:
Fri Sep 19, 2014 6:42 pm
by Mastacalus
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?
Re: Inbound calls to FreePBX to Vicidial
Posted:
Sat Sep 20, 2014 2:43 pm
by gardo
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
Re: Inbound calls to FreePBX to Vicidial
Posted:
Wed Sep 24, 2014 11:40 am
by Mastacalus
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?
Re: Inbound calls to FreePBX to Vicidial
Posted:
Thu Sep 25, 2014 2:08 pm
by gardo
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.