Advertisement
xiebozhi

Asterisk DB ODBC issues

Apr 21st, 2012
3,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   == Using SIP RTP CoS mark 5
  2.     -- Executing [XXXX@default:1] Set("SIP/x.x.x.x-00000015", "redirect=") in new stack
  3.     -- Executing [XXXX@default:2] NoOp("SIP/x.x.x.x-00000015", "1463") in new stack
  4.     -- Executing [XXXX@default:3] SIPAddHeader("SIP/x.x.x.x-00000015", "Diversion: <sip:@10.6.0.51>") in new stack
  5. [Apr 21 14:46:59] WARNING[535]: func_odbc.c:186 generic_execute: SQL Execute returned an error -1: HY010: Connection is already in use. (29)
  6. [Apr 21 14:46:59] WARNING[535]: func_odbc.c:194 generic_execute: SQL Exec Direct failed (-1)![WITH failover AS (SELECT exten,building,1 as priority FROM table WHERE exten='XXXX' UNION ALL SELECT 'XXXX','gateway',9999) SELECT building FROM failover ORDER BY priority LIMIT 1]
  7. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:601 ast_odbc_direct_execute: SQL Execute error! Verifying connection to local [local]...
  8. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:744 ast_odbc_sanity_check: Connection is down attempting to reconnect...
  9. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:1457 odbc_obj_disconnect: Unable to deallocate database handle? 0 errno=0 [unixODBC][Driver Manager]Function sequence error
  10. [Apr 21 14:46:59] NOTICE[535]: res_odbc.c:1481 odbc_obj_connect: Connecting local
  11. [Apr 21 14:46:59] NOTICE[535]: res_odbc.c:1511 odbc_obj_connect: res_odbc: Connected to local [local]
  12. [Apr 21 14:46:59] WARNING[21143]: res_odbc.c:634 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: HY010: Connection is already in use. (29)
  13. [Apr 21 14:46:59] WARNING[21143]: res_odbc.c:646 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to local [local]...
  14. [Apr 21 14:46:59] WARNING[21143]: res_odbc.c:744 ast_odbc_sanity_check: Connection is down attempting to reconnect...
  15. [Apr 21 14:46:59] WARNING[21143]: res_odbc.c:1457 odbc_obj_disconnect: Unable to deallocate database handle? 0 errno=0 [unixODBC][Driver Manager]Function sequence error
  16. [Apr 21 14:46:59] NOTICE[21143]: res_odbc.c:1481 odbc_obj_connect: Connecting local
  17.     -- Executing [XXXX@default:4] Dial("SIP/x.x.x.x-00000015", "SIP/gateway/XXXX,,o") in new stack
  18. [Apr 21 14:46:59] NOTICE[21143]: res_odbc.c:1511 odbc_obj_connect: res_odbc: Connected to local [local]
  19. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:634 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: HY010: Connection is already in use. (29)
  20. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:646 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to local [local]...
  21. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:744 ast_odbc_sanity_check: Connection is down attempting to reconnect...
  22. [Apr 21 14:46:59] WARNING[535]: res_odbc.c:1457 odbc_obj_disconnect: Unable to deallocate database handle? 0 errno=0 [unixODBC][Driver Manager]Function sequence error
  23. [Apr 21 14:46:59] NOTICE[535]: res_odbc.c:1481 odbc_obj_connect: Connecting local
  24. [Apr 21 14:46:59] NOTICE[535]: res_odbc.c:1511 odbc_obj_connect: res_odbc: Connected to local [local]
  25.   == Using SIP RTP CoS mark 5
  26.     -- Called SIP/gateway/XXXX
  27.     -- SIP/gateway-00000016 is ringing
  28.   == Spawn extension (default, XXXX, 4) exited non-zero on 'SIP/x.x.x.x-00000015'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement