Thanks Anthony and Rupa, it’s clear now. J
Alex To
From:
freeswitch-dev-bounces@lists.freeswitch.org
[mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Anthony
Minessale
Sent: Thursday, January 21, 2010 2:49 AM
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Help on
switch_channel_expand_variables(switch_channel_t *channel, const char *in)
say you had 2 vars test1=foo
and test2=bar
it would turn the string "${test1} ${test2}" into "foo bar"
if the returned string does not return the exact pointer that was input, it
must be freed.
On Wed, Jan 20, 2010 at 12:04 AM, Alex To <tonhudung@gmail.com> wrote:
Hi,
Could
somebody shed some lights on how the mentioned method works ? What does it do
exactly ? My best guess is it takes in a channel, a string and does something
to the string (escape the string ? split the string ? or something like that?
But why need a channel parameter?)
If
there is already an explanation somewhere about this, please point it out for
me or possibly just tell me what configuration should I make to trigger this
method to be called. I can use debugger and figure it out by myself.
Any
help would be greatly appreciated.
Thanks
very much
Regards
Alex To
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900