Getting incoming and outgoing call notifications

Status
Not open for further replies.

toolfolks

Member
May 1, 2020
73
5
8
64
Posted in wrong category so re-posted here.
I need a notification when a an inbound or outbound call is made along with the caller ID.

I then need to pass this into our mobile app ( I'm looking at firebase at the moment but open to suggestions)

I'm looking through the database and see the v_xml_cdr table stores the call logs.
I can create a trigger on the insert record but unfortunately this is not inserted until the call is ended.

Is there any temp tables created anywhere when a call is made or received ? So I can create a trigger there.

What other options are available ?

Got an answer from Adrian Fretwell :

You should really start a separate thread for this but...
Look at the FreeSWITCH event socket:
https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket

Also look at event hooks, we use an event hook to drive a call centre wallboard, totally separate from FusionPBX:
https://freeswitch.org/confluence/display/FREESWITCH/Event+List

Off to fry my brain......
 
Status
Not open for further replies.