[Freeswitch-users] Clarification on presence_data_cols

Anthony Minessale anthony.minessale at gmail.com
Wed Apr 19 21:19:46 MSD 2017


Profile vars are better for widespread use since you don't run into any
contention if you are actually using sql.


On Wed, Apr 19, 2017 at 12:17 PM, Colin Morelli <colin.morelli at gmail.com>
wrote:

> Thanks for the quick reply, Anthony.
>
> Is there any incentive to use one or the other?
>
> On Wed, Apr 19, 2017 at 12:13 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> It is made for the sql table but its possible it would work ok without it.
>>
>> set_profile_var may do the same thing for you.  You can use it to set
>> arbitrary fields as well as reserved ones that always show up in all events.
>>
>>
>> On Wed, Apr 19, 2017 at 11:04 AM, Colin Morelli <colin.morelli at gmail.com>
>> wrote:
>>
>>> Hey list,
>>>
>>> I'm trying to use presence_data_cols to get information from the B-leg
>>> of a call when a bridge starts. I've added presence_data_cols=chanv
>>> ar1:chanvar2
>>>
>>> The variables show up under PD- in the bridge request, which is *great*,
>>> but - I was looking for some clarification on the docs.
>>>
>>> The docs seem to indicate that presence_data_cols can be used to specify
>>> additional columns in the channel table. I've disabled all sql mods and it
>>> appears it's just pulling variables off of the channel. Is this expected,
>>> or am I going to run into issues with this?
>>>
>>> Thanks,
>>> Colin
>>>
>>> ____________________________________________________________
>>> _____________
>>> 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
>>>
>>
>>
>>
>> --
>> Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>>
>>http://freeswitch.org/http://cluecon.com/>> http://twitter.com/FreeSWITCH
>> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
>> <http://freeswitch.org/g+>*
>>
>> ClueCon Weekly Development Call
>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 <(919)%20386-9900>
>>
>> https://www.youtube.com/watch?v=9XXgW34t40s
>> https://www.youtube.com/watch?v=NLaDpGQuZDA
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170419/1cad0864/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list