QUESTION Web Sockets and CRM Notifications on inbound calls

papachumba

Member
Joined
Jun 20, 2013
Messages
86
Reaction score
5
Using latest PIAF 3
So, we are trying to connect our web based CRM to PIAF in order to popup a little screen every time a call comes in.
So far I have been able to:

Integrate a CLID lookup within the CRM and push this to the phone (working great!)
Integrate Click2Dial from the CRM so that user extension gets connected to the number on screen (working great!)

Now, call notifications from the CRM are a problem. I have been trying various javascript implementations using ws sockets, and so far I have managed to get the socket to register, on my CLI I see
"WebSocket connection from '192.168.1.48:53049' for protocol 'sip' accepted using version '13"

Now my next plan of action was to create a dummy extension, get it to register via the websocket and be ready to receive calls. So I found
http://sipjs.com/ and using this I can get the asterisk server to react when I open the page up.

Problem is, on their website they detail setting up a new user within manager.conf to register with. I want to be able to register an extension from FreePBX, in order to be able to then add this extension to ring groups, ultimately resulting in my html page firing a popup when a call come in and this "virtual" extension receives an invite to start ringing.

Am I missing something obvious?
Im just looking for the fastest way to implement a notification on a html page when an inbound call starts ringing...
I also tried callerID superfecta, hoping to fire off a URL call on inbound call, however this module shows as ver 2.2.5 beta (I did a clean PIAF install as per tutorial on nerdvittles) and no matter what I do it doesnt want to save maint user/password in general settings section.
CallerID Lookup sources works great, I use this for number lookup with our CRM without issues, however using this method I cannot "hide" the popup when the line stops ringing....

 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top