[Asterisk-Users] parsing bug? (using PGSQL)

Martin Pycko martinp at digium.com
Tue Jun 24 09:03:26 MST 2003


If you use brackets () then you need to call it like this
PGSQL(blabla(bla)bla)

That should work

regards
Martin

On Tue, 24 Jun 2003, Thomas Haeger wrote:

> Hi all again,
>
> if i make a query with
> ...
> exten => _X.,2,PGSQL,"Query resultid ${connid} SELECT getdest('${EXTEN}')";
> ...
>
> an error like
>
> WARNING[32785]: File pbx.c, Line 1126 (pbx_extension_helper): No application
> 'PGSQL,"Query resultid ${connid} 'SELECT getdest'
> for extension (tel1, 00905888, 2)
>
> occurs.
>
> This looks like an parsing bug. As if the brackets be cut.
>
> Can somebody help?
>
> Thanks,
>
> Thomas.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list