[Freeswitch-users] Custom Columns into MySQL Channels table

Ken Rice krice at freeswitch.org
Sun Jan 18 20:18:44 MSK 2015


You could possibly do that and not cause problems, but better would be create another table that has your custome datat in it and you can key with the channel's uuid

Sent from my iPhone

> On Jan 18, 2015, at 4:59 AM, Jack Cortez <mvar78 at gmail.com> wrote:
> 
> Hi,
> I would like to add a column to channel table (created by FS automatically using ODBC) and populate this new columns with my own custom value.
> Is this possible?
> 
> In particular, as I'm creating a simple PHP page to show active calls, what I would like to add is a column with the gateway_name to identify the Outbound Provider Name. So, in my PHP page I can show where the call is going out.
> 
> And also, I found that the application_data columns is showing the sofia dialstring (for ie. sofia/gateway/my_gateway/44798797978) but this columns is overwritten by last action I can't rely on this field.
> I'm looking for days into the wiki but I didn't found anything interesting.
> 
> Thank you so much!
> 
> 
> 
> 
> _________________________________________________________________________
> 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