Getting the calls recording links

asterisk
freepbx
Tags: #<Tag:0x00007fafc23e65d8> #<Tag:0x00007fafc23e63f8>

(Golan) #1

Hello, i got in my company a working freepbx on asterisk.
An request has been made to send the links for each recording with his call id to an external CRM.
The links should be transfer automatically after the call end.

as of now i’m not aware of any way to get the links except from the Call Recording Reports, which is not really what i need, specially for an automated process.
i also can use an advise on what is the best way to send the info.

Thanks in advance.


(Itzik) #2

See the advanced settings section, FreePBX allows you to run a post recording script, which you can use to move recordings etc.


(Golan) #3

Thanks for the replay,
i don’t see that option anywhere , also i don’t actually want to move the recordings just to send their link and call id, will i’ll be able to do that in the post recording?


(Itzik) #4

Enable these at the top:

image

Then you should see:
image

Technically yes, you can also use the hangup handler to execute a script once the call is complete.
See an example here: Hooking for fun and income


(Lorne Gaetz) #5

The Sangoma CRM commercial module allows you to send webhooks to POST call data to external systems:
https://wiki.freepbx.org/display/FPG/Sangoma+CRM+REST+API#SangomaCRMRESTAPI-Webhooks


(Golan) #6

Thanks! i’ll check it !


(Golan) #7

Thank you i’m seeing it now


(system) closed #8

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.