Re: [Freeswitch-users] Possible problem in adding channel variables to the bridge
Resolved: The problem has been solved after updating to the last trunk: 1.0.1, 9624. The <action application="bridge" data="[origination_caller_id_number=45161061]sofia/gateway/45161061/$1"/
works, but it would be nice to be able to add more variables than this only one.
Jon
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=w hatever]sofia/gateway/45161061/$1"/> Note: no spaces! -MC ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jon Bruel Sent: Tuesday, September 23, 2008 12:32 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Possible problem in adding channel variablesto the bridge Resolved: The problem has been solved after updating to the last trunk: 1.0.1, 9624. The <action application="bridge" data="[origination_caller_id_number=45161061]sofia/gateway/45161061/$1"/
works, but it would be nice to be able to add more variables than this only one.
Jon
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 ...
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=w hatever]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 ...
participants (3)
-
Jon Bruel
-
Michael Collins
-
Wasim Baig