[Freeswitch-users] bind_meta_app
Anthony Minessale
anthony.minessale at gmail.com
Thu Feb 25 08:44:21 PST 2010
btw,
you can set the variable export_vars=<comma sep list of var names>
to copy all the variables to any B leg that may be spawned.
On Thu, Feb 25, 2010 at 10:43 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> because you are executing the app on the B leg.
> you need to set the vars on *that* channel if you want to see them.
>
>
> On Thu, Feb 25, 2010 at 10:36 AM, Jonas Gauffin <jonas.gauffin at gmail.com>wrote:
>
>> Hello,
>>
>> I'm trying to use bind_meta_app together with variables defined by me in
>> the original dial plan.
>> The problem is that they doesn't seem to follow the channel into the dial
>> plan when the meta application is running.
>>
>> i.e.
>>
>> Dialing from an external number:
>> <document type="freeswitch/xml">
>> <section name="dialplan" description="ModCurlDialplan">
>> <context name="public">
>> <extension name="dynamic">
>> <condition field="destination_number"
>> expression="0500650662">
>> <action application="set"
>> data="hangup_after_bridge=true"/>
>> <action application="set"
>> data="continue_on_fail=true"/>
>> <action application="set"
>> data="gate_caller_site_id=3"/>
>> <action
>> application="bind_meta_app" data="1 b s execute_extension::dx XML default"/>
>> <action
>> application="bind_meta_app" data="3 b s execute_extension::cf XML default"/>
>> <action application="set"
>> data="gate_bill_extension=95" />
>> <action application="set"
>> data="gate_destination_user=6" />
>> <action application="ring_ready"/>
>> <action application="bridge"
>> data="[leg_timeout=5]sofia/internal/u1000006" />
>> <action application="set"
>> data="gate_ivr=voicemail" />
>> <action application="javascript"
>> data="voicemail.js customer 3 6" />
>> <action application="hangup"
>> data="NO_ANSWER"/>
>>
>> </condition>
>> </extension>
>> </context>
>> </section>
>> </document>
>>
>> Destination user pressed *1
>>
>> Freeswitch sends second request through mod_curl to my server. My
>> variable_gate_XXXXX variables is not defined.
>>
>> Regards,
>> Jonas
>>
>> _______________________________________________
>> 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
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100225/a2a3eddd/attachment-0002.html
More information about the FreeSWITCH-users
mailing list