[Freeswitch-users] propogating channel variables

elijah elijah at crankenstein.com
Fri Nov 19 16:28:58 PST 2010


This is not causing the custom channel variable to persist for the life of
the call. I can confirm the variable is correctly inserted into the A-leg:

...
variable_my_custom: whatever
variable_bridge_export_vars: my_custom
...

But by the time the CHANNEL_ANSWER event fires, as a user answers the call
from queue, this variable is not present.



On Fri, Nov 19, 2010 at 3:08 PM, DJB International <djbinter at gmail.com>wrote:

> http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge_export
>
>
>
> On Fri, Nov 19, 2010 at 12:58 PM, elijah <elijah at crankenstein.com> wrote:
>
>> Sorry to bother. You've been very responsive and I'm very appreciative.
>> But I'm not understanding your recommendation. I can't find any
>> documentation for 'export_bridged'. Would you mind elaborating on how I
>> implement this?
>>
>>
>>
>> On Fri, Nov 19, 2010 at 7:12 AM, Brian West <brian at freeswitch.org> wrote:
>>
>>> use git and export_bridged instead of set or export.
>>>
>>> /b
>>>
>>> On Nov 18, 2010, at 5:07 PM, Michael Collins wrote:
>>>
>>> Can you pastebin the debug log of this actually happening? Also, when you
>>> say "persist" what exactly do you mean? At some point in the call flow the
>>> channel variable is set and at some point later in the call flow it is not
>>> set? Again, a console debug log might yield some information.
>>>
>>> -MC
>>>
>>> On Wed, Nov 17, 2010 at 4:21 PM, elijah <elijah at crankenstein.com> wrote:
>>>
>>>> There is a channel variable I am adding to calls as they arrive that I
>>>> would like to see within raised events. Specifically, I am adding my own
>>>> database index to the A-leg, passing the call to mod_callcenter, then
>>>> capturing the CHANNEL_ANSWER event where I am looking for this same index
>>>> value. Unfortunately, I am not able to persist this custom channel variable
>>>> for the duration of the call, despite using ‘export’. Could you suggest how
>>>> I may accomplish a channel variable’s persistence in this situation?
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101119/288200a4/attachment.html 


More information about the FreeSWITCH-users mailing list