Webhooks with FusionPBX

voipBull

Member
Dec 3, 2023
96
21
8
Hello everyone,

Has anyone ever tried to build webhook functionality within FusionPBX? What I have in mind is that whenever there are changes made to certain applications in FusionPBX database via WebUI, a webhook is triggered to a pre-defined URL with the new changes. I see that there is that 'Transactions' application that already keeps a track of old/new data after a change is made, so building a webhook function on top of that should be possible in my opinion. What are your thoughts?
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
I have built both inbound and outbound webhooks for the FS PBX dashboard, enabling seamless integration with external systems.

For instance, the faxing functionality in FS PBX leverages webhooks from Postmark. When Postmark receives an email containing a fax, it triggers a webhook request to FS PBX. FS PBX then processes the incoming fax and routes it to the FusionPBX fax queue for delivery.

On the outbound side, one example is the integration with Ringotel apps. When an extension is modified in FS PBX, a webhook request is automatically sent to the Ringotel API, updating the extension's information in real time.

I find webhooks particularly valuable for enabling robust connectivity between FS PBX and various external systems, providing flexibility and enhancing functionality across different use cases.
 
  • Like
Reactions: pbxguru

voipBull

Member
Dec 3, 2023
96
21
8
@pbxgeek Those are exactly the use cases I was imagining for webhooks. Looks like you're ahead in your game with FS PBX. I haven't been able to find time to give FS PBX a try until now, but maybe now I should.
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
Give it a try—I hope you find it useful! We're constantly innovating and adding new features. Currently, we're redesigning the outdated IVR page to make it more intuitive and user-friendly. Additionally, we're working on integrating webhooks with Yealink and Polycom redirect services to streamline provisioning. Stay tuned for these exciting updates!
 
  • Like
Reactions: voipBull

IAmBecumDeath

New Member
Nov 3, 2023
3
0
1
39
Give it a try—I hope you find it useful! We're constantly innovating and adding new features. Currently, we're redesigning the outdated IVR page to make it more intuitive and user-friendly. Additionally, we're working on integrating webhooks with Yealink and Polycom redirect services to streamline provisioning. Stay tuned for these exciting updates!
Not to get too far off topic, but I already do yealink provisioning, what is the "redirect service" and how does it streamline?
Looking forward to the IVR redesign!

A maybe related question to OP... what's the best interface/method to run a script/application on a pc and run a cmd on windows pc when there is an incoming call (open a web page with client details to schedule an appointment) web hook or otherwise? I was looking into the yealink api and just tap into the individual phone but not sure if there's a better way.
 

voipBull

Member
Dec 3, 2023
96
21
8
@IAmBecumDeath I'm not sure if I completely understand your ask. Is the incoming call ringing a deskphone or a softphone application on the same desktop where you supposedly want to open this browser window?
 

IAmBecumDeath

New Member
Nov 3, 2023
3
0
1
39
@IAmBecumDeath I'm not sure if I completely understand your ask. Is the incoming call ringing a deskphone or a softphone application on the same desktop where you supposedly want to open this browser window?
honestly... open to best way...whatever that way is.

Person calls a barber. there's a phone next to a computer at the front to schedule appointments.
2. once answered (only answered calls), the phone number is sent to a script/program which opens htt ps://some.SAAS.scheduling.website.com/profile/xxxxxxx so the receptionist is looking at the customers page pre loaded, showing past services and ready to book a new one.
 

voipBull

Member
Dec 3, 2023
96
21
8
And the caller's phone number itself is enough to pull up that customer's profile on the said URL?

I think endpoints that support 'Call Events' should be able to do this. Theoretically, it should be doable both ways actually, with softphone or deskphone. Probably easier with a softphone that support call events out of box. With deskphone, you'll probably have to build some listener application on the desktop (not sure if there's any available out there) that will listen to events coming from the deskphone and will act accordingly.
 

voipBull

Member
Dec 3, 2023
96
21
8
Here's a desktop softphone tSIP that can probably help you (Yes I use it myself for testing) - doesn't have the fancy looks, but is the best for customization.

1732320025034.png