[asterisk-bugs] [JIRA] (ASTERISK-28432) ODBC

Vadim (JIRA) noreply at issues.asterisk.org
Fri May 31 05:58:47 CDT 2019


Vadim created ASTERISK-28432:
--------------------------------

             Summary: ODBC 
                 Key: ASTERISK-28432
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28432
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_odbc
    Affects Versions: 13.27.0
         Environment: CentOS 7.4.1708
            Reporter: Vadim


I updated the Asterisk version to 13.27.0 (from 13.26.0). Now, when i try to exec commands: 'sip reload', 'dialplan reload' i get this WARNING on the CLI:

CLI> dialplan reload 
Dialplan reloaded.
  == Setting global variable 'CONSOLE' to 'Console/dsp'
  == Setting global variable 'IAXINFO' to 'guest'
  == Setting global variable 'TRUNK' to 'DAHDI/G2'
  == Setting global variable 'TRUNKMSD' to '1'
  == Setting global variable 'DEPTH_OF_AUTODIAL' to '3'
  == Setting global variable 'TIMEWORK' to '09:00-21:00,*,*,*'
    -- Including switch 'DUNDi/e164' in context 'dundi-e164-switch'
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Including switch 'Lua/' in context 'default'
[May 31 13:38:25] WARNING[47011]: res_config_odbc.c:113 custom_prepare: SQL Alloc Handle failed!
[May 31 13:38:25] WARNING[47011]: res_config_odbc.c:113 custom_prepare: SQL Alloc Handle failed!
    -- Including switch 'Lua/' in context 'public'
    -- Including switch 'Lua/' in context 'demo'
[May 31 13:38:25] WARNING[47011]: res_config_odbc.c:113 custom_prepare: SQL Alloc Handle failed!
[May 31 13:38:25] WARNING[47011]: res_config_odbc.c:113 custom_prepare: SQL Alloc Handle failed!
    -- Including switch 'Lua/' in context 'local'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000751 sec
    -- Time to restore hints and swap in new dialplan: 0.000009 sec
    -- Time to delete the old dialplan: 0.000317 sec
    -- Total time merge_contexts_delete: 0.001077 sec
    -- pbx_config successfully loaded 83 contexts (enable debug for details).


CLI> sip reload 
 Reloading SIP
  == Using SIP TOS bits 96
  == Using SIP CoS mark 3
[May 31 13:52:05] WARNING[46966]: res_config_odbc.c:113 custom_prepare: SQL Alloc Handle failed!


I have in the extconfig.conf file:

sippeers => odbc,asterisk

If I comment this line the WARNING disappear.



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



More information about the asterisk-bugs mailing list