[Freeswitch-users] channel variable access issue

Brian West brian at freeswitch.org
Thu Sep 24 08:08:52 MSD 2015


Are you using the loop back endpoint to do this? If so don't expect X
headers to work there

On Wednesday, September 23, 2015, John Nash <john.nash778 at gmail.com> wrote:

> Yes I used INFO application but I do not see any of the custom variables.
> I am using bridge application like
> <action application="bridge" data="{ignore_early_media=true}
> sofia/${sofia_profile_name}/iv-${regex(${sip_req_uri}|^kb-(.+)$|%1)},sofia/${sofia_profile_name}/${regex(${sip_req_uri}|^kb-(.+)$|%1)};fs_path=sip:
> 127.0.0.1:5060"/>
>
> First destination in bridge application is coming back to my extension
> matching with iv-(.*) but strangely I do not see a new invite in wireshark.
>
> I also saw loopback application in documentation is this something I
> should try?..or I am using bridge application wrong way
>
> On Thu, Sep 24, 2015 at 8:40 AM, Brian West <brian at freeswitch.org
> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>> wrote:
>
>> Have you tried the info app to see if the variable is there with a
>> different prefix?
>>
>>
>> On Wednesday, September 23, 2015, John Nash <john.nash778 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','john.nash778 at gmail.com');>> wrote:
>>
>>> Here is my call flow and issue
>>>
>>> Step1 -- Call comes to freeswitch default dialplan
>>> Step2 -- I set some custom channel variables )sip_h_my_var
>>> Step3 -- I fork the call to multiple destinations using bridge
>>> application with coma separated list.
>>> Step4 - As one of the destination is my own freeswitch itself, call
>>> again comes to same profile with different destination prefix
>>> Step5 - I catch the call in different extension and try to access
>>> channel variable sip_h_my_var but get nil value
>>>
>>> I tried export application and Bridge application arguments to pass
>>> variables but I do not see my variables when i dump variables using Info
>>> application. I only see the variables as per the Initial invite (It
>>> converts some X- variables to sip_h_X variables)
>>>
>>> What else can I try?
>>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>>
>
>

-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150923/d0d75a52/attachment.html 


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