[Freeswitch-users] Display live calls in web pages
Oz Mortimer
omortimer at gmail.com
Thu Jul 30 11:02:55 MSD 2015
Why not query core.db? You can use pdo or whatever. Command line is;
Sqlite3 /usr/local/freeswitch/db/core.db
Select * from channels
Or select * from calls
> On 30 Jul 2015, at 07:57, Mimiko <vbvbrj at gmail.com> wrote:
>
>> On 30.07.2015 09:34, John Nash wrote:
>> Is there any way of storing "live" calls (Ongoing calls) in DB to a
>> specific table? where we can fetch these records and display in web page?
>>
>> I planned to store calls using some lua script hooks but cli command
>> show calls already shows calls which we can use?
>
> Hello.
>
> If using LUA, then you can hook a lua script to start-up of FS which
> will hook itself to events for new incomming, but not yet established
> call, or established bridges. Third option is to periodically call cli
> command: `show calls`
>
> --
> Mimiko desu.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list