[Freeswitch-users] propogating channel variables

elijah elijah at crankenstein.com
Thu Nov 18 15:34:26 PST 2010


I'm not sure what I should show you from the debug but I'll explain the
situation better. An incoming call initially hits my dialplan - and here I
insert a custom channel variable using application="export". Then this same
dialplan sends this call to a queue in mod_callcenter. Later, this call is
answered and on the CHANNEL_ANSWERED event I try to collect the custom
channel variable I inserted at the beginning. But the variable is no longer
there.



On Thu, Nov 18, 2010 at 3:07 PM, Michael Collins <msc at freeswitch.org> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101118/d36cc2ab/attachment.html 


More information about the FreeSWITCH-users mailing list