FreeSwitch MOD DB functionality

Status
Not open for further replies.

SeanDevoy

New Member
Mar 14, 2018
8
0
1
64
Hi,
We are upgrading from an XML based installation of FreeSwitch to Fushion/FreeSwitch. I am porting everything over OK, except DB functions. In XML I can do these things:
Insert or Delete a value from the database:
<action application="db" data="delete/call_forward_to/ESTA$1"/>
<action application="db" data="insert/call_forward_to/ESTA$1/${internal_caller_id_number}"/>

Have a conditional in the dialplan if the incoming number is in the db
<condition field="${db(exists/BlockedCallers/${caller_id_number})}" expression="^true$" > aka if the inbound caller id is in the blocked number DB list then...

The last one is critical to our internal call blocking feature from the phone. Can these be included in a Fusion dialplan?

Alternately, can entries somehow be made into the Call Block list from dial plan?

Thanks,
Sean
 
Status
Not open for further replies.