[Freeswitch-users] Variable in Bridge string
Anthony Minessale
anthony.minessale at gmail.com
Thu Jul 15 06:45:18 PDT 2010
Its a security feature to prevent injection.
I think I can get it to work, try latest GIT
otherwise
create an new object in your lua script and run distributor in the script.
then build the string.
or
use session:execute("set", "var=val")
On Thu, Jul 15, 2010 at 7:20 AM, Ahmed Ajmal <ahmed.ajmal at breezecom.ae>wrote:
> Hi
>
>
>
> I have a strange problem creating a bridge string from LUA. The LUA script
> returns a bridge string which looks like this:
>
>
>
> sofia/gateway/${distributor(my_dist)}/1773XXXXXXX
>
>
>
> I pass this bridge string to the bridge app in the dialplan:
>
> <action application="bridge" data="${bridge_string}"/>
>
>
>
> On executing the dialplan I get the following error:
>
> *Invalid data* (${bridge_string} *contains a variable*
>
> * *
>
> *I have tried executing the bridge app from within the lua script it works
> but I would prefer to have the dialplan process it. I am on Freeswitch
> 1.0.6.*
>
> * *
>
> *Thanks*
>
> *Ahmed*
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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>
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/20100715/0edc9ae1/attachment.html
More information about the FreeSWITCH-users
mailing list