Thanks Anthony and Rupa, it's clear now. J
Alex To From: freeswitch-dev-boun...@lists.freeswitch.org [mailto:freeswitch-dev-boun...@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 <tonhud...@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_miness...@hotmail.com <mailto:msn%3aanthony_miness...@hotmail.com> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com <mailto:paypal%3aanthony.miness...@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org <mailto:sip%3a...@conference.freeswitch.org> iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org <mailto:googletalk%3aconf%2b...@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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