I use single quotes like this:

data=”[var1=’Michael Collins’,var2=’FreeSWITCH enthusiast’,var3=’you get the idea’]”

 

-MC

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Wasim Baig
Sent: Tuesday, September 23, 2008 12:58 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Possible problem in adding channelvariablesto the bridge

 

On Wed, Sep 24, 2008 at 1:50 AM, Michael Collins <mcollins@fcnetwork.com> wrote:

Jon,

Are you saying that you cannot pass a comma-separated list of variables like this?

<action application="bridge" data="[origination_caller_id_number=45161061,my_var1=blah,my_other_var=whatever]sofia/gateway/45161061/$1"/>

Note: no spaces!

can spaces be escaped or otherwise quoted '' or `` etc?


--
wasim h. baig | principal consultant | convergence pk | +92 300 8508070 | as you scope creep, so shall we reap ...