[asterisk-users] Asterisk ODBC Insert issue

Tilghman Lesher tlesher at digium.com
Sun Sep 26 23:21:06 CDT 2010


On Sunday 26 September 2010 13:08:43 Neeraj Chand wrote:
> Hi guys,
>
> Having issues with doing an insert statement using ast 1.4.24:
>
> [START]
> dsn=mssql-asterisk
> write=INSERT INTO testdb (callarrival,callerid) VALUES
> ('${VAL1}','${VAL2}')
>
>
> SET(ODBC_START()${TIMESTAMP},${CALLERID(num)})

I'd say you're missing an equal '=' sign.  Without that, nothing is
actually getting executed.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list