On Mon, Aug 11, 2014 at 3:29 AM, Deepak Rawat <[email protected]>
wrote:

> Hi,
>
> I modified the query in res/res_config_odbc.c.
> Original:  "SELECT MAX(LENGTH(var_val)) FROM %s WHERE filename='%s'"
> Modified: "SELECT MAX(LEN(var_val)) FROM %s WHERE filename='%s'"
>
> I rebuilt the code and installed Asterisk again. Now static realtime is
> working. Should I file a bug report?
>
>
> On Mon, Aug 11, 2014 at 2:37 AM, Deepak Rawat <[email protected]
> > wrote:
>
>> Hi,
>>
>> I am using Asterisk 12.4 static realtime. I am storing agents.conf
>> related data in MS SQL Server 2012 database. But I keep getting *'LENGTH'
>> is not a recognized built-in function name* error message. I debugged
>> and found that it's due to the changes done in this ticket:
>> https://issues.asterisk.org/jira/browse/ASTERISK-23582. As there is no
>> LENGTH function in MS SQL Server, therefore, I am getting this error. Is
>> this error due to some config issue at my end?
>>
>> Thank you,
>> Deepak
>>
>
>
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to