Page 1 of 1
Elastix with Vicidial
Posted:
Fri Jun 06, 2014 1:18 am
by karenjade23
Hi, new here,
Would like to ask some advice regarding Elastix PBX and Vicidial used both processed calls.
1. Elastix System is already established and used as PBX system with extensions working and dialing out manually.
2. Now Vicidial is added on same network to give predictive options and manager leads on the process.
3. the planned is to used Elastix existing extension to login on the Vicidial system to do predictive dialing and login to vicidial adn manage leads.(Is this possible..? ill used Elastix as registration Server for Vicidial)
- Would the Load balance notes of Vicidial applies to this process-Having the extension ( initially what i did is add on carrier trunk on vicidial the trunk of ElastixPBX)
- On PBX trunk i added Vicidial trunk also (This part im confuse which trunk should this be.? is this the trunk Server..?)
- Then how do i start using Elastix extension to login to vicidial..? Do i need to add phones on Vicidial..? or no need)
Hope any further idea on this. Thanks a lot
Re: Elastix with Vicidial
Posted:
Fri Jun 06, 2014 6:23 am
by mflorell
My advice is to use two separate physical machines. And if you must run the trunks from one through to the other make sure you have the trunks go through the Vicidial server into the Elastix server.
Re: Elastix with Vicidial
Posted:
Fri Jun 06, 2014 8:02 am
by boybawang
2 separa machines would be better since both have their set of AGI scripts that when put together in one server will cause several stability issues
Re: Elastix with Vicidial
Posted:
Sun Jun 08, 2014 11:02 am
by striker
yes you can ...
1. you need to create a trunk between vicidial and elastix either sip or IAX
(link :
http://www.asteriskdocs.org/en/2nd_Edit ... erisk.html)
2. you need to create external extensions in vicidial ( the extension same extension used in elastix) with proper dialplan no.
hint: protocol = EXTERNAL while creating phones in vicidial
3. agent have to use these extension, once login there elastix extension will ring and get connected.
Re: Elastix with Vicidial
Posted:
Sun Jun 08, 2014 6:14 pm
by karenjade23
Thanks guys,
Yes im doing this on separate Server actually.
@striker thanks:
What would be the procedure for this..? how the calls flow..?
1. sample i have xtension 1000 on FreePBX - so ill make 1000 on vicidial also and put it on EXTERNAL.
2. What you mean proper Dialplan..? are the dialplan not the default we need to do some custom dial..?
Hope you can enlighten up more the procedures.Thanks a lot for the help.
-
Re: Elastix with Vicidial
Posted:
Mon Jun 09, 2014 2:16 am
by striker
have did the sip trunk between vicidial and elastix servers as per the below link
http://www.asteriskdocs.org/en/2nd_Edit ... erisk.html
Re: Elastix with Vicidial
Posted:
Wed Jun 11, 2014 2:40 am
by karenjade23
HI guys,
I have already registered both Elastix and Vicidial to each other now
Vicidial:
- Code: Select all
Host dnsmgr Username Perceived Refresh State
192.168.56.3:4569 N TESTast 192.168.56.2:4569 60 Registered
127.0.0.1:41569 N ASTblind 127.0.0.1:58253 60 Registered
127.0.0.1:40569 N ASTloop 127.0.0.1:40735 60 Registered
Elastix:
- Code: Select all
Host dnsmgr Username Perceived Refresh State
192.168.56.2:4569 N autodialle 192.168.56.3:4569 60 Registered
1. Add SIP extensions 1000-1010 - Added on Elastix
2. Add Phone extension 1000-1010 - with protocol:EXTERNAL - on vicidial
3. Registered SIP phones on Elastix extension 1000 then inptu credential login details on vicidial agent page
4. Upon submit no ringback from softphones and get this error log on vicidial
- Code: Select all
[Jun 11 15:39:10] NOTICE[9632]: chan_local.c:969 local_call: No such extension/context 1001@default while calling Local channel
[Jun 11 15:39:10] NOTICE[9632]: channel.c:5486 __ast_request_and_dial: Unable to call channel Local/1001@default
[Jun 11 15:39:11] == Manager 'sendcron' logged off from 127.0.0.1
It seems the local phones of Elastix cant reach vicidial and vice versa with Vicidial to Elastix...any help...? Thanks
Any dial plan a need to add on Vicidial trunk and also on Elastix..? please share some idea.
Re: Elastix with Vicidial
Posted:
Wed Jun 11, 2014 5:18 am
by striker
u need ot have a dialplan like this
exten => _100X,1,Dial(SIP/TESTast/${EXTEN},,Ttor)
exten => _100X,2,Hangup
in elastix the trunk should have context from-internal
Re: Elastix with Vicidial
Posted:
Wed Jun 11, 2014 7:39 am
by karenjade23
@striker
How do i apply that? into SIP since my peers are IAX2 from elastix and vicidial.
Vicidial
- Code: Select all
register => TESTast:test@192.168.56.3:4569
- Code: Select all
[autodialler]
type=friend
username=autodialler
fromuser=autodialler
secret=dialler123
host=dynamic
context=trunkinbound
disallow=all
allow=ulaw
allow=alaw
qualify=yes
- Code: Select all
TRUNKElastix=IAX2/autodialler
- Code: Select all
exten => _100X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _100X,n,Dial(${TRUNKElastix}/${EXTEN},50,o)
exten => _100X,n,Hangup
Latest logs on display ---->
- Code: Select all
[Jun 11 20:27:08] == Using SIP RTP CoS mark 5
[Jun 11 20:27:08] -- Executing [1000@default:1] AGI("SIP/100-00000000", "agi://127.0.0.1:4577/call_log") in new stack
[Jun 11 20:27:08] -- <SIP/100-00000000>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jun 11 20:27:08] -- Executing [1000@default:2] Dial("SIP/100-00000000", "IAX2/autodialler/1000,50,o") in new stack
[Jun 11 20:27:08] -- Called IAX2/autodialler/1000
[Jun 11 20:27:08] -- Hungup 'IAX2/autodialler-2006'
[Jun 11 20:27:08] == Everyone is busy/congested at this time (1:0/0/1)
[Jun 11 20:27:08] -- Executing [1000@default:3] Hangup("SIP/100-00000000", "") in new stack
[Jun 11 20:27:08] == Spawn extension (default, 1000, 3) exited non-zero on 'SIP/100-00000000'
[Jun 11 20:27:08] -- Executing [h@default:1] AGI("SIP/100-00000000", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL----------") in new stack
[Jun 11 20:27:08] -- <SIP/100-00000000>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----50-----CHANUNAVAIL---------- completed, returning 0
Re: Elastix with Vicidial
Posted:
Wed Jun 11, 2014 4:04 pm
by karenjade23
Any idea and thought somehow on this.Thanks
Re: Elastix with Vicidial
Posted:
Fri Jun 13, 2014 12:05 am
by williamconley
Should be 10XX not 100X (1010 is not 100X, LOL).
If you have host=dynamic, then Vicidial has no idea what its IP is until it registers with you. This means the elastix server would need to register with Vicidial for Vicidial to know its IP address. I get the impression that the IP of the elastix server is 192.168.56.3 from your registration entry. So change the host= entry to host=192.168.56.3.
Also, since you are using IP authentication, you should lose the username/fromuser/secret entries entirely.
I've found that your "first trunking between servers" is usually simpler if you just make a phone in one of the servers link to a trunk in the other. In this case, you could have a carrier in Vicidial use the credentials of an extension in Elastix and you could probably make it work much simpler. Get more complex later. (Then you would use a trunk in Elastix and a Carrier in Vicidial and you can choose to IP authenticate or user/pass authenticate or even both if you want to be hyper-secure).
Do remember that from the perspective of a "Real" carrier, this is actually how your Vicidial server is viewed already. Only now YOU are the carrier. And instead of dialing a 10 digit PSTN phone number, you are dialing a 4 digit number that happens to belong to a phone on the same server. But Vicidial doesn't know that (or care). It's just making a call.
Re: Elastix with Vicidial
Posted:
Tue Jun 17, 2014 12:00 pm
by karenjade23
Thanks william on this i didn't see this..
- Code: Select all
Should be 10XX not 100X (1010 is not 100X, LOL).
- Code: Select all
If you have host=dynamic, then Vicidial has no idea what its IP is until it registers with you. This means the elastix server would need to register with Vicidial for Vicidial to know its IP address. I get the impression that the IP of the elastix server is 192.168.56.3 from your registration entry. So change the host= entry to host=192.168.56.3.
very nice on this - both Server did see each other with IP authentucation my config:
Vicidial
- Code: Select all
[autodialler]
type=friend
canreinvite=no
host=192.168.56.3
context=trunkinbound
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
qualify=yes
Elastix
- Code: Select all
type=friend
canreinvite=no
host=192.168.56.2
dtmfmode=rfc2833c
context=from-internal
disallow=all
allow=ulaw&alaw
qualify=yes
Result:
Elastix
- Code: Select all
Name/Username Host Mask Port Status
TESTast 192.168.56.2 (S) 255.255.255.255 4569 OK (32 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
Vicidial
- Code: Select all
Name/Username Host Mask Port Status
ASTblind 127.0.0.1 (D) 255.255.255.255 41923 OK (5 ms)
ASTloop 127.0.0.1 (D) 255.255.255.255 51757 OK (7 ms)
autodialler 192.168.56.3 (S) 255.255.255.255 4569 OK (2 ms)
What could be the next step on this - create a Dialplan?
- Code: Select all
exten => _10XX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _10XX,n,Dial(${TRUNKElastix}/${EXTEN},50,o)
exten => _10XX,n,Hangup
And after..? Thanks for this william..
Re: Elastix with Vicidial
Posted:
Tue Jun 17, 2014 11:52 pm
by karenjade23
UPdates:
- Nice it did worked and able to established meetme conference with vicidial and dial the local extension of Elastix.
- im on session with vicidial and able dial out with the added Carrier settings on the Vicidial on the specified prefix.
Question,
what about if my Dialout will be the elastix..? how do i proceed on it..?
- I added the trunk on Elastix and also set it with the outbound Routes same dial prefix and pattern
Now when i login conference is established but when i dial out with its dial pattern i get error, im sorry that is not a valid extension..always.
should i need to add up some custom dialplan for this.? any suggestion.Goal is the Dialout will be on elastix even the the Meetme conference is established on Vicidial.