Summary: | ASTERISK-23583: pbx_realtime: Set Asterisk App - Context gets changed to value of "Set" variable | ||
Reporter: | Jay Jideliov (jideliov) | Labels: | |
Date Opened: | 2014-04-03 15:25:22 | Date Closed: | |
Priority: | Major | Regression? | |
Status: | Open/New | Components: | PBX/pbx_realtime |
Versions: | 11.9.0 13.18.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When using Set Asterisk application in realtime dialplan, the context gets the value of the "Set" variable.
Not working: {noformat} id context exten priority app appdata 1 cont1 1011 1 Set MYVAR=SOMEVAL 2 cont1 1011 2 NoOp ${MYVAL} {noformat} Working {noformat} id context exten priority app appdata 1 cont1 1011 1 Set MYVAR=SOMEVAL 2 SOMEVAL 1011 2 NoOp ${MYVAR} {noformat} Debug: {noformat} Executing [schedule@dynamic-context:9] Set("SIP/comp.device-1766-0000002d", "DYNAMIC_CONTEXT=Schedule1419Start") [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: pbx.c:3671 ast_str_retrieve_variable: Result of 'DYNAMIC_CONTEXT' is 'Schedule1419Start' [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:93 custom_prepare: Skip: 0; SQL: SELECT * FROM asterisk_db_extensions WHERE exten = ? AND context = ? AND priority = ? [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 1 ('exten') = 'schedule' [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 2 ('context') = 'Schedule1419Start' [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_config_odbc.c:109 custom_prepare: Parameter 3 ('priority') = '10' [2014-04-03 15:52:56] DEBUG[5547][C-0000002c]: res_odbc.c:1058 odbc_release_obj2: odbc_release_obj2(0x271f458) called (obj->txf = (nil)) {noformat} | ||
Comments: | By: Matt Jordan (mjordan) 2014-04-07 09:13:54.488-0500 Thank you for reporting this issue. You should be aware that {{pbx_realtime}} is an extended support module. As such, development support for it typically comes from the Asterisk developer community. Resolution times of this issue may reflect that. |