[Freeswitch-users] loopback/XYZ doesn't contain variables from channel

Michael Nielsen mic.niel84 at gmail.com
Tue Jan 19 18:51:01 MSK 2016


My reason for this question is that I'm using the conference module, and
are trying to <action application="conference_set_auto_outcall"
data="loopback/1001,loopback/1002,loopback/3438773"/>

2 of the called numbers should be handled internally and 1 should be going
through my sip provider.
So I need all 3 of them to be handled from the top of my dial plan - with
the correct variables set.

On Fri, Jan 15, 2016 at 2:16 PM, Michael Nielsen <mic.niel84 at gmail.com>
wrote:

> I've tried that as well.
> CLI shows:
>
> Dialplan: sofia/internal/+44234987447 at my-domain Action
> set(loopback_export=country_code)
>
> After the loopback the dialplan is as follows:
>
> Dialplan: loopback/32487477-b Action
> set(dialed_number=${country_code} 32487477) INLINE
>
> EXECUTE loopback/32487477-b set(dialed_number=32487477)
>
>
> So +44 is not added, even though the country_code variable is +44 before
> the loopback.
>
> On Fri, Jan 15, 2016 at 2:10 PM, Michael Jerris <mike at jerris.com> wrote:
>
>>         <action application="set" data="loopback_export=country_code"/>
>>
>>
>> On Friday, January 15, 2016, Michael Nielsen <mic.niel84 at gmail.com>
>> wrote:
>>
>>> I've tried to add:
>>>
>>>         <action application="set"
>>> data="loopback_export=[country_code=${country_code}]"/>
>>>
>>> And my log shows the following:
>>>
>>> set(loopback_export=[country_code=+44])
>>>
>>> But it still isn't available on the next runthrough of dial plan.
>>>
>>> On Wed, Jan 13, 2016 at 6:51 PM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> set
>>>>
>>>> loopback_export to the names of all of the variables you want to copy
>>>> across sep buy a , (comma)
>>>>
>>>>
>>>>
>>>> On Wed, Jan 13, 2016 at 8:23 AM, Michael Nielsen <mic.niel84 at gmail.com>
>>>> wrote:
>>>>
>>>>> I've got directory with subscribers containing a variable called
>>>>> "country_code".
>>>>> This variable can be used in regular dial plans and works perfectly.
>>>>>
>>>>> However, I've got a conference call dial plan where I
>>>>> use conference_set_auto_outcall.
>>>>> I'mm calling loopback/XYZ to get my other dial plans into play.
>>>>>
>>>>> Everything works, except my subscriber variable "country_code" doesn't
>>>>> get recognised after the loopback/.
>>>>>
>>>>> How can I fix this kind of issue?
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/7eb18024/attachment.html 


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