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

Thomas Haeger thomas.haeger at beronet.com
Tue Jun 24 09:34:27 MST 2003


OK. I see.

This works.

Thank you,

Thomas.

-----Ursprungliche Nachricht-----
Von: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]Im Auftrag von Martin
Pycko
Gesendet: Dienstag, 24. Juni 2003 18:03
An: Asterisk User
Betreff: Re: [Asterisk-Users] parsing bug? (using PGSQL)


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
>

_______________________________________________
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