[asterisk-bugs] [JIRA] (ASTERISK-26057) Not correct query for realtime dialplan in sqlite3 database

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed May 25 05:43:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230760#comment-230760 ] 

Asterisk Team commented on ASTERISK-26057:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Not correct query for realtime dialplan in sqlite3 database
> -----------------------------------------------------------
>
>                 Key: ASTERISK-26057
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26057
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_sqlite3
>    Affects Versions: 11.20.0, 11.22.0
>         Environment: Ubuntu 14.04.3, 3.13.0-44-generic, x86_64, 
> Linux Mint 17.1, 3.13.0-37-generic, x86_64
>            Reporter: Stepan
>
> Hello,
> I try to configure realtime dialplan on sqlite3 engine (it has already perfectly work on mysql engine). but I got a problem that asterisk can not find extensions on db file. I've see query in debug 
> bq. SELECT * FROM "sip_extensions" WHERE "exten" LIKE '\_%' AND "context" = 'statusprofi_107' AND "priority" = '1'. 
> This query did not work directly on db file. But query like that 
> bq. SELECT * FROM "sip_extensions" WHERE "exten" LIKE '_%' AND "context" = 'statusprofi_107' AND "priority" = '1' 
> works fine. Asterisk does not need to escaping '_' symbol for sqlite. 
> [extconfig.conf|http://pastebin.com/yR9GMkpG]
> [res_config_sqlite3.conf|http://pastebin.com/Uj8UWHuq]
> [debug|http://pastebin.com/tv7NLggC]
> Please feel free if you'll need any additional information.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list