[Home]

Summary:ASTERISK-11178: Can't use func_realtime from realtime dialplan
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2008-01-08 10:39:45.000-0600Date Closed:2011-06-07 14:07:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/pbx_realtime
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:It seems that func_realtime get's blocked by dialplan execution.

Using Asterisk 1.4 r95577 and res_config_mysql from addons r490

****** ADDITIONAL INFORMATION ******

[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '2'
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '2'
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '2'
[Jan  8 08:07:53] VERBOSE[14533] logger.c:     -- Executing Set("SIP/21157-082371c8", "REALTIME(queue_members,interface,Local/21168@default_queue,status)=1")
[Jan  8 08:07:53] WARNING[14533] func_realtime.c: Failed to update. Check the debug log for possible data repository related entries.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '3'
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '3'
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Everything is fine.
[Jan  8 08:07:53] DEBUG[14533] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = 'h' AND context = 'db_ext_queues' AND priority = '3'
Comments:By: Tilghman Lesher (tilghman) 2008-01-08 11:44:26.000-0600

Remember that realtime uses the '|' character for argument delimiters, not the ','.