[Asterisk-Users] Using ',' character in applications data

Steven Critchfield critch at basesys.com
Mon Apr 26 11:53:31 MST 2004


On Mon, 2004-04-26 at 13:30, GUSTAVO GARCIA BERNARDO wrote:
> Hi,
> 
> When i include a ',' in the application data, for example:
> 
> exten => 1,1,Plaback(echo,file); 
> [My file name is "echo,file"]
> 
> the Playback application receives echo|file as data parameter. How can avoid asterisk change the ',' character? (The change code is in asterisk/pbx/pbx_config.c Ln 1150).
> 
> I'm developping an application for asterisk and i need to pass SQL querys with ',' character as data.
> exten => 1,1,Sql(SELECT info,user FROM.....

Well then, why don't you look at the postgres application and how they
accomplished it.
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list